A company operates an online multiplayer game matchmaking service. The matchmaking application runs on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer. The application has a complex initialization process that takes about 10 minutes to load static assets and establish connections to external databases. During sudden peaks of player logins, the ASG scales out, but the newly launched instances take 10 minutes before they can process requests. During this initialization window, the target tracking policy launches multiple redundant batches of instances, leading to excessive resource provisioning and increased costs. Which configuration change will prevent the Auto Scaling group from launching unnecessary instances during the initialization period?
- Configure the target tracking scaling policy and increase the instance warmup time to match the application's 10-minute initialization period.Cevap
- BDecrease the scaling policy's cooldown period to allow the Auto Scaling group to respond faster to subsequent traffic demands.
- CContact AWS Support to pre-warm the Application Load Balancer to handle the sudden burst of incoming matchmaking requests.
- DPlace a single NAT Gateway in one of the public subnets to consolidate outbound traffic to the database and reduce initialization latency.