Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

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 →

  1. Check aws autoscaling describe-auto-scaling-groups for AvailabilityZones
  2. Add subnets across 3 AZs
  3. Make sure the ALB has those AZs enabled
  4. Enable AZ rebalancing
  5. 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.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing