Sub topic 2
Setting recovery targets: RTO and RPO
This chapter assumes you know the difference between an Availability Zone and a Region, and that you have seen the failure scopes from the previous chapter. Here you will learn the two numbers that every later choice depends on, and how to derive them from business impact instead of guessing.
The two targets
- Recovery time objective (RTO) is the longest time a workload may be unavailable after a disaster begins. It limits downtime.
- Recovery point objective (RPO) is the longest span of recent data you accept losing, measured in time. It limits data loss.
The two are independent. A reporting database restored from last night's backup has an RPO of 24 hours. It could still come back within minutes, so its RTO is short.
Deriving targets from business impact
Do not pick targets from what the technology can do. Ask the business what an outage costs, then work backward.
- Estimate the cost of downtime per hour: lost revenue, penalties, support load, and damage to trust.
- Estimate the cost of lost data: can it be re-entered, rebuilt from another system, or never recovered?
- Find the point where the cost becomes unacceptable. That point is the maximum tolerable downtime, and the RTO must be shorter than it.
- Repeat for each workload. Targets belong to a workload, not to a company.
Here is an example for an order system that takes 400 orders an hour at about $50 each.
| Question | Answer | Target |
|---|---|---|
| What does an hour of downtime cost? | About $20,000 in sales. Beyond one hour, customers switch to competitors. | RTO of 1 hour |
| Can lost orders be recovered? | Payment-provider records let staff re-create orders from the last 15 minutes. | RPO of 15 minutes |
A nightly backup fails this RPO. You would need continuous replication or very frequent point-in-time copies.
Grouping workloads into tiers
Most organizations avoid negotiating targets one workload at a time. They define a few tiers and assign each workload to one.
| Tier | Example workload | RTO | RPO |
|---|---|---|---|
| 1 | Checkout, payments | Minutes | Seconds to near zero |
| 2 | Internal order tools | 1 to 4 hours | Minutes |
| 3 | Reporting, analytics | 24 hours | 24 hours |
These values are examples. Your business sets the real ones.
How targets map to strategies
Tighter targets need more running infrastructure, and that costs more. The AWS Well-Architected guidance gives rough orders of magnitude for the four strategies in this tutorial.
| Strategy | Typical RPO | Typical RTO |
|---|---|---|
| Backup and restore | Hours | Hours or more |
| Pilot light | Minutes | Tens of minutes |
| Warm standby | Seconds to minutes | Minutes |
| Multi-site active/active | Near zero | Near zero |
Treat these as starting points. Your measured results matter more.
Common mistakes
- Starting the RTO clock too late. The RTO covers detection, the decision to fail over, the failover itself, and validation. Count all of them.
- Ignoring copy lag in the RPO. A backup taken every hour and copied to another Region in 30 minutes gives a worst-case RPO closer to 90 minutes.
- Asking for zero. An RTO and RPO of zero need active/active designs and cost much more. Ask what the business actually loses at 5 minutes.
- Confusing RTO with an SLA. An SLA is a promise to customers. An RTO is an internal design target for recovery.
- Trusting untested numbers. A target you have never measured is a guess. Later chapters cover testing.
Exercise
A claims-processing workload loses about $5,000 per hour of downtime. The business says anything beyond 4 hours of downtime causes regulatory penalties, and claims entered in the last 30 minutes can be re-keyed by staff. Backups run every 6 hours. State a reasonable RTO and RPO, and say whether the current backup schedule meets them.
Show answer
An RTO under 4 hours (for example 2 to 3 hours, to leave margin) and an RPO of 30 minutes. A 6-hour backup schedule gives a worst-case RPO of 6 hours, so it fails the RPO. The team needs more frequent point-in-time recovery or cross-Region replication. The RTO could still be met with restore from backup.