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

Traffic doubles every Friday evening. How do you make the web tier handle it automatically?

BeginnerScenarioEC2, Auto Scaling and Load Balancing
Answer

Situation read → Predictable spikes call for scheduled scaling plus a reactive policy as a safety net.

What I'd do →

  1. Put instances in an Auto Scaling group across at least two AZs behind an ALB
  2. Add a target tracking policy on ALBRequestCountPerTarget or CPU at 50 to 60 percent
  3. Add a scheduled action to raise MinSize Friday at 16:00
  4. Use a launch template with a baked AMI so instances are ready in under two minutes

Why → Scheduled capacity removes cold-start lag, target tracking handles the surprise.

Interview tip → Mention predictive scaling for repeating patterns.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing