# Netflix to AWS: The Seven-Year Cloud Migration | gen2.dev

> A 2008 outage stopped Netflix shipping DVDs for three days. It spent seven years rebuilding its streaming service for AWS, finishing in 2016.

Source: https://gen2.dev/cases/netflix-cloud-migration/

---

Case file 26

# Netflix to the cloud: seven years to leave the data center

In August 2008 an outage in Netflix's own data center stopped DVD shipments for days. The company decided to leave its data centers for Amazon Web Services, and to rebuild its software for the cloud instead of copying it there. The move took seven years, and the service kept running and growing for all of them.

![Slide: the August 2008 outage that stopped DVD shipping for three days, systems rebuilt for the cloud one at a time, and the last data center systems switched off in January 2016.](https://gen2.dev/img/case-netflix-cloud-migration.png)

[Twitter](https://gen2.dev/cases/twitter-jvm/) replaced its application one piece at a time and never scheduled a switch-off day. Netflix did the same thing with something larger: the application, the databases under it and the buildings they ran in.

## Gen 1

In 2008 Netflix ran its business from its own data centers. The software was the kind most companies had at the time. Netflix's cloud architect, Adrian Cockcroft, later described it in a slide as a "complex tangled datacenter code base (~8 year old architecture)." Another of his slides lists its parts: a "Central SQL Database," "Tangled Service Interfaces" and "Components as Jar Files." Netflix's own 2016 account calls it "a monolithic app."

In August 2008 that arrangement failed in public. Computerworld reported that Netflix "struggled with the shipping problem between Aug. 11 and Aug. 15." Netflix's own summary, written in 2016: "we experienced a major database corruption and for three days could not ship DVDs to our members."

The two accounts differ on the cause. At the time, Netflix said that it had first suspected a corrupted database and then traced the fault to "a key faulty hardware component," which it did not name. The 2016 post calls the event a database corruption. Either way, one component in one place had stopped the business.

## The decision

Netflix drew a specific conclusion from the outage. The 2016 post says the company had to move away from "vertically scaled single points of failure," like the relational databases in its data center, toward "highly reliable, horizontally scalable, distributed systems in the cloud." It chose Amazon Web Services (AWS) as its provider.

There was a second reason, and it was about growth. Cockcroft's April 2011 slides say Netflix could not build data centers fast enough, and that capacity growth was "accelerating, unpredictable." Another slide states the position in one line: "We want to use clouds, not build them."

The decision that set the schedule was how to move. The quick way, in Netflix's words, is to "forklift all of the systems, unchanged, out of the data center and drop them in AWS." Netflix turned that down, because it carries every limitation of the data center along with it. The company chose to rebuild virtually all of its technology for the cloud. Cockcroft's slides give the reason in five words: "Un-modified Datacenter Apps are Fragile."

## What happened

The move went system by system, and the data center stayed in service throughout.

-   **2010.** Cockcroft's abstract for a conference talk that year says: "Over the last year, Netflix has migrated its website and streaming service" to the Amazon public cloud. Computerworld reported in January 2011 that most customer-facing applications had moved, including the website, search, recommendations and video streaming.
-   **By 2015.** The 2016 post: "The majority of our systems, including all customer-facing services, had been migrated to the cloud prior to 2015."
-   **Last.** Billing, and the management of customer and employee data, were moved after that, with what Netflix describes as care over a secure and durable path.
-   **Early January 2016.** Netflix shut down the last data center systems used by its streaming service.

It was not easy, and Netflix said so at the time. John Ciancutti, a vice president of engineering, called the first year a "Herculean effort" and wrote of "dark days as we struggled with the sheer size of the task." Cloud resources are shared with other customers, and Netflix had to handle hardware failures and slow response times. His summary: "Co-tenancy is hard."

The answer was to design for failure. Netflix built Chaos Monkey, which the Software Engineering Institute describes as "a script that runs continually in all Netflix environments" and randomly shuts down server instances. A July 2011 slide gives its hours: "Monday-Thursday 9am-3pm random instance kill." It was the first of a set of tools known as the Simian Army. The institute credits the practice with helping Netflix get through "the 9/25/14 reboot of 10 percent of AWS servers without issue."

On January 6, 2016, in the same month the last streaming systems left the data center, Netflix "expanded its service to over 130 new countries."

## What changed along the way

The 2016 post is clear that the location of the servers was the smallest part of the change.

-   **Architecture.** In its words, "we migrated from a monolithic app to hundreds of micro-services."
-   **Data.** The central relational database gave way to NoSQL databases and a denormalized data model. Cockcroft's slide shows the same change as "Central SQL Database" becoming "Distributed Key/Value NoSQL."
-   **Process.** Budget approvals, centrally coordinated releases and hardware that took weeks to arrive gave way to continuous delivery by teams that run their own services.

"Many new systems had to be built, and new skills learned," the authors wrote. That, by their account, is where the seven years went.

## What made it work

-   **Gen 1 kept running.** Nothing was switched off until its replacement was carrying the load. This is [the strangler fig](https://gen2.dev/guide/strangler-fig/) applied to a whole company, and it meant years of [running two systems](https://gen2.dev/guide/running-two-systems/).
-   **The riskiest systems went last.** Customer-facing services moved first. Billing moved at the end, after the company had years of practice.
-   **Each system was rebuilt, not copied.** The slow path was the point. A copy would have moved the single points of failure to someone else's building.
-   **Failure was rehearsed.** Killing instances during working hours made resilience a daily requirement and not an assumption.
-   **Gen 1 was actually switched off.** The post's first claim is that the last data center systems were shut down. Many migrations never reach that step, as [killing Gen 1](https://gen2.dev/guide/killing-gen-1/) describes.

## The verdict

It worked. The 2016 post reports eight times as many streaming members as in 2008, with overall viewing up by three orders of magnitude in eight years. It says availability rose steadily toward the company's goal of four nines of uptime. It adds that cost was not the main reason to move, but that cloud costs per streaming start "ended up being a fraction of those in the data center."

Two cautions belong with that. The figures are Netflix's own. And the cloud did not remove failure. The same post says: "Failures are unavoidable in any large scale distributed system, including a cloud-based one."

Seven years is a long time. The authors put the question to themselves: "why did it take us a full seven years to complete the migration?" Their answer is that the rebuild was the work, and the move was only what made it visible.

## What to take from it

-   **Decide whether the project is a move or a rebuild.** They have very different schedules. Netflix chose the rebuild knowing that.
-   **Move in slices, with the old system still serving.** No single day had to go right.
-   **Leave the systems of record for last.** Billing is the worst place to learn a new platform.
-   **Practice failure before it arrives.** A system that survives a deliberate outage on a Tuesday afternoon is more likely to survive a real one.
-   **Finish.** The migration is over when the old system is off, and not before.

## Sources

1.  [Yury Izrailevsky, Stevan Vlaovic and Ruslan Meshenberg - Completing the Netflix Cloud Migration (Netflix, February 2016)](https://about.netflix.com/en/news/completing-the-netflix-cloud-migration) - Netflix's own account: the 2008 outage, the reasons, why it took seven years, what changed and when it finished
2.  [Juan Perez - Netflix: Hardware flaw caused shipping mess (Computerworld, August 25, 2008)](https://www.computerworld.com/article/1320806/netflix-hardware-flaw-caused-shipping-mess.html) - the 2008 outage as reported at the time: the dates, the faulty hardware component and the company's statements
3.  [Adrian Cockcroft - Running Netflix in the Cloud (QCon San Francisco 2010, talk abstract)](https://qconsf.com/sf2010/speaker/Adrian+Cockcroft) - Netflix's cloud architect on the first year of the migration
4.  [Mitch Betts - Netflix Reveals Challenges in the Cloud (Computerworld, January 10, 2011)](https://www.computerworld.com/article/2549905/netflix-reveals-challenges-in-the-cloud.html) - what moved in 2010 and Netflix vice president John Ciancutti's description of the difficulties
5.  [Adrian Cockcroft - Netflix in the Cloud (slide deck, QCon Tokyo, April 12, 2011)](https://www.slideshare.net/slideshow/netflix-in-the-cloud-2011/7652318) - why Netflix left the data center, the goals, what had moved by April 2011 and what stayed behind
6.  [Adrian Cockcroft - Migrating Netflix from Datacenter Oracle to Global Cassandra (slide deck, July 11, 2011)](https://www.slideshare.net/slideshow/migrating-netflix-from-oracle-to-global-cassandra/8600029) - the old and new architectures side by side, and the Chaos Monkey schedule
7.  [C. Aaron Cois - DevOps Case Study: Netflix and the Chaos Monkey (Software Engineering Institute, Carnegie Mellon University, April 30, 2015)](https://sei.cmu.edu/blog/devops-case-study-netflix-and-the-chaos-monkey) - what Chaos Monkey does, the Simian Army, and the September 2014 AWS reboot

Last updated November 28, 2026.

## Scorecard

Worked

Gen 1

Netflix's own data centers: one large application on a central relational database, an architecture about eight years old by 2011

Gen 2

Hundreds of microservices on Amazon Web Services, with distributed NoSQL data stores and continuous delivery

Approach

Rebuild each system for the cloud and move it when ready, customer-facing services first and billing last, with the data center still in service

How long

Seven years: August 2008 to early January 2016

Verdict

The slowest way to move to the cloud, chosen on purpose, and it worked. Netflix moved one system at a time, rebuilt each one as it went, and switched off the old data center only when nothing was left in it.

## More case files

-   [Netscape 6](https://gen2.dev/cases/netscape-6/)
-   [Python 2 to 3](https://gen2.dev/cases/python-2-to-3/)
-   [Firefox Quantum](https://gen2.dev/cases/firefox-quantum/)
-   [Perl 6 and Raku](https://gen2.dev/cases/perl-6-raku/)
-   [AngularJS to Angular](https://gen2.dev/cases/angularjs-to-angular/)
-   [Windows Longhorn](https://gen2.dev/cases/windows-longhorn/)
-   [Digg v4](https://gen2.dev/cases/digg-v4/)
-   [Twitter to the JVM](https://gen2.dev/cases/twitter-jvm/)
-   [Basecamp](https://gen2.dev/cases/basecamp/)
-   [IPv4 to IPv6](https://gen2.dev/cases/ipv6/)
-   [VB6 to VB.NET](https://gen2.dev/cases/vb6-to-vb-net/)
-   [HTTP/2 and HTTP/3](https://gen2.dev/cases/http-2-and-3/)
-   [K-12 browser rewrite](https://gen2.dev/cases/k12-browser-rewrite/)
-   [Mac OS X](https://gen2.dev/cases/mac-os-x/)
-   [Microsoft Edge](https://gen2.dev/cases/edge-chromium/)
-   [Winamp3](https://gen2.dev/cases/winamp3/)
-   [Slack desktop](https://gen2.dev/cases/slack-desktop/)
-   [Evernote 10](https://gen2.dev/cases/evernote/)
-   [Uber rider app](https://gen2.dev/cases/uber-rider-app/)
-   [HealthCare.gov](https://gen2.dev/cases/healthcare-gov/)
-   [Thunderbird Supernova](https://gen2.dev/cases/thunderbird-supernova/)
-   [Skype](https://gen2.dev/cases/skype-cloud/)
-   [Sonos app (2024)](https://gen2.dev/cases/sonos-app-2024/)
-   [FBI Virtual Case File](https://gen2.dev/cases/fbi-virtual-case-file/)
-   [LinkedIn Inversion](https://gen2.dev/cases/linkedin-project-inversion/)
-   [TSB migration](https://gen2.dev/cases/tsb-migration/)
-   [Phoenix pay system](https://gen2.dev/cases/phoenix-pay/)
-   [Universal Credit](https://gen2.dev/cases/universal-credit/)
-   [Queensland Health payroll](https://gen2.dev/cases/queensland-health-payroll/)
-   [Facebook for iOS](https://gen2.dev/cases/facebook-native-ios/)
-   [New Microsoft Teams](https://gen2.dev/cases/microsoft-teams-2/)
-   [Dropbox to Python 3](https://gen2.dev/cases/dropbox-python-3/)
-   [Instagram to Python 3](https://gen2.dev/cases/instagram-python-3/)
-   [Discord Go to Rust](https://gen2.dev/cases/discord-go-to-rust/)
-   [Reddit Redesign](https://gen2.dev/cases/reddit-redesign/)
-   [GetPranks](https://gen2.dev/cases/getpranks/)
-   [37signals cloud exit](https://gen2.dev/cases/37signals-cloud-exit/)
-   [IRS Individual Master File](https://gen2.dev/cases/irs-individual-master-file/)
-   [All case files](https://gen2.dev/cases/)
