What is Chaos Monkey? Chaos engineering explained

Chaos Monkey is an open-source tool Netflix created to cause random failures in its own IT services and infrastructure, so engineers find weak spots before a real outage does.

This guide explains what Chaos Monkey does, how it fits into the wider practice of chaos engineering, how to run a controlled chaos experiment, which tools do the same job today, and the risks to plan for.

What Chaos Monkey is

Netflix built Chaos Monkey when it moved from its own data center to Amazon Web Services (AWS), as a response to the unreliability of cloud infrastructure. IBM traces the motivation to a 2008 Netflix outage that interrupted service delivery for three days.

Google Cloud dates the invention of chaos engineering to 2010, when Netflix created and popularized Chaos Monkey to keep its growing AWS environment reliable. Microsoft describes Chaos Monkey as the first member of the Netflix Simian Army, a family of failure-injecting tools nicknamed monkeys.

Chaos Monkey is a failure-injection tool: it deliberately breaks parts of a running system at random so the team can see whether the system recovers on its own. A system that has already survived random failures under observation is far less likely to surprise the team during a real incident, and every weakness it exposes becomes a fix or an automatic recovery procedure.

How Chaos Monkey fits into chaos engineering

Chaos engineering is the discipline of experimenting on a system to build confidence in its ability to withstand turbulent conditions in production. That definition, from the Principles of Chaos Engineering, is the one AWS quotes in its Well-Architected reliability guidance.

Chaos Monkey is one tool inside that discipline, not the discipline itself. The table shows where the two differ.

Question Chaos Monkey Chaos engineering
What it is A specific open-source tool from Netflix A practice and method for testing resilience
Scope Random failures in services and infrastructure Any fault: lost servers, latency, dropped packets, DNS failures, load, failovers
Method Inject a random failure and watch the recovery Define steady state, state a hypothesis, inject a fault, verify, improve
People and process Tests the technology Also tests the people, processes and alerts around the system
Tools Chaos Monkey itself Chaos Monkey, AWS Fault Injection Service, Azure Chaos Studio, Chaos Toolkit, Chaos Mesh, Litmus, Gremlin

Google introduced its own disaster-readiness program, Disaster Resilience Testing (DiRT), around the same time Netflix released Chaos Monkey, so the idea grew at several large cloud operators in parallel.

How Chaos Monkey works

Chaos Monkey creates random incidents in IT services and infrastructure. The randomness is the point: engineers cannot quietly prepare the one server they know will be hit, so the whole system has to tolerate failure.

Stage What happens What the team learns
Pick a target A component in the running environment is chosen at random Whether any single component is a hidden single point of failure
Inject the failure The chosen component is disrupted, for example a process or host is shut down How dependent services react when a piece disappears
Watch the recovery Load balancing, auto scaling and failover should absorb the loss Whether automatic recovery works without a human
Fix what broke Weaknesses become code fixes or automatic recovery procedures Which designs to change before a real outage
Repeat The failures keep coming on a schedule Whether new releases have reintroduced old weaknesses

Microsoft's Azure Search team built its own tool inspired by Chaos Monkey. It runs continuously, randomly chooses an operation at regular intervals in a test environment, and can also run any operation on demand. That pattern of continuous, random, observed failure is the core of how Chaos Monkey-style testing works.

Why teams use Chaos Monkey

Teams adopt Chaos Monkey and chaos engineering for the same reason: failure is inevitable in distributed systems, and it is cheaper to meet it during working hours than at 3 a.m. during a real outage.

Reason What it gives the team
Less downtime Specific game plans for many incidents, so repairs are quicker; IBM cites a Gartner figure of up to 20% less downtime
Better customer experience Less risk of a long outage on a service customers pay for
Proof that recovery works Confidence that the recovery procedures in a resilient design run correctly during a real fault
Alerts that fire Validation that monitoring alerts trigger and the right people get notified
Security and stability Bugs and exploitable issues found and patched before attackers or customers hit them
Scalability Bottlenecks in resource allocation revealed under stress
Better design knowledge Writing hypotheses forces teams to understand how their systems are built and operate

How to run a chaos engineering experiment step by step

AWS describes each experiment as a loop it calls the chaos engineering flywheel: steady state, hypothesis, run experiment, verify, and improve. Google Cloud and IBM describe the same sequence.

  1. List the faults your design is meant to survive, using past incidents, known issues and critical dependencies, then rank each fault high, medium or low by how often it happens and how much it hurts.
  2. Define steady state as a measurable output of normal behavior, such as throughput, error rate and latency percentiles. AWS gives the example of a payments system processing 300 transactions per second at a 99% success rate.
  3. Write a hypothesis in the form: if a specific fault occurs, the workload will use its mitigations to keep a named metric within a stated limit.
  4. Set stop conditions on guardrail metrics so the experiment halts automatically if impact goes past an acceptable threshold.
  5. Tell operations, reliability and customer support teams when the experiment will run and what to expect.
  6. Inject the fault, starting in a non-production environment that mirrors production as closely as possible.
  7. Compare the measured output with the steady state to verify or reject the hypothesis.
  8. Restore every system to its known-good state, fix any weakness the experiment exposed, and run the same experiment again.
  9. Once the hypothesis holds, automate the experiment as a regression test in the CI/CD pipeline and record the results.

AWS advises against running an experiment you already know will fail. A known broken workload teaches nothing new; fix it first, then experiment.

What is Chaos Monkey? Chaos engineering explained
Each chaos engineering experiment follows the AWS flywheel: define steady state, state a hypothesis, run the experiment, verify the result, then improve. (Image: docs.aws.amazon.com)

Chaos engineering in production vs pre-production

Chaos Monkey became famous for running against production, and both IBM and Google Cloud say production gives the most accurate picture of resilience. Every vendor guide still recommends starting earlier in the pipeline.

Your situation Where to run Why
First experiment, no stop conditions tested yet Development or test environment Proves the stop conditions and monitoring work before any customer can be affected
Experiments pass in test, confidence is growing Staging or pre-production that mirrors production AWS game days progress through environments as confidence builds
Real traffic is too risky to touch Production infrastructure with synthetic traffic Keeps real hardware and settings without exposing customer requests
Mature practice with guardrails and rollback Production during off-peak hours Only production has the real traffic levels, dependencies and security settings
Peak sales event, trading hours or product launch Do not run AWS FIS safety levers exist to block fault injection during these windows

A pre-production environment that differs from production can give a false picture. IBM recommends keeping the two environments as close to identical as possible.

Chaos engineering vs resilience testing

AWS separates the two clearly. Both inject failures, but they answer different questions.

Aspect Resilience testing Chaos engineering
Nature Deterministic Non-deterministic and hypothesis-based
Failure modes Known ones, such as circuit breakers, retries and failovers Unknown ones across people, process and technology
Result Pass or fail Learning about how the system really behaves
Targets Often mock APIs that simulate a component Real components, end to end
Where it runs A step in every deployment pipeline A separate chaos pipeline or ad-hoc experiments and game days

AWS recommends combining both: resilience tests guard against regressions, and chaos experiments find the failures nobody predicted.

Chaos engineering vs resilience testing characteristics compared side by side
Resilience testing (top) is deterministic with pass or fail results, while chaos engineering (bottom) is non-deterministic and built for exploration and learning. (Image: docs.aws.amazon.com)

Types of chaos engineering experiments

Chaos Monkey focuses on failures in services and infrastructure, but chaos engineering covers a wider range of experiments.

Experiment type What it does Example faults
Fault injection Introduces errors to see how dependent systems react Disk failures, terminated processes, a host shut down, a primary database failover
Latency injection Emulates a slow or failing network connection Network delays, slower response times, dropped packets
Resource stress Exhausts resources an application needs CPU or memory exhaustion
Dependency loss Blocks access to a third-party provider for seconds to hours DNS failures, an unreachable external API
Load generation Sends traffic well beyond normal levels A traffic spike several times the usual peak
Zone or region outage Simulates a large-scale cloud disruption An Availability Zone power interruption, cross-Region connectivity loss
Chaos engineering experiment types such as CPU pressure faults in Azure Chaos Studio
A resource stress fault like CPU pressure at 99% runs as an action inside a step; branches run together, steps run in order. (Image: Microsoft)

Chaos Monkey alternatives and chaos engineering tools

Chaos Monkey is still the best-known name, but the major cloud providers now offer managed services with built-in guardrails. AWS discourages custom scripts for chaos experiments unless they can read the workload's state, emit logs, and roll back.

Tool Type What it offers
Chaos Monkey Open source, from Netflix Random failures in services and infrastructure
AWS Fault Injection Service (AWS FIS) Managed AWS service Experiment templates with actions, targets and stop conditions; faults on Amazon EC2, ECS, EKS and RDS; CloudWatch alarm stop conditions and safety levers
Azure Chaos Studio Managed Azure service Workspaces that discover resources and recommend Scenarios such as Compute Zone Down or DNS Outage, plus Scenario reports
Chaos Toolkit Open source, Python Pluggable drivers for Google Cloud, Kubernetes and other platforms; recommended by Google Cloud as a starting framework
Chaos Mesh and Litmus Open source, Kubernetes Pod and cluster faults; AWS FIS can coordinate their experiments
Gremlin Commercial platform Listed by AWS as a commercial chaos engineering option
Chaos Monkey alternative AWS Fault Injection Service architecture with experiment templates
AWS FIS starts and stops experiments against compute, database, networking and storage resources, with Amazon CloudWatch alarms acting as safeguards. (Image: docs.aws.amazon.com)

Risks and limitations

Chaos Monkey and every tool like it carries out real actions on real resources. AWS states this plainly for its own service and strongly recommends a planning phase and pre-production runs first.

Risk What can go wrong How to contain it
Customer impact An experiment in production disrupts real users Target a subset of services, run off-peak, and set automatic stop conditions
Cascading failure Other applications get erroneous messages, high request volumes or resource contention on shared infrastructure Map shared dependencies and document these risks before the run
Systems left broken A failed experiment leaves the workload in an unexpected failed state Plan a rollback or post action and restore the known-good state afterwards
False confidence A pre-production environment lacks production traffic or security settings Mirror production as closely as possible, then move experiments to production gradually
Unclear ownership On-call staff mistake the experiment for a real incident Announce experiments and give teams a way to report adverse effects
Random tools lack context A purely random failure ignores business events and current health Use managed tools with health checks, logs and safety levers that block runs during launches or sales
Chaos engineering risks contained with stop conditions in AWS FIS experiment templates
Every AWS FIS experiment template pairs targets and actions with stop conditions tied to CloudWatch alarms that halt the run automatically. (Image: docs.aws.amazon.com)

Best practices for running chaos experiments

These practices appear in the AWS, Google Cloud and IBM guidance alike.

Practice Why it matters
Start small and limit the blast radius A small scope keeps any fallout minimized and contained
Know your service baseline Without a measured steady state, there is nothing to compare results against
Use real-world failures Network and infrastructure failures, bad code, power issues and traffic overload are what actually happen
Run for a finite time An experiment should have a clear beginning and end, not run unchecked
Remediate first, then experiment Known weaknesses should be fixed before testing for unknown ones
Monitor closely and use a synthetic monitor A user canary shows customer impact as it happens
Hold game days A dedicated day of experiments practices team response as well as system response
Automate passing experiments Experiments that pass become regression tests in the CI/CD pipeline
Record and share results Captured data shows trends, and shared findings improve other teams' designs

Chaos Monkey FAQ

Is Chaos Monkey the same thing as chaos engineering?

No. Chaos Monkey is one tool Netflix built to cause random failures. Chaos engineering is the broader discipline of experimenting on a system to build confidence that it withstands turbulent conditions, and it uses many tools besides Chaos Monkey.

Does Chaos Monkey just break production on purpose?

It breaks things on purpose, but not without a purpose. Each failure is a controlled test of whether the system recovers automatically, and every weakness it finds becomes a fix. Most teams start in pre-production and move to production only with guardrails.

What kinds of failures does Chaos Monkey test?

Chaos Monkey creates random incidents in IT services and infrastructure, such as a service or host disappearing. Broader chaos engineering tools add latency, dropped packets, CPU and memory stress, DNS failures, database failovers and zone outages.

When should a team start using Chaos Monkey?

Start once the system is designed to tolerate failure and has monitoring, alerts and automatic recovery in place. Running chaos experiments against a workload that is known to be fragile teaches nothing new, so fix known weaknesses first.

What are the biggest risks of using Chaos Monkey?

The main risks are customer-facing outages, failures that cascade into shared systems, and systems left in a broken state. Limit the blast radius, set stop conditions, run off-peak, and restore every system after each experiment.

Who created Chaos Monkey?

Netflix created Chaos Monkey around 2010 while moving from its own data center to AWS. It was the first tool in what Netflix called the Simian Army, a set of tools that inject different kinds of failure.

Is Chaos Monkey open source?

Yes. Chaos Monkey is an open-source tool, and many organizations outside Netflix use it to run chaos engineering experiments.

What is the AWS equivalent of Chaos Monkey?

AWS Fault Injection Service (AWS FIS) is the managed AWS service for fault injection experiments. It can terminate resources, force failovers, stress CPU or memory and add latency, with CloudWatch alarm stop conditions to halt an experiment.

Should you use Chaos Monkey for chaos engineering?

Treat Chaos Monkey as the idea that started chaos engineering, and run your own experiments with a tool that has stop conditions and rollback, starting outside production. Random failure proves that recovery works, but a controlled experiment with a steady state, a hypothesis and guardrails gives the same lesson with far less risk to customers.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *