Lesson 2 of 2 AWS Backup and Disaster Recovery

Choosing a Disaster Recovery Strategy from RPO and RTO

This lesson explains how disaster recovery strategies balance cost against recovery speed and acceptable data loss, and how to match a strategy to the RPO and RTO, a classic exam question.

Learning outcomes

After completing this lesson, you will be able to:

  • Define RPO and RTO.
  • Compare backup and restore, pilot light, warm standby and multi-site active-active.
  • Identify supporting services and the need for testing.

RPO and RTO

Disaster recovery requirements are stated with two measures. The recovery point objective (RPO) is the maximum amount of data, measured as time, that may be lost: an RPO of 15 minutes means that after a disaster the business can lose at most the last 15 minutes of changes, so data must be backed up or replicated at least that often. The recovery time objective (RTO) is the maximum time the application may be unavailable before it is running again. Lower values of either cost more, so the business sets them per application, and they determine the strategy. The following table summarises the two measures.

TermMeaning
Recovery point objective (RPO)Maximum acceptable data loss, measured in time
Recovery time objective (RTO)Maximum acceptable downtime

The following diagram places both measures around a disaster.

RPO and RTO on a timeline. The recovery point objective is how far back from the disaster the last usable copy may be, which is the data that may be lost. The recovery time objective is how long after the disaster the application may take to run again.
RPO looks back from the disaster to the last copy; RTO looks forward to recovery.
Scenario questions

Matching objectives to strategies

Exam skills 2.2.6 · 2.2.3

Choose the cheapest strategy that meets each recovery objective.

Log in to try this activity Interactive activities are free with an account.

The four strategies

The four standard strategies offer progressively lower RPO and RTO for progressively higher cost. With backup and restore, data is backed up to another Region and infrastructure is defined as code; after a disaster, everything is recreated and restored, which takes hours, but almost nothing runs in the recovery Region beforehand.

With pilot light, data is replicated continuously, for example to a database replica and through S3 Cross-Region Replication, so little is lost, while application servers are off and are started from AMIs and templates during recovery, giving an RTO of tens of minutes. With warm standby, a smaller but fully working copy of the application always runs in the recovery Region and is scaled up on failover, giving an RTO of minutes. With multi-site active/active, full production runs in two or more Regions at once, with traffic routed by Route 53 or Global Accelerator, so the loss of a Region causes almost no interruption, at the highest cost. The following table summarises the strategies.

StrategyHow it worksRPO / RTOCost
Backup and restoreData backed up, infrastructure as code; everything restored in another RegionHoursLowest
Pilot lightData replicated live (DB replica, S3 CRR); app servers off and started from AMIs and templatesRTO tens of minutesLow
Warm standbyA smaller, fully functional environment always running; scaled up on failoverRTO minutesMedium
Multi-site active/activeFull production in two or more Regions, routed by Route 53 or Global AcceleratorNear zeroHighest

The following diagram orders the strategies by cost and recovery time.

The four disaster recovery strategies from lowest to highest cost. Backup and restore recreates everything after a disaster, in hours. Pilot light replicates data while servers stay off, recovering in tens of minutes. Warm standby runs a small working copy that scales up in minutes. Multi-site active/active runs full production in several Regions, with almost no interruption.
The RTO values are typical, not guaranteed; the strategy is chosen as the cheapest one that meets the required RPO and RTO.
Sort into groups

Which DR strategy?

Exam skills 2.2.6

Match each description to its disaster recovery strategy.

Log in to try this activity Interactive activities are free with an account.
Worked example

Required: RPO 15 minutes, RTO one hour, low cost. Backup and restore cannot meet one hour for a large environment, but pilot light can: replicate the database continuously, keep AMIs and templates ready, and start the app tier on failover.

Supporting services and testing

Several services support disaster recovery strategies. AWS Elastic Disaster Recovery continuously replicates physical, virtual or cloud servers at block level to a low-cost staging area in AWS, launches recovery instances within minutes, and supports failback once the original site recovers. For data, Aurora Global Database, DynamoDB global tables, S3 Cross-Region Replication and copies of AMIs and snapshots keep copies in the recovery Region.

Infrastructure is recreated in the recovery Region from code, for example with CloudFormation StackSets, so it matches production. Amazon Application Recovery Controller (ARC) provides controls for shifting traffic between Regions. Above all, the plan is tested regularly, with game days and automated runbooks, because an untested recovery plan cannot be relied on.

Check yourself

Which strategy keeps a scaled-down but fully working copy of the workload running in another Region?

Show answer

Warm standby. Pilot light keeps only core data and components ready, and must start the application servers during recovery.

Exam Tips

Remember for the exam

  • For the lowest cost, when hours of downtime are acceptable, use backup and restore.
  • When the database is replicated but servers stay off until needed, the strategy is pilot light.
  • A scaled-down copy that is always running is a warm standby.
  • To replicate on-premises servers to AWS for disaster recovery with a minimal RTO, use Elastic Disaster Recovery.
  • For a tight RTO at moderate cost use a warm standby; for zero downtime use multi-site active/active.
  • Test disaster recovery regularly, with automated runbooks and game days.