When to Move Chaos Testing from Staging to Production
When to move chaos testing from staging to production: readiness checklist, stop conditions, blast radius, game days, tools like AWS FIS and LitmusChaos.
Move chaos testing from staging to production once experiments in staging pass repeatedly, the service has clear steady-state metrics and alerts, automatic stop conditions and rollback are proven, the blast radius can be limited to a small slice of traffic, and the on-call team and stakeholders have agreed to the experiment and its timing.
This guide sets out readiness criteria for that move, a gradual path from staging to production, and the guardrails that keep customer impact small. It focuses on the decision of when to graduate experiments. For the wider question of adding chaos engineering to a delivery pipeline, see when to add chaos engineering to a production pipeline, and for the basics, how chaos engineering improves resilience.
Key takeaways
- The Principles of Chaos Engineering recommend running experiments in production, because staging cannot fully reproduce real traffic and real dependencies, and they also require minimising blast radius.
- Staging is where you prove the experiment design, the tooling and the abort mechanism are safe. Production is where you learn how the real system behaves.
- Do not move to production until you have a measurable steady state, alerts that fire, and stop conditions that halt the experiment automatically.
- Start production experiments small: one instance, one zone or a small percentage of traffic, at a time when the team is staffed and watching.
- Tools such as AWS Fault Injection Service support stop conditions tied to CloudWatch alarms; LitmusChaos and Chaos Mesh are CNCF projects for Kubernetes.
- Some services should stay out of production experiments until specific weaknesses found in staging are fixed.
Why staging alone is not enough
Staging environments are useful, but they differ from production in ways that matter for resilience. They usually carry less and different traffic. Caches are cold or small. Data volumes are smaller. Dependencies are mocked, shared or configured differently. Autoscaling rarely triggers. Timeouts and retry storms that appear under real load may never show up.
The Principles of Chaos Engineering address this directly. Among their advanced principles they list running experiments in production, on the basis that system behaviour depends on environment and traffic patterns, and sampling real traffic is the only reliable way to capture it. The same principles also require you to minimise blast radius, accepting that production experiments carry some risk and making engineers responsible for containing it. Moving to production is therefore part of the discipline, not a reckless extra step, but it has to be earned.
What staging is for
Treat staging as the place where you make the experiment itself safe. Specifically, staging should prove that:
- the fault injection works as designed, affects only the intended targets and stops cleanly;
- your steady-state metrics move when you expect and your dashboards show it;
- alerts fire at the right thresholds and reach the right people;
- stop conditions halt the experiment automatically when a threshold is crossed;
- the system recovers on its own, or the runbook to recover it works;
- the experiment can be repeated with the same result.
If an experiment uncovers a weakness in staging, such as a service that crashes rather than degrading when a dependency is slow, fix that first. Running the same experiment in production would only reproduce a known failure on real users. Our article on how chaos experiments expose hidden weaknesses covers what staging runs typically find.
Readiness criteria for production experiments
Use these as a checklist. If any item is a "no", the experiment stays in staging for now.
| Area | Ready when |
|---|---|
| Steady state | You have a written hypothesis based on measurable outputs such as request rate, error rate and latency, and current values are known |
| Staging results | The same experiment has passed in staging several times, and any weaknesses it found are fixed |
| Observability | Dashboards and alerts cover the steady-state metrics and the affected dependencies |
| Automatic abort | Stop conditions are configured and have been tested by deliberately triggering them |
| Blast radius | Targets are limited by tag, instance count, zone or traffic percentage |
| Rollback | You can restore normal service quickly, and the procedure has been rehearsed |
| People | The on-call engineer knows the schedule, the owning team is present, and stakeholders have agreed |
| Timing | No release freeze, peak event or open incident during the window |
| Error budget | If you use SLOs, the service has enough budget left to absorb a small impact |
Steady state and hypothesis
Every experiment begins with a hypothesis about steady state, phrased in terms of outputs customers notice. For example: "If one of three instances behind the load balancer is terminated, the error rate stays below 0.5% and p99 latency stays below 800 ms." The Principles of Chaos Engineering stress measuring system outputs such as throughput, error rates and latency rather than internal details. Without a clear steady state, you cannot tell whether an experiment passed, and you cannot define when to stop.
Stop conditions
A production experiment needs an automatic brake. In AWS Fault Injection Service, a stop condition is an Amazon CloudWatch alarm. If the alarm fires during an experiment, FIS stops it, and a stopped experiment cannot be resumed. The FIS documentation advises defining the application's steady state first, then creating alarms on metrics such as latency, CPU or retries that represent unacceptable performance. In an experiment template, stop conditions look like this:
{
"stopConditions": [
{
"source": "aws:cloudwatch:alarm",
"value": "arn:aws:cloudwatch:ap-south-1:123456789012:alarm:checkout-error-rate-high"
}
]
}
FIS also accepts "source": "none", meaning no stop condition. That may be acceptable for a throwaway staging test. It is not acceptable in production. Whatever tool you use, test the stop condition itself in staging by forcing the alarm and confirming the experiment halts.
Blast radius
Limit the first production run to the smallest scope that still teaches you something: one instance out of many, one pod out of a deployment, one Availability Zone, or a small percentage of requests through a feature flag or service mesh rule. Increase scope only after the smaller run passes. Avoid experiments that touch shared infrastructure, such as a central database or DNS, until much later, because their blast radius is hard to contain.
A gradual path from staging to production
- Design the experiment in staging, with hypothesis, targets, duration and stop conditions written down.
- Run it in staging until the result is consistent, and fix any weaknesses found.
- Hold a short review with the owning team and on-call engineer. Agree the time, the abort criteria and who can stop the experiment manually.
- Run the smallest production version during working hours, with the team watching dashboards live. This is often called a game day.
- Compare the result with the hypothesis. If steady state held, record it. If it didn't, stop, restore service and treat it like an incident review.
- Repeat with a slightly larger blast radius, or move on to a different failure type.
- Once an experiment is routine and reliably passes, schedule it to run automatically, still with stop conditions, so regressions are caught over time.
Automation is the last step, not the first. The principles call for automating experiments to run continuously, but only after the manual runs show the experiment is understood and safe.
Running the first production game day
The first production experiment for a service deserves more ceremony than later ones. Treat it as a planned event with roles, not a script someone runs at lunch.
Before the window, circulate a one-page plan: the hypothesis, the exact fault and targets, the duration, the stop conditions, the manual abort command, the rollback steps and the people involved. Name one person as the experiment lead, who decides whether to continue, and one person as the observer, who watches customer-facing metrics and has authority to stop the experiment at any moment without discussion. Confirm that the on-call engineer for every dependency knows the time.
During the window, record a short baseline of the steady-state metrics before injecting anything, so you have a fresh comparison. Start the fault, then watch. Write down timestamps for every notable event: when the fault started, when alerts fired, when traffic shifted, when recovery began. These notes are the raw material for learning, and memory after the event is unreliable.
If the stop condition fires, let it. Do not restart the experiment in the same window to "see if it was a fluke". Restore normal service, confirm recovery, and end the session. A stopped experiment is a result, and often the most valuable kind.
Afterwards, hold a short review within a day or two. Compare what happened with the hypothesis. List anything that surprised you: alerts that fired late, dashboards that were missing a view, a dependency that behaved differently from staging. Turn each surprise into a ticket with an owner. Then decide whether the experiment is ready to repeat at a larger scope, should run again at the same scope after fixes, or should go back to staging.
Over time these reviews build a record of how your system behaves under stress. That record is the real output of chaos engineering, more than any single passing experiment.
Which experiments to start with
Begin with failures that your architecture claims to handle and that happen in real life anyway:
- Terminating a single instance or pod in a service that runs several replicas.
- Adding latency to calls to a non-critical dependency to confirm timeouts and fallbacks work.
- Making one Availability Zone's instances unavailable for a service designed to be multi-zone.
- Exhausting CPU on one node to check autoscaling and scheduling behaviour.
Leave data-destroying faults, region-wide outages and attacks on shared control planes until your practice is mature, if ever. For a classic approach to instance termination, see how to use Chaos Monkey.
Tools that support the move
AWS Fault Injection Service runs experiments against AWS resources with templates, targets and the CloudWatch-based stop conditions described above. On Kubernetes, LitmusChaos and Chaos Mesh are open-source projects in the Cloud Native Computing Foundation; both were accepted into CNCF incubation in early 2022. Whichever tool you choose, check that it lets you limit targets precisely, abort automatically and record what happened. A tool that cannot stop itself safely belongs in staging only.
Observability matters as much as the injection tool. You need metrics for the steady state, traces to see how failures propagate, and logs to explain what happened. If your monitoring cannot show a 1% rise in errors on one service within a minute, you are not ready to inject faults into production.
Organisational and compliance considerations
Production experiments affect people outside the engineering team. Tell customer support when an experiment is scheduled, so they can recognise any related tickets. In regulated industries, check whether internal change management requires a change record for experiments, and include the experiment plan and abort criteria in it. Keep a log of every production experiment, its result and any impact, which is useful for audits and for learning.
Agree in advance what happens if an experiment finds a real problem. It should be treated as a success of the method and handled through a blameless review, not as someone's fault. Teams that are punished for finding weaknesses stop looking for them. The SRE practice of error budgets helps here: if a service has spent most of its budget on real incidents, postpone experiments until reliability recovers. See SRE practices for DevOps teams and how self-healing systems reduce MTTR for related practices.
When to stay in staging
- The service has no meaningful monitoring or alerting yet.
- Staging runs found a weakness that is not fixed.
- You cannot limit the experiment to a small portion of users or capacity.
- The team is in a release freeze, a peak business period or an active incident.
- The service has no redundancy, so any fault becomes a full outage. Build redundancy first.
- Stakeholders have not agreed.
Staying in staging is not failure. It is the honest answer when the safeguards are not ready, and it gives you a clear list of what to fix.
Our DevOps training covers monitoring, Kubernetes and reliability practices that chaos engineering depends on, in our Kharadi, Pune classroom and live online.
Frequently asked questions
Should chaos experiments ever run in production?
Yes, once they are safe to do so. The Principles of Chaos Engineering recommend production experiments because staging cannot reproduce real traffic, while also requiring a minimal blast radius.
What must be in place before moving to production?
A measurable steady state, repeated passing runs in staging, alerting, tested automatic stop conditions, a limited blast radius, a rehearsed rollback and agreement from the team and stakeholders.
What is a stop condition?
An automatic trigger that halts an experiment when a metric crosses a threshold. In AWS FIS, it is a CloudWatch alarm, and a stopped experiment cannot be resumed.
How small should the first production experiment be?
As small as still teaches you something: one instance, one pod, one zone or a small share of traffic, run while the team is watching.
Which tools support production chaos experiments?
AWS Fault Injection Service for AWS resources, and CNCF projects LitmusChaos and Chaos Mesh for Kubernetes, among others. Choose tools that limit targets and abort automatically.
When should experiments be automated?
After manual production runs pass reliably. Automate them with stop conditions so regressions are detected over time.
When should a team stay in staging?
When monitoring is weak, known weaknesses are unfixed, blast radius cannot be limited, the service lacks redundancy, or the timing clashes with releases or peak periods.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0