A municipal government operates a smart-city environmental telemetry platform that monitors sensor networks across the metropolitan area. The ingestion application is hosted on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB) distributed across three Availability Zones. The EC2 instances run a telemetry processing application that requires approximately to bootstrap, initialize configuration caches, and pass health checks.
The platform experiences a highly predictable daily traffic surge at 7:00 AM local time when thousands of environmental sensors activate simultaneously to transmit night-time logs. During this surge, incoming traffic rises from to in a window, resulting in frequent HTTP 502 (Bad Gateway) and HTTP 504 (Gateway Timeout) errors. Furthermore, the platform's outbound transmissions to external environmental monitoring agencies fail completely if Availability Zone A experiences an outage, as the subnet route tables in all Availability Zones point to a single NAT Gateway located in Availability Zone A.
The solutions architect must redesign the architecture to prevent request drops during the daily surge, ensure high availability for outbound traffic, and minimize administrative and operational overhead.
Which combination of actions should the solutions architect implement to meet these requirements?
- AConfigure a target tracking scaling policy based on average CPU utilization with the instance warm-up time set to to scale out quickly during spikes. Request AWS Support to pre-warm the ALB to handle the daily traffic peaks. Keep the single NAT Gateway in Availability Zone A and configure an AWS Lambda function to update the route tables to redirect outbound traffic to a fallback NAT Gateway in Availability Zone B during an outage.
- BConfigure scheduled scaling to scale out the ASG at 6:45 AM daily. Deploy a NAT Gateway in each of the three public subnets, and update the private route tables accordingly. Rely on the ALB's default automatic scaling capacity to handle the traffic surge as new instances are launched, and adjust the target tracking policy warm-up time to .
- Configure scheduled scaling to scale out the ASG at 6:45 AM daily using an ASG Warm Pool with pre-warmed instances to bypass the bootstrapping delay. Request AWS Support to pre-warm the ALB to handle the target traffic volume by 7:00 AM daily. Deploy a NAT Gateway in the public subnet of each Availability Zone, and update the route tables of the private subnets to use the local NAT Gateway in their respective Availability Zone.Answer
- DConfigure scheduled scaling to scale out the ASG at 6:45 AM daily using an ASG Warm Pool with pre-warmed instances. Request AWS Support to pre-warm the ALB to handle the target traffic volume. Retain the single NAT Gateway in Availability Zone A and configure the route tables of private subnets in the other Availability Zones to route outbound traffic through Availability Zone A.