How it works · 44 of 49 Core

How did Netflix move to the cloud, and what is Chaos Monkey?

The cloud move and Chaos Monkey

Netflix: In August 2008 a database corruption in Netflix's own data centre stopped DVD shipping for three days. Netflix moved off "vertically scaled single points of failure" to many small, redundant servers in the cloud, and finished the move in January 2016. Redundancy only helps if it works, so Netflix tests it on purpose: Chaos Monkey switches off a random server in production, by default on weekdays between 9 and 3, when engineers are at their desks. A service that cannot lose one server is found in a drill, not by viewers at 3 a.m.

Loading the animation…

Say it like this Netflix moved from one big data centre to many small cloud servers, then proves the copies work by letting Chaos Monkey switch off random production servers on weekdays in office hours, so weak spots are found by engineers at their desks, not by viewers at night.

Under the hood — for builders
The source, in its words
Netflix, 2016: "we experienced a major database corruption and for three days could not ship DVDs to our members"; "we had to move away from vertically scaled single points of failure". The move finished "in early January, 2016, after seven years of diligent effort".
Terms
Single point of failure: one part whose loss stops everything. Redundancy: more than one copy of each part. Chaos engineering: breaking parts on purpose, in production, to check the copies work. Steady state: the measured output (for Netflix, streams playing) that should not move.
What Chaos Monkey does
README: it "randomly terminates virtual machine instances and containers that run inside of your production environment. Exposing engineers to failures more frequently incentivizes them to build resilient services." Default config: start_hour = 9, end_hour = 15, a schedule each weekday, a mean of two days between kills per group.
Run here: who finds the weak spot?
1,000 weak spots (a service left with one server). A real failure strikes on average every 30 days, at any hour; drills every 2 days, weekdays 9–3. Fix in office hours: 15 min; at night: 90. Rates are ours.
The method
Principles of Chaos Engineering (2019): define steady state, "Run Experiments in Production", "Automate Experiments to Run Continuously", "Minimize Blast Radius".
Measure it
Weak spots found by drills vs by incidents · streams playing during a drill (steady state) · night pages per month · days a lone copy lives.
Watch out
Start leashed (logged, not killed) and small; never without monitoring and a stop button. Drills prove one-server loss, not a region or bad data. Company writing, first-hand but not independent.
Sources
Izrailevsky, Vlaovic and Meshenberg, "Completing the Netflix Cloud Migration", Netflix, 12 Feb 2016 · Netflix, Chaos Monkey README and docs (GitHub) · Principles of Chaos Engineering, March 2019; all read in session · weak-spot simulation, Python, 19 Nov 2026.

What happens in the Netflix's cloud move and Chaos Monkey animation, step by step?

Run Chaos Monkey drills: No drills

  1. August 2008: a database corruption in Netflix's own data centre stopped DVD shipping for three days.
  2. The move: many small servers in the cloud, each service in more than one copy, so no one machine stops the show.
  3. But nobody has checked. At 3 a.m. on Saturday, playback's only server dies: the screens freeze and the on-call phone rings.
  4. Your turn: flip the switch, top right, to run the same week with drills.

Run Chaos Monkey drills: Drills

  1. Chaos Monkey switches off a random production server, weekdays 9 to 3. Playback had one copy: found at 11 a.m., fixed by engineers at their desks.
  2. The dial goes round, every weekday. Today a catalogue server goes; the other copies carry on and a fresh one starts.
  3. Saturday, 3 a.m.: a real playback server dies. The second copy is already there, and every screen keeps playing.
  4. Netflix finished the move in January 2016: eight times the 2008 members, near four nines. Next: WhatsApp.

What everyday example explains Netflix's cloud move and Chaos Monkey?

A fire drill run during business hours.

Why should a team care about Netflix's cloud move and Chaos Monkey?

Copies you never test are a guess. Killing servers on purpose, in office hours, turns "we think we survive this" into a fact checked every weekday.