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

Your fleet needs OS patching monthly with no manual SSH. How do you automate it?

IntermediateScenarioEC2, Auto Scaling and Load Balancing
Answer

Situation read → Systems Manager Patch Manager with maintenance windows.

What I'd do →

  1. Tag instances by PatchGroup
  2. Create a patch baseline and a maintenance window
  3. Register the AWS-RunPatchBaseline task with rate control (10 percent concurrency, 5 percent error threshold)
  4. Combine with ASG instance refresh to bake new AMIs instead of in-place patching for immutable fleets
  5. Report compliance in the console

Why → Immutable AMI rotation beats patching in place for repeatability.

Interview tip → Mention rate control to avoid patching the whole fleet at once.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing