AWS & Cloud Engineering
Auto Scaling groups: self-healing and scaling
One of four web servers fails its hardware check at 03:00 and nobody is paged. By 03:08 the group has replaced it. Before an Auto Scaling group scales anything, it keeps N healthy, and the settings that govern that are easy to get wrong.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- Capstone: three-tier app on AWS with TerraformIntermediate · 5 min
A diagram of two zones is a promise. Writing it as Terraform modules turns the promise into code you can review, plan, rebuild and destroy, and shows exactly where the…
- Instance profiles: no access keys on diskBeginner · 5 min
One file, ~/.aws/credentials, copied to six servers, is the worst secret in the account. An instance profile hands each server a role with credentials that rotate…
- Spot InstancesBeginner · 4 min
Spot Instances offer interruptible compute capacity.
- Launch templates: repeatable instancesBeginner · 5 min
Six servers launched by hand over a year, no two the same. A launch template turns the click-through into a named, versioned object that a scaling group can reuse.
- IAM policy evaluation: identity, resource, boundary and explicit denyBeginner · 6 min
The role allows s3:GetObject and the request is still denied. Six policy types get a vote, and the error message tells you which one said no.
- Roles and STS AssumeRole, including cross-accountBeginner · 5 min
A CI job needs production access for twenty minutes. Instead of a key that lives for years, it borrows a role: how the two halves of the handshake work and where they…