Your ASG launched instances in only one AZ and an AZ outage took down the service. Why?
IntermediateScenarioEC2, Auto Scaling and Load Balancing
Answer
Situation read → The ASG was configured with a single subnet, or the AZs were imbalanced.
What I'd do →
- Check
aws autoscaling describe-auto-scaling-groupsforAvailabilityZones - Add subnets across 3 AZs
- Make sure the ALB has those AZs enabled
- Enable AZ rebalancing
- Test with an AZ failure drill using ARC zonal shift
Why → Multi-AZ is only real if both the ALB and the ASG span it with enough capacity per AZ.
Interview tip → Mention over-provisioning N+1 across AZs.