Skip to main content

RTO and RPO

RTO and RPO are the two numbers that determine the shape of a recovery design. Setting them after the architecture is chosen is backwards.

Definitions​

TermMeaningFailure it addresses
RTOMaximum acceptable time from outage to restored serviceAvailability
RPOMaximum acceptable data loss, measured in timeData integrity

They are independent. A system can tolerate a long downtime but no data loss, or a short downtime but a small amount of loss.

Setting the objectives​

Questions for the business​

  1. What happens if this service is unavailable for one hour? For four? For a day?
  2. Which is worse — being down, or losing the last hour of transactions?
  3. What is the revenue or regulatory consequence of each?
  4. Is the impact the same at all times, or does it vary by season or time of day?
  5. Who has the authority to declare a disaster and accept the cost of recovery?

The answers usually reveal that different components need different targets. A catalogue needs a shorter RTO than an internal reporting service; a payments ledger needs a shorter RPO than a cache.

Tiering​

TierRTORPOExample
Tier 1 — critical≤ 15 min≈ 0Checkout, payment capture
Tier 2 — important≤ 2 h≤ 15 minCustomer portal, account management
Tier 3 — standard≤ 8 h≤ 4 hReporting, admin tooling
Tier 4 — non-critical≤ 24 h≤ 24 hInternal tools, batch analytics

Tiering by component prevents the common error of applying the strictest target to everything, which makes the programme unaffordable and therefore unimplemented.

What each target implies​

RPO​

RPOMechanism
Near zeroSynchronous replication or multi-region strongly consistent database
SecondsContinuous replication (RDS cross-region replica, DynamoDB global tables)
MinutesFrequent snapshots or transaction log shipping
HoursScheduled snapshots
DayDaily backup

RTO​

RTOMechanism
Near zeroActive-active; traffic shifts automatically
MinutesWarm standby; scale up and repoint
Under an hourPilot light; provision compute, restore data, switch DNS
HoursBackup and restore; rebuild infrastructure, restore, validate
DayBackup and restore with manual provisioning

Cost​

The relationship is non-linear. Approximate relative cost:

RTO 24h ▏
RTO 8h ▎
RTO 4h ▍
RTO 2h ▌
RTO 1h ▋
RTO 15m ██
RTO 0 ██████

The step from two hours to fifteen minutes is an order-of-magnitude change in both infrastructure and operational effort. Make that explicit in the business case rather than silently pricing the stricter option.

Documenting the decision​

FieldContent
ComponentThe service or data store
Tier1–4
Agreed RTOMeasured in hours or minutes
Agreed RPOMeasured in hours or minutes
StrategyBackup and restore, pilot light, warm standby, active-active
MechanismThe specific services and configuration
Test cadenceHow often recovery is verified
Last test resultDate and measured time
OwnerWho is accountable
Business approverWho accepted the target and its cost

This table is the deliverable. An RTO that exists only in a slide is not an objective.

Validation​

CheckMethod
RTO is achievableRestore or failover drill with measured timing
RPO is achievableCompare the recovery point timestamp with the incident time
Backups are usableRestore into a clean environment and run smoke tests
Dependencies are coveredRestore test includes secrets, certificates, DNS and configuration
Alarms detect the failureInduce the failure and confirm the alert fires

Common mistakes​

  • Setting RTO to a round number without analysis. "Four hours" because it sounded reasonable, not because anything supports it.
  • Ignoring the dependency chain. The database restores in 40 minutes; the service is down for four hours because the secret and DNS were not in the plan.
  • Assuming Multi-AZ is DR. Multi-AZ handles an AZ failure, not a regional one or a logical data error.
  • RPO measured from the backup schedule rather than from the replication lag. A snapshot every hour does not guarantee an RPO of one hour if the snapshot itself takes 40 minutes.
  • Targets that are never tested. The first real test is the incident.

Reporting​

ReportAudienceContent
Recovery objectivesBusiness and deliveryThe tier table with approvers
Test resultsDelivery and securityMeasured versus target per drill
CoverageLeadershipComponents with current test evidence versus without