A media company hosts a live video commentating platform on Amazon EC2 instances inside an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The instances require 7 minutes to download application dependencies and initialize the service before passing target group health checks. During sudden high-profile broadcasts, traffic surges instantly, causing the ALB to return multiple HTTP 503 Service Unavailable errors. In addition, the ASG launches far more instances than necessary during these spikes, resulting in high resource over-provisioning costs. All outbound traffic from the instances is routed via a single NAT Gateway located in a single public subnet. The architecture must be modified to prevent HTTP 503 errors, prevent instance over-provisioning, and remove any single points of failure for outbound traffic. Which combination of architectural modifications will resolve these issues?
- Deploy a NAT Gateway in each Availability Zone where application instances reside, request ALB pre-warming from AWS Support prior to the scheduled live events, and configure the Auto Scaling Group scaling policy cooldown or warm-up period to 480 seconds.Cevap
- BKeep the single NAT Gateway in a single public subnet to reduce operational costs, request ALB pre-warming from AWS Support prior to the scheduled live events, and configure the Auto Scaling Group scaling policy cooldown or warm-up period to 120 seconds.
- CDeploy a NAT Gateway in each Availability Zone where application instances reside, rely on the default Application Load Balancer auto-scaling behavior to handle the sudden traffic spikes, and configure the Auto Scaling Group scaling policy cooldown or warm-up period to 480 seconds.
- DDeploy a NAT Gateway in each Availability Zone where application instances reside, request ALB pre-warming from AWS Support prior to the scheduled live events, and configure the Auto Scaling Group scaling policy cooldown or warm-up period to 120 seconds.