A CPU-intensive data analysis application runs on Amazon EC2 instances within an Auto Scaling group. The group uses a target tracking scaling policy based on average CPU utilization. The workload arrives in unpredictable batches. The operations team notices two problems:
1. When a new batch of workload arrives, it takes up to 10 minutes before the Auto Scaling group begins to launch new instances, causing a temporary performance bottleneck.
2. Once scaling begins, the group frequently launches more instances than are needed to handle the load, resulting in underutilized resources and unnecessary costs.
Which two actions should the administrator take to address these problems? (Select TWO.)
- Enable detailed monitoring for the EC2 instances in the launch template used by the Auto Scaling group.Cevap
- Increase the estimated instance warmup time in the target tracking scaling policy configuration.Cevap
- CDecrease the estimated instance warmup time in the target tracking scaling policy configuration.
- DEnable detailed monitoring for the Auto Scaling group metrics in the AWS Management Console.
- ECreate an Amazon EventBridge rule that triggers an AWS Systems Manager Automation document to increase group capacity when CPU utilization spikes.
Cevap
Enable detailed monitoring for the EC2 instances in the launch template, and increase the estimated instance warmup time in the target tracking scaling policy.
Enabling detailed monitoring on the EC2 instances in the launch template changes the CPU utilization reporting frequency from 5 minutes to 1 minute, which reduces the time required for CloudWatch to trigger scaling actions. Increasing the estimated instance warmup time ensures that newly launched instances are not included in the average metric calculations until they are ready to handle the load, preventing the Auto Scaling group from launching unnecessary additional instances.
Adım Adım Çözüm
Anahtar Kavram
Auto Scaling responsiveness and overprovisioning prevention using detailed monitoring and instance warmup settings.
Tahmini Süre:2m 0s