Testing Resilience Against Recovery Objectives
This lesson explains how resilience testing measures whether a workload actually meets its RTO and RPO and finds gaps in architecture, runbooks and people before a real incident does.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how AWS Resilience Hub assesses a workload against its objectives.
- Choose between tabletop exercises, game days and fault injection.
- Measure the achieved RTO and RPO.
- Explain how stop conditions make testing safe.
Assessing against objectives
AWS Resilience Hub takes a workload's resources (from CloudFormation, Terraform, resource groups or EKS) and its RTO and RPO targets, and assesses whether its architecture can meet them for application, infrastructure, Availability Zone and Regional disruptions. It recommends changes, CloudWatch alarms, standard operating procedures and fault injection experiments, and can run assessments in a pipeline so regressions are caught before deployment.
Kinds of test
Each kind of resilience test answers a different question. A tabletop exercise walks through a scenario in discussion, checking that people know the procedure and their roles. A backup restore test checks that data can actually be restored and measures how long it takes; AWS Backup restore testing runs these automatically. A DR drill recovers the workload in the other Region, checking that it meets the RTO and RPO. A fault injection experiment, for example with AWS Fault Injection Service, shows how the running system behaves when a component fails or slows down. A game day tests whether the team can detect, diagnose and recover from a realistic scenario, partly unannounced. The following table summarises the tests.
| Test | Answers |
|---|---|
| Tabletop exercise | Do people know the procedure and their roles? |
| Backup restore test | Can data be restored, and how long does it take? (AWS Backup restore testing automates this) |
| DR drill | Can the workload be recovered in the other Region within the RTO, with data within the RPO? |
| Fault injection experiment | How does the running system behave when a component fails or slows down? |
| Game day | Can the team detect, diagnose and recover from a realistic, partly unannounced scenario? |
Measuring the result
A test is valuable only if it measures what was actually achieved. During a drill, the time of each recovery step is recorded, and the sum of those times, not the duration in the plan, is the achieved RTO. Comparing the last data present after recovery with the time of the simulated failure gives the achieved RPO. Both are compared with the objectives, and a gap is a finding, not a failure of the test.
Every manual step, delay and surprise becomes an action: automation for a step that took too long, a runbook update for a step that confused people, or an alarm for a problem nobody noticed. Tests are repeated on a schedule, because architecture, data volumes and staff all change, and a plan that worked last year may not work today.
Testing safely
Tests in production give the most realistic results but need guardrails: a limited scope, stop conditions tied to CloudWatch alarms, and a rollback plan. Fault injection experiments with AWS Fault Injection Service, including scenarios such as an AZ power interruption or loss of cross-Region connectivity, provide these controls; Testing Recovery with Chaos Engineering in AWS FIS covers them in detail.
Measuring a DR drill against its objectives
A payments platform claims an RTO of 30 minutes and an RPO of one minute for a Regional failover. Resilience Hub's assessment says the architecture can meet these targets, so the team runs a drill to measure what is actually achieved. FIS simulates the loss of connectivity to the primary Region, and each step is timed:
Step Planned Measured Finding
------------------------------------------------ -------- --------- ----------------------------------------
Detect impairment and declare the event 5 min 14 min Alarm routed to an unmonitored channel
Switch ARC routing controls 1 min 1 min -
Promote Aurora global database secondary 2 min 3 min -
Scale ECS services in the standby Region 10 min 19 min Task quota too low in standby Region
Smoke tests and confirmation 5 min 6 min -
-------- ---------
Total (achieved RTO) 23 min 43 min Target missed
Data lost (achieved RPO) < 1 min ~ 2 s Target metThe drill shows that the architecture is sound but the operation is not: alert routing and a service quota account for almost all of the overrun. The team routes the alarm to the on-call pager, raises the quota, adds a CloudWatch alarm on the standby Region's quota usage, and repeats the drill the following month, achieving 22 minutes.
Why must a disaster recovery test measure the time actually taken?
Show answer
Only measured results show whether the RTO and RPO are met. Untested runbooks often miss steps such as DNS changes, quotas or credentials in the recovery Region.
Exam Tips
Remember for the exam
- To assess resilience against RTO and RPO targets, use Resilience Hub.
- The achieved RTO and RPO come from drills, not from the design document.
- Automate backup restore tests with AWS Backup restore testing.
- Use FIS scenarios, such as AZ power interruption, to test running systems with stop conditions.
- Turn every manual step found in a drill into automation or a runbook update.