# AWS Production Infrastructure & Deployment Platform

## AWS Multi-AZ Production & Pulumi Deployment Platform (us-east-1 (N. Virginia) · VPC 10.0.0.0/16)

High-detail AWS production architecture uniting Route 53, CloudFront + WAF, Multi-AZ ALB, isolated Public/App/Data subnets across us-east-1a and us-east-1b, ECS Fargate + EC2 I/O compute, Lambda/Step Functions, Multi-AZ RDS, S3/SQS, Pulumi Automation API self-service deployment pipelines, and Grafana Cloud/Loki/Prometheus observability.

### Architecture Components

- **Route 53 Hosted Zone & Health Checks** (Amazon Route 53 + ACM · Global DNS · ACM TLS 1.3): Authoritative DNS routing for broadcast Studio, radar tile APIs, and enterprise webhooks with active target health checks and automated ACM TLS renewal.
- **CloudFront CDN + AWS WAF v2** (Amazon CloudFront + WAF v2 · Edge PoPs · Origin Shield): Terminates TLS at edge PoPs, caches WebGL/WASM Studio bundles and immutable radar tiles, and proxies API requests into the VPC ALB behind WAF rules.
- **GitHub Actions OIDC CI/CD** (GitHub Actions · OIDC · Ephemeral OIDC JWT): Builds TypeScript services, Rust/C++ WASM weather codecs, and multi-arch Docker images, running typecheck + integration suites on every PR.
- **Pulumi Automation API Portal** (Pulumi Automation API (TS) · S3 + KMS Stack State): Self-service internal developer platform orchestrating stack previews, ephemeral PR environments, and zero-downtime production rollouts programmatically.
- **Amazon ECR + IAM / Secrets Manager** (ECR + IAM + Secrets · PrivateLink · KMS): Immutable private container registry with scan-on-push CVE checks, least-privilege ECS Task Roles, and automated Secrets Manager rotation.
- **NAT Gateway + Public Subnet (AZ-a)** (AWS NAT Gateway · 10.0.1.0/24 · us-east-1a): Provides outbound internet egress for AZ-a private webhook dispatchers and upstream weather feed ingest using a dedicated Elastic IP.
- **Multi-AZ Application Load Balancer** (AWS Application Load Balancer · 10.0.1.0/24 + 10.0.2.0/24 · HTTP/2 + gRPC): Layer-7 ingress across both Public Subnets routing WebGL Studio control APIs, radar tile requests, and webhook management endpoints to healthy ECS targets.
- **NAT Gateway + Public Subnet (AZ-b)** (AWS NAT Gateway · 10.0.2.0/24 · us-east-1b): Independent outbound NAT Gateway serving us-east-1b private workloads with zero cross-AZ hairpins or shared failure domain with AZ-a.
- **ECS Fargate: Broadcast & 3D Studio** (Amazon ECS Fargate · 10.0.11.0/24 · Private Subnet · awsvpc): Serves low-latency Studio session state, live broadcast scene sync, WebGL/WASM binary streams, and real-time weather feed manifests.
- **ECS Fargate: Radar & Model Ingest** (Amazon ECS Fargate · 10.0.11.0/24 · Private Subnet · awsvpc): Downloads, decodes, and slices real-time WSR-88D NEXRAD scans and numerical weather model grids into WebGL texture atlases & JSON overlays.
- **ECS Fargate: Fortune 500 Webhooks** (Amazon ECS Fargate · 10.0.12.0/24 · Private Subnet · awsvpc): Processes SQS severe-weather alert batches and delivers HMAC-signed HTTP/2 webhooks to Fortune 500 endpoints with exponential retry & DLQ tracking.
- **Lambda + Step Functions Orchestration** (AWS Lambda + Step Functions · 10.0.12.0/24 · Event-Driven Workflows): Drives multi-step model post-processing state machines, S3 arrival triggers, scheduled telemetry audits, and automated Pulumi preview hooks.
- **EC2 ASG: High-I/O & GRIB2 Compute (AZ-a)** (Amazon EC2 Auto Scaling Group · 10.0.11.0/24 · c7gn / r7iz NVMe ASG): Sustained high-IOPS NVMe + network-optimized EC2 pool executing heavy weather-model binary unpacking, WASM pre-bake pipelines, and burst transcoding.
- **AZ-b Multi-AZ Compute Failover Pool** (ECS + EC2 Multi-AZ Failover Pool · 10.0.12.0/24 · Active-Active Capacity): Maintains live active-active Studio, Radar, and EC2 I/O capacity in us-east-1b ready to absorb 100% of production traffic on AZ-a failure.
- **RDS PostgreSQL Multi-AZ Primary** (Amazon RDS for PostgreSQL · 10.0.21.0/24 · Isolated Data Subnet): Authoritative transactional store for deployment platform state, webhook subscriptions, and Studio broadcast project manifests.
- **Amazon SQS + Dead-Letter Queues** (Amazon SQS (SSE-KMS) · 10.0.21.0/24 · Interface VPCE): Decouples upstream severe-weather radar detections and model updates from downstream Fortune 500 webhook fanout bursts.
- **RDS PostgreSQL Sync Standby (AZ-b)** (Amazon RDS Multi-AZ Standby · 10.0.22.0/24 · Isolated Data Subnet): Passive synchronous standby replica in us-east-1b ready for automatic RDS Multi-AZ writer promotion if us-east-1a fails.
- **S3 Weather Archive + Gateway VPCE** (Amazon S3 + S3 Gateway Endpoint · 10.0.22.0/24 · Gateway VPCE): Stores petabyte-ready radar composites, weather model slices, WebGL/WASM Studio assets, and immutable deployment artifacts with Intelligent-Tiering.
- **CloudWatch + ADOT / Fluent Bit Sidecars** (AWS CloudWatch + ADOT Collector · VPC Private Telemetry Collectors): Collects Container Insights, structured JSON app logs via Fluent Bit, ALB/VPC Flow Logs, and custom ECS/EC2 I/O & SQS queue metrics.
- **Grafana Cloud + Loki + Prometheus** (Grafana Cloud + Loki + Prometheus · Unified Metrics · Logs · SLO Alerts): Correlates Prometheus high-cardinality service metrics, Loki log streams, and CloudWatch infrastructure telemetry across Studio, deploys, and webhooks.

## Technology Matrix

- **Languages, Graphics & WASM**: TypeScript, Python, Go, WebGL2 / GLSL, WebAssembly (WASM), React, Three.js, Node.js, Express (ExpressZodAPI / Zodios), Deno, Flask, Vue.js, PowerShell, Bash, SQL
- **AWS & Infrastructure as Code**: AWS (ECS Fargate, EC2, EKS, RDS, S3, SQS, Lambda, CloudFront, Route53, WAF, ECR, IAM, Step Functions, VPC), Pulumi (Automation API & Dynamic Providers), Terraform, GCP, Azure, DigitalOcean, Cloudflare Workers, Backblaze B2
- **Containers, Linux & Bare-Metal**: Kubernetes (Bare-Metal, EKS, GKE), Docker, Proxmox VE, Ceph, Flatcar Linux, Ubuntu Server, Systemd, GoWatchdog, Active Directory, Windows Server
- **Networking & SDN**: FRR (Free Range Routing), BGP Config Templating, White-box Mellanox (Nvidia) Switches, Envoy Proxy, Megaport Terraform, Ubiquiti UniFi, VLAN Segmentation
- **Observability & Visualization**: Grafana (Cloud & OSS), Prometheus, Thanos, Loki, AWS CloudWatch, InfluxDB, Telegraf, Canvas2D & SVG Architecture
- **CI/CD & Data Stores**: GitHub Actions (OIDC), GitLab CI/CD, PostgreSQL, EdgeDB, MSSQL, Ollama / Local NVIDIA GPU
