Lesson 3 of 4 High Availability and Disaster Recovery

Choosing a Disaster Recovery Strategy

This lesson explains recovery objectives and the four standard disaster recovery strategies named in version 1.1 of the exam guide, which trade cost against recovery speed.

Learning outcomes

After completing this lesson, you will be able to:

  • Define RTO and RPO.
  • Compare backup and restore, pilot light, warm standby and multi-site.
  • Choose the lowest-cost strategy that meets the objectives.

Recovery objectives

The recovery time objective (RTO) is the maximum acceptable time between the interruption of service and its restoration. The recovery point objective (RPO) is the maximum acceptable amount of data loss, measured in time since the last recoverable data point. A backup taken every 24 hours gives an RPO of up to 24 hours; asynchronous replication gives an RPO equal to the replication lag. Lower RTO and RPO require more resources running in the recovery Region and therefore cost more. DR differs from high availability: Multi-AZ protects against component and AZ failures within a Region, while DR covers Regional events and data corruption.

Sort into groups

RTO or RPO?

Exam skills 2.3.2 · 2.3.4

Decide whether each statement is about the recovery time or recovery point objective.

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

The four strategies

Backup and restore copies backups (snapshots, AMIs, AWS Backup recovery points) to the recovery Region and rebuilds infrastructure from infrastructure as code when needed; it is the cheapest, with RTO and RPO measured in hours. Pilot light keeps the core, mostly the data, continuously replicated and keeps other infrastructure defined but switched off or scaled to zero, for example an Aurora Global Database secondary and an Auto Scaling group with zero instances; recovery means scaling up and switching DNS, in tens of minutes. Warm standby runs a scaled-down but fully functional copy of production that can serve traffic immediately and is scaled up on failover, giving RTO in minutes. Multi-site active/active runs full production in two or more Regions, with traffic served from all of them, giving near-zero RTO and RPO at the highest cost.

StrategyRTORPORunning in DR RegionRelative cost
Backup and restoreHoursHours (backup interval)Backups onlyLowest
Pilot lightTens of minutesSeconds to minutes (replication)Data replicas; app off or at zeroLow
Warm standbyMinutesSeconds to minutesScaled-down full stackMedium
Multi-site active/activeNear zeroNear zeroFull productionHighest

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

The four DR strategies from lowest to highest cost. Backup and restore copies backups and rebuilds from infrastructure as code, in hours. Pilot light replicates data while compute is scaled to zero, recovering in tens of minutes. Warm standby runs a scaled-down working copy and recovers in minutes. Multi-site active/active runs full production in several Regions.
The RTO values are typical, not guaranteed.
Put in order

From cheapest to fastest

Exam skills 2.3.4

Order the four disaster recovery strategies from the longest RTO and lowest cost to the shortest RTO and highest cost.

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

Choosing a strategy

An internal reporting application has an RTO of 24 hours and an RPO of 12 hours, and the company wants the lowest cost. Backup and restore meets both: AWS Backup copies daily recovery points of the RDS database and EBS volumes to the DR Region, and the CloudFormation templates can rebuild the stack in a few hours. A customer-facing payment service with an RTO of 15 minutes and an RPO of 1 minute needs at least warm standby: an Aurora Global Database secondary cluster and a minimal ECS service running in the DR Region, scaled out on failover, with Route 53 failover routing.

Check yourself

In which strategy is data replicated live but application servers are off?

Show answer

Pilot light.

Exam Tips

Remember for the exam

  • RTO is time to restore; RPO is acceptable data loss.
  • Backup and restore: cheapest, hours. Pilot light: data live, app off. Warm standby: scaled-down copy running. Active/active: full copies.
  • Choose the cheapest strategy that meets both RTO and RPO.
  • Multi-AZ is high availability, not disaster recovery.