AWS & Cloud Engineering
Capstone: three-tier app on AWS with Terraform
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 money goes.
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
- CloudTrail: who changed what, and whenBeginner · 5 min
Someone deleted the staging database and everyone says it was not them. CloudTrail keeps a record of every API call made in your account, which usually ends the…
- Design walk-through: a highly available web app on AWSIntermediate · 5 min
The classic interview question is how you would keep a web app up when a data center fails. The answer is a short list of pieces, each placed in two zones, plus 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…
- Auto Scaling groups: self-healing and scalingIntermediate · 5 min
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…
- 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.