Resilience & DR strategies

Backup-restore → pilot light → warm standby → active-active, mapped to RTO/RPO and cost. Every DR answer must start with the RTO/RPO the business gave you.

About 34 min read3-question knowledge check

The mental model

Think about how you protect against your house burning down. The cheapest option is a fireproof box with copies of your documents — if the house burns, you have lost the house but you can rebuild from the copies, over days. More expensive: you keep a small second flat with the essentials, so you can move in within hours. More expensive still: a fully furnished identical second home, ready to walk into today. Most expensive: you actually live in both houses at once, so if one burns you do not even notice.

Those four options are, exactly, the four AWS disaster recovery strategies: backup and restore, pilot light, warm standby, and active-active (multi-site). They cost more as you go up, and they recover faster as you go up. The entire discipline is choosing the right one — and you cannot choose it from the technology. You choose it from two numbers the business gives you.

  • RTO — Recovery Time Objective: how long you can be down. The fireproof box has an RTO of days; living in both houses has an RTO of zero.
  • RPO — Recovery Point Objective: how much data you can afford to lose, measured in time. If you back up nightly, your RPO is up to 24 hours — a disaster at 5pm loses everything since last night's backup.

Why this exists and why the framing matters: every DR answer must *start* with the RTO and RPO the business stated, because they are what determine the cost you are allowed to spend. An engineer who answers "what's your DR strategy" with "active-active across three regions" without asking the RTO/RPO is over-engineering someone's blog into a bank, or under-engineering a bank into a blog. The numbers come first; the architecture is a consequence. And the corollary every senior says out loud: an untested DR plan is not a DR plan — it is a document. The pilot light you have never actually lit is a hope, not a recovery posture.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision