Volume 8 · Chapter 2 — High Availability, Disaster Recovery and Safe Change
Disaster Recovery Strategies
2.1 Introduction
High availability handles component and AZ failures within a Region, but disaster recovery (DR) handles the bigger events - the loss of an entire Region, a major data-corruption incident, or a catastrophe - by being able to recover the system, typically in another Region. DR is defined by two objectives (RTO and RPO) and implemented through a spectrum of strategies trading cost against recovery speed. This is a core interview and architecture topic because choosing the right DR strategy is fundamentally about matching recovery capability to business requirements and budget.
2.2 RTO and RPO
Two metrics define a DR strategy. RTO - Recovery Time Objective - is how quickly you must recover after a disaster: the maximum acceptable downtime. RPO - Recovery Point Objective - is how much data you can afford to lose, measured as the maximum acceptable amount of recent data loss (for example, “at most 5 minutes of data”). Together they define the recovery requirement: RTO says how fast you must be back, RPO says how recent the recovered data must be. These drive everything, because a near-zero RTO and RPO (recover almost instantly with no data loss) requires an expensive always-ready standby, while a tolerance for hours of downtime and some data loss allows a much cheaper approach. For a bank, the core transaction systems demand very low RTO and RPO, while less critical systems can tolerate more - so you set them per system based on business impact.
2.3 The Spectrum of DR Strategies
DR strategies form a spectrum from cheapest/slowest to most expensive/fastest. Backup and restore is the simplest: keep backups (ideally in another Region) and, after a disaster, restore them and rebuild - low cost but the highest RTO (rebuilding takes time) and RPO limited by backup frequency. Pilot light keeps a minimal core (like a replicated database) running in the recovery Region, with the rest provisioned on demand during a disaster - faster recovery, moderate cost. Warm standby runs a scaled-down but functional copy in the recovery Region that you scale up on failover - faster still, higher cost. Multi-site active-active runs full capacity in multiple Regions serving traffic simultaneously - near-zero RTO/RPO but the most expensive and complex. Each step up the spectrum buys faster recovery and less data loss at higher cost.
flowchart LR BR[Backup & Restore\ncheapest, slowest RTO] --> PL[Pilot Light\ncore running, rest on-demand] PL --> WS[Warm Standby\nscaled-down running copy] WS --> AA[Multi-site Active-Active\nfull capacity, near-zero RTO/RPO, costliest] Note[Higher cost buys lower RTO/RPO] -.-> WS
2.4 Choosing a Strategy
You choose a DR strategy by matching it to the RTO and RPO the business requires for each system, balanced against cost. A system that can tolerate hours of downtime and some data loss uses backup and restore - why pay for an always-ready standby it doesn’t need? A system needing recovery in minutes with minimal data loss needs warm standby or active-active. The mistake is applying one strategy everywhere - gold-plating non-critical systems with expensive active-active, or under-protecting critical systems with slow backup-restore. So you classify systems by criticality, set RTO/RPO from business impact, and pick the cheapest strategy that meets each system’s objectives. Critical banking systems justify warm standby or active-active; supporting systems use pilot light or backup-restore.
2.5 Testing DR
A DR plan that has never been tested is not a DR plan - it’s an assumption. Disasters are exactly when you can’t afford to discover that backups don’t restore, the failover process has a gap, or the recovery Region is missing something. So you test DR regularly: actually perform failovers and restores, ideally as scheduled exercises, to verify the system genuinely recovers within its RTO with acceptable data loss, and to find and fix the gaps before a real disaster. Testing also keeps the recovery environment and runbooks current as the system evolves. Untested DR routinely fails when finally needed, which is why regular, realistic DR testing is as important as having the plan at all.
2.6 Banking Production Scenario
A bank classifies its systems by criticality and sets RTO/RPO accordingly. Its core transaction and ledger systems require recovery within minutes and essentially no data loss, so they run warm standby (or active-active) in a second Region with the database continuously replicated, ready to take over quickly - justified by the severe impact of the systems being down. Less critical internal systems use pilot light or backup and restore, with backups replicated to the second Region, because they can tolerate longer recovery and some data loss at far lower cost. The bank tests its DR regularly with scheduled failover exercises, proving the critical systems recover within their objectives and fixing any gaps found - so if a Region is ever lost, recovery is a rehearsed procedure, not a hope.
2.7 Troubleshooting: DR Weaknesses
DR failures are discovered at the worst time unless you prevent them. A recovery that takes far longer than required means the strategy doesn’t meet the RTO - move up the spectrum (pilot light → warm standby → active- active) for that system. Losing more data than acceptable means the RPO isn’t met - increase replication frequency or use continuous replication. Backups that won’t restore, or a recovery Region missing components, are exactly what DR testing exists to catch - test regularly and fix gaps. Applying expensive active-active to everything wastes money - match strategy to each system’s real objectives. No cross-Region copies at all means there’s no actual DR - replicate backups or data to another Region. The discipline is to set RTO/RPO from business impact, choose the cheapest strategy that meets them per system, and test regularly so recovery works when needed.
What are RTO and RPO, and how do you choose a disaster recovery strategy?
RTO and RPO are the two objectives that define any disaster recovery strategy. RTO - Recovery Time Objective - is how quickly you must recover after a disaster, the maximum acceptable downtime. RPO - Recovery Point Objective - is how much data you can afford to lose, the maximum acceptable amount of recent data loss, such as “at most five minutes of data.” Together they define the recovery requirement: RTO says how fast you must be back online, RPO says how recent the recovered data must be. They drive the whole design, because a near-zero RTO and RPO - recover almost instantly with essentially no data loss - requires an expensive, always-ready standby, whereas tolerance for hours of downtime and some data loss allows a far cheaper approach. I choose a DR strategy by matching it to the RTO and RPO the business requires for each system, balanced against cost, using the spectrum of DR strategies. Backup and restore is the cheapest and slowest: keep backups, ideally replicated to another Region, and after a disaster restore and rebuild - low cost but the highest RTO because rebuilding takes time, and RPO limited by how often you back up. Pilot light keeps a minimal core, like a continuously-replicated database, running in the recovery Region and provisions the rest on demand during a disaster - faster recovery at moderate cost. Warm standby runs a scaled-down but functional copy in the recovery Region that you scale up on failover - faster still, higher cost. Multi-site active-active runs full capacity in multiple Regions serving traffic simultaneously - near-zero RTO and RPO but the most expensive and complex. Each step up buys faster recovery and less data loss at higher cost. So I classify systems by criticality, set their RTO and RPO from business impact, and pick the cheapest strategy that meets each system’s objectives - not one strategy for everything. A bank’s core transaction and ledger systems, where downtime and data loss are severe, justify warm standby or active-active with continuous cross-Region replication; less critical systems that tolerate longer recovery and some data loss use pilot light or backup and restore at far lower cost. Crucially, whatever strategy I choose, I test it regularly with real failover and restore exercises, because an untested DR plan routinely fails when finally needed - testing verifies the system actually recovers within its RTO and RPO and surfaces gaps like backups that won’t restore or a recovery Region missing components. So RTO and RPO quantify how fast and how lossless recovery must be, and I choose the DR strategy by matching the cheapest option that meets each system’s objectives to its business criticality, then prove it works through regular testing.
Chapter Revision Notes
- RTO = maximum acceptable downtime (how fast to recover); RPO = maximum acceptable data loss (how recent the recovered data).
- DR spectrum: backup & restore (cheap/slow) → pilot light → warm standby → multi-site active-active (costly/near-instant).
- Higher up the spectrum buys lower RTO/RPO at higher cost; choose the cheapest strategy that meets each system’s objectives.
- Set RTO/RPO from business impact per system; critical banking systems justify warm standby/active-active, others use pilot light/backup-restore.
- Test DR regularly with real failovers/restores - an untested DR plan routinely fails when needed.