An Auto Scaling group is configured to scale out when CPU utilization exceeds 70%. During a traffic spike, a scale-out event is triggered. Arrange the operational steps in the correct chronological order from the initial metric alarm to the point where the new instance handles active client requests.
- 1The CloudWatch alarm breaches the threshold and triggers the Auto Scaling scale-out policy.
- 2The Auto Scaling group launches a new EC2 instance using the configuration defined in the active launch template.
- 3The newly launched EC2 instance is registered with the target group of the associated Application Load Balancer.
- 4The Application Load Balancer conducts health checks on the new instance and begins routing traffic to it once it becomes healthy.
Answer
The correct chronological sequence starts with the CloudWatch alarm triggering the scale-out policy. Next, the Auto Scaling group provisions the new instance using the active launch template. Then, the instance is registered with the target group of the Application Load Balancer. Finally, the load balancer routes client traffic to the instance once it passes health checks.
The correct order follows the logical operational flow: an alarm triggers the policy, the instance is provisioned, registered with the load balancer target group, and finally, traffic is routed to it after passing health checks.
Step-by-Step Solution
Key Concept
Auto Scaling instance launch and registration lifecycle with Elastic Load Balancing.