Resilience, Migration, and Business Continuity · Topic 6 of 6
Resilience Assessment, Testing, and Chaos Engineering
Assess and prove AWS resilience: Resilience Hub policies and scores, Systems Manager runbooks, failover tests, and AWS Fault Injection Service experiments.
- 5 min
- Resilience Hub policies set RTO and RPO per disruption type: application, infrastructure, AZ and Region.
- Assessments report policy met or breached, with recommendations and a resiliency score.
- SOPs belong in Systems Manager Automation runbooks, tested and timed.
What it is
A DR plan that has never been tested is a guess. Assessment checks whether the design can meet its RTO and RPO on paper, and testing proves it by breaking things on purpose and timing the recovery.
AWS Resilience Hub handles assessment and recommendations. AWS Systems Manager runbooks turn recovery steps into automation, and AWS Fault Injection Service (AWS FIS) injects real faults so you can measure what happens.
How it works
AWS Resilience Hub assessments
You define an application in Resilience Hub from its resources, for example from AWS CloudFormation stacks, and attach a resiliency policy. The policy sets RTO and RPO targets for four disruption types.
| Disruption type | Example |
|---|---|
| Application | Bad deployment, configuration change or data corruption |
| Cloud infrastructure | A failed component that recovers by reboot or replacement |
| Cloud infrastructure AZ disruption | One or more Availability Zones unavailable |
| Cloud infrastructure Region incident | One or more Regions unavailable |
An assessment estimates the workload RTO and RPO for each application component and reports "Policy met" or "Policy breached". For example, a 24-hour Region target is breached if the database has no cross-Region recovery method.
The resiliency score shows how closely the application follows the recommendations for its policy, alarms, standard operating procedures (SOPs) and tests. Drift detection flags components that met the policy in a previous assessment but no longer do, and resources that were added or removed.
Recovery procedures with Systems Manager
Resilience Hub recommends SOPs, which are prescriptive recovery steps for an outage or alarm. Implement them as Systems Manager Automation runbooks so recovery is repeatable and fast, not a wiki page someone reads at 3 a.m.
Typical runbook steps are promoting a replica, restoring from a recovery point, scaling a standby fleet and switching traffic. Each SOP should be tested and timed, because the timing is what proves the RTO.
AWS Fault Injection Service
AWS FIS runs fault injection experiments on real AWS resources, based on chaos engineering principles. An experiment template is the blueprint.
| Template part | What it defines |
|---|---|
| Actions | The faults, such as stopping instances or disrupting network traffic, run in sequence or in parallel |
| Targets | The resources, chosen directly or by tags and state |
| Stop conditions | CloudWatch alarms that stop the experiment if a threshold is crossed |
| IAM role | The permissions FIS uses to perform the actions |
FIS can run multi-account experiments that target resources in other accounts. Resilience Hub can also recommend FIS experiments that inject a failure, check that alarms detect it and check that the SOPs recover the application.
Chaos engineering with a steady-state hypothesis
Chaos engineering is a controlled experiment, not random breakage.
- Define steady state with business metrics, such as successful orders per minute and p99 latency.
- State a hypothesis: "If one AZ loses its instances, steady state holds."
- Run the smallest experiment that tests it, with stop conditions as guardrails.
- Compare the results to steady state, fix weaknesses and repeat.
AWS recommends planning experiments and running them in a pre-production environment before production. Start with a small blast radius, such as a few tagged instances, and widen it as confidence grows.
Failover tests and measuring recovery time
A failover test should time each stage: detection, decision, traffic shift and data promotion. The total is the measured RTO, which you compare to the target.
- Route 53 health checks show how fast unhealthy endpoints are detected and DNS answers change.
- FIS faults such as stopping instances in one AZ test zonal recovery.
- ARC zonal shift tests moving traffic away from an AZ.
- AWS Elastic Disaster Recovery drills launch recovery instances without affecting replication.
Record the results and feed gaps back into the design, the runbooks and the next Resilience Hub assessment.
How the exam asks about this
- "The company must check continuously whether each application can meet its RTO and RPO targets and be told when changes break that." -> AWS Resilience Hub with a resiliency policy, scheduled assessments and drift detection.
- "Inject AZ-level failures in production but stop automatically if order error rates rise." -> An AWS FIS experiment template with a CloudWatch alarm as the stop condition.
- "Recovery steps must run the same way every time and be triggered from an alarm." -> Systems Manager Automation runbooks implementing the SOPs.
What to remember for the exam
- Resilience Hub policies set RTO and RPO per disruption type: application, infrastructure, AZ and Region.
- Assessments report policy met or breached, with recommendations and a resiliency score.
- SOPs belong in Systems Manager Automation runbooks, tested and timed.
- FIS templates hold actions, targets, stop conditions and an IAM role.
- Stop conditions are CloudWatch alarms that halt the experiment.
- Chaos engineering starts from a measurable steady state and a hypothesis.
AWS FIS performs real actions on real resources. An experiment with no stop condition, or a blast radius wider than you meant, becomes a real outage.
Common mistakes
Treating an assessment as a test. Resilience Hub estimates whether the design can meet targets. Only a timed experiment or drill proves the actual RTO.
Measuring only technical metrics. CPU and instance counts can look fine while orders fail. Define steady state with business metrics.
Testing once and forgetting. Architectures drift, so schedule assessments and repeat experiments after major changes.
Check yourself
What are the four disruption types in a Resilience Hub resiliency policy?
Application, cloud infrastructure, cloud infrastructure AZ disruption and cloud infrastructure Region incident.
What is a stop condition in AWS FIS?
A CloudWatch alarm that stops the experiment when a threshold you defined is crossed.
How do you measure the real RTO of a failover design?
Run a failover test or FIS experiment and time each stage from detection to full recovery, then compare the total with the target.
Topic 6 of 6 in Resilience, Migration, and Business Continuity
Test yourself on Resilience, Migration, and Business Continuity
The full AWS SAP-C03 question bank has 850 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by AWS. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.