A stop condition is a pre-agreed threshold that ends a chaos experiment automatically, such as an alarm on error rate or a synthetic user check failing. Define it, test it in a safe environment, and scope the experiment small before you ever touch real traffic.
Why guardrails come first
The Principles of Chaos Engineering accept some short-term negative effect but put the burden on the engineer to keep fallout minimized and contained. That is the blast radius principle. AWS adds a blunt warning in its fault injection documentation: the service carries out real actions on real resources, so plan first and rehearse in pre-production.
Anatomy of an experiment
AWS describes an experiment template as three parts: actions (what you do), targets (what you do it to) and stop conditions (when to quit). Any tool you use, or script you write, should have all three.
Targets can be chosen by tag or state. Start with one instance, one pod or one percent of a cohort.
Picking stop conditions
Good stop conditions watch two things.
- The steady state metrics for the whole workload, such as error rate and latency percentiles.
- The metrics of the component receiving the fault.
AWS also recommends including a synthetic monitor, a user canary that exercises the public path, as a proxy for real users. Its fault injection service supports up to five stop conditions per template.
For a security experiment, add one more: a canary that checks the security behavior itself. If you are testing a token validator outage, the canary should confirm that a known invalid token is still rejected.
Rollback
You must return the system to a known good state. Many designs heal themselves, but some failed experiments leave things broken, and you need to notice. Automate the undo where you can, and keep the manual steps in a playbook.
AWS discourages ad hoc scripts for chaos work unless they understand current workload state, emit logs, and offer rollback and stop conditions.
Tell people
Inform operations, reliability and support before you start, and give them a way to tell you that something looks wrong. A surprise experiment looks exactly like an incident.
A pre-flight checklist
- Hypothesis written, with a measurable steady state.
- Scope limited to the smallest useful target.
- Stop conditions defined and verified to trigger.
- Rollback tested.
- Stakeholders informed.
- Results will be stored.
Quick check
Should the first experiment run in production?
AWS recommends simulating faults in non-production first and confirming stop conditions fire as expected.
Who can call a stop?
Anyone watching. Agree beforehand that any participant or on-call engineer can end the experiment.
Sources
- Principles of Chaos Engineering
- What is AWS Fault Injection Service?
- AWS Well-Architected REL12-BP04
Last reviewed: 19 October 2026.