A digital ticketing platform hosts high-profile concert ticket releases on AWS. During these releases, traffic surges from requests per second to over requests per second within a -minute window. The current architecture uses an Application Load Balancer (ALB) to distribute traffic to an Auto Scaling group (ASG) of Amazon EC2 instances in private subnets. The instances use a custom AMI with an application that takes minutes to bootstrap and pass health checks. Outbound licensing checks are routed through a single NAT Gateway in a single Availability Zone.
During recent releases, users experienced HTTP Service Unavailable errors during the first few minutes of the surge. Additionally, the ASG over-provisioned instances, launching far more than needed before the initial scale-out instances could finish bootstrapping. Finally, a brief outage in the Availability Zone containing the NAT Gateway prevented licensing checks for all instances.
Which combination of actions should a solutions architect take to resolve these issues? (Select TWO.)
- Deploy a NAT Gateway in each Availability Zone with private subnet routing configured to use the local gateway, and request Application Load Balancer pre-warming before scheduled releases.Answer
- Set the Auto Scaling group instance warmup period to seconds to ensure instances complete bootstrapping before they contribute to the target tracking metrics.Answer
- CDeploy a NAT Gateway in a single public subnet to route outbound traffic for all Availability Zones, and rely on the Application Load Balancer's automatic scaling to handle the traffic surge without pre-warming.
- DConfigure the Auto Scaling group default cooldown and instance warmup periods to seconds to allow the scaling policy to rapidly launch additional instances in response to sudden CPU spikes.