Module 14 · Project 14 · Plan and Test Disaster Recovery · Lesson 44 of 48

RPO, RTO and the four DR strategies

What counts as a disaster, how to agree how much data and time you can afford to lose, and how backup-and-restore, pilot light, warm standby and active-active compare.

In this lesson · about 35 minutes

  • Tell high availability and disaster recovery apart
  • Define RPO and RTO and set them with the business
  • Choose a DR strategy that meets the targets at the lowest cost

HA is not DR

Project 13 made the app highly available: it survives a server or a data center failing. A disaster is bigger or different:

  • A whole region has a major outage.
  • Someone runs a migration that deletes half the customers table. Multi-AZ faithfully copies the deletion to the standby in milliseconds.
  • Ransomware or a stolen admin key encrypts or deletes your data and your backups.
  • A bad Terraform apply destroys the production VPC.

Redundancy doesn't help with most of these. You need copies from the past, kept somewhere the disaster can't reach, and a practised way to come back.

Two numbers to agree on

  • RPO, recovery point objective: how much data can you afford to lose, measured in time? With nightly backups, the RPO is up to 24 hours: everything since last night is gone.
  • RTO, recovery time objective: how long can you be down? From the moment of disaster to serving users again.

These are business decisions, not technical ones. Ask: "What does an hour of downtime cost us? What does losing an hour of orders cost?" Then compare with what each strategy costs to run.

The four strategies (cheapest first)

  1. Backup and restore: regular backups copied to another region. After a disaster, rebuild with Terraform and restore. RPO hours, RTO hours. Very cheap.
  2. Pilot light: the database replicates continuously to a second region, and everything else is defined in code but switched off. Turn it on and scale up. RPO minutes, RTO tens of minutes.
  3. Warm standby: a small but fully working copy runs in the second region. Scale it up and switch DNS. RPO seconds to minutes, RTO minutes.
  4. Multi-site active-active: both regions serve real users all the time. RPO and RTO near zero, but costly and complex (data has to stay in sync both ways).

Different parts of a system can use different strategies: the customer database warm standby, the reporting system plain backups.

Try it · watch it run

Disaster recovery: RPO, RTO and cost

Set the business's targets with the sliders, then find the cheapest strategy that meets both. Try RPO 15 min and RTO 60 min, then RPO 24 hours and RTO 8 hours. Finally, untick 'We practise restores' and see what happens.

Nightly snapshots copied to another region. After a disaster, rebuild everything there with Terraform and restore the data.
RPO: data you could lose24 h ✕ misses target 15 min
RTO: time until you're back8 h ✕ misses target 1 h
Extra cost per month (example app)$40

Bars use a log scale: seconds on the left, a full day on the right. The black line is your target.

This strategy misses the RPO and RTO target. Pick a stronger strategy, or agree a looser target with the business if the cost isn't worth it.

Whiteboard · watch and try

Draw RPO and RTO on a timeline

Press Play. The tutor draws what each number means.

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Check your understanding0 of 3 correct

Question 1

1.A bad migration deletes rows. Why doesn't RDS Multi-AZ save you?

Question 2

2.RPO measures…

Question 3

3.Which strategy keeps a small, fully running copy in another region?

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

Written by Noviq Academy in its own words. The labs are simulations: no real servers are touched. When you build the projects yourself, use a practice virtual machine or a free-tier cloud account you control, watch your cloud spending, and never run cleanup or delete commands on a machine you care about. Tool names belong to their owners; versions and output are shown for learning and may differ slightly from yours. Read-aloud and the whiteboard voice use your device's built-in voices.