How AWS is powering Netflix?-Case Study

About Netflix:

Deepak Patra
6 min readSep 22, 2020

Netflix is a subscription-based streaming OTT service or we can say a Video on Demand(VOD) service which offers online streaming of a library of films and television programs, including those produced in-house. The company’s primary business is its subscription-based streaming service which offers online streaming of a library of films and television series, including those produced in-house.

In the streaming business, Netflix provides three types of membership streaming plans for their users that differ by quality and the number of screens at a time-Standard Definition Plan, High Definition Plan, Ultra-High Definition Plan.

Netflix is giving you a beautiful experience with no ads ruining within your TV shows. It’s main source of revenue is only subscriptions, which cost between $7.99 and $13.99 per month depending on your plan. This actually totals to about $950 million per month, according to the company’s earnings report. Netflix also earns through DVD rentals per month which is about $30 million approximately. From this, the profit or net income of the company falls near $42 million per month.

Overall, the company earned $8.82 billion in total revenue in 2016, and crossed $11 billion in total revenue. Netflix does not make any money through advertisement or commercials in its streaming services.

Challenges faced by Netflix….and why AWS??

At the beginning: In 2008 when Netflix suffered a major database corruption. Netflix was not the online media streaming service giant we know but predominantly a DVD-by-mail service and this corruption shook them to the root, causing a three-day disruption in the DVD shipping service.

At this point, the Netflix team recognized they need to move on from their existing relational databases in their data centre, also away from those single point of failures which can be so disruptive for their business. It was necessary to move all their data centers to the cloud to reduce the risk of the data loss or corruption which will in-turn minimize the risk of the disruption of the service they offered to their users. After thoughtful discussions, a wise decision was taken which led Netflix to Amazon Web Service, which became the partnership to envy for others in later years.

AWS was the perfect match for Netflix’s business. The AWS Cloud not only offered the greatest ability to scale — something which was critical for a business growing at their pace — but also the greatest portfolio of services. Netflix’s decision to move to the cloud was predominantly influenced by the rapidly increasing volumes of data they needed to handle. A glance at Netflix’s growth chart will tell us that Netflix user base has grown about 14 times since 2008 and data volume rise in the same period is second to none. A recent report suggests that Netflix is way ahead than Youtube and Facebook in terms of data consumption as 15% of total Internet bandwidth available is being used by Netflix, while the number gets bigger in America. (Source Statista).

Requirement of a large no. of servers:

With in-house physical data storage facility, the scalability to this volume would have been really difficult for them. Netflix team even admits that it would not have been possible for them to gather the number of servers required if they were to try and match this high speed of growth on their own. With AWS cloud to their aid, it became a matter of few clicks to add a bunch of virtual servers which would add an abundance of storage to match the need of scaling at this rate.

Business growth:

Around 2009 Netflix also realized that they are going to be a company that will provide various kind of entertainment, not only to the USA but all over the world. The availability of AWS cloud service and regions all over the world helped them in a big way. The availability of AWS cloud centers all over the world made sure that the latency of servers was not an issue while providing the world-class entertainment to the end users.

Along with this journey of Netflix and AWS together, they went on to set some rules that they followed in the process of shifting their data centers to AWS cloud which are now considered the standard rules in the field of cloud services. These standards help AWS provide the elasticity with the optimum utilization of the resources assigned while keeping the latency time to the minimum. This helps Netflix provide users the uninterrupted entertainment they want or expect to watch every time they log in to Netflix.

AWS was the perfect match for Netflix’s business. The AWS Cloud not only offered the greatest ability to scale — something which was critical for a business growing at their pace — but also the greatest portfolio of services. Netflix’s decision to move to the cloud was predominantly influenced by the rapidly increasing volumes of data they needed to handle. A glance at Netflix’s growth chart will tell us that

Going Strong: After a seven-year process of migration to the cloud, in January 2016 Netflix had moved all of its video streaming business to the cloud. However, the company still uses their own data centers for their DVD business. This transition took seven years because they rebuilt their entire software platform to make use of the AWS cloud network to its fullest. They also created ‘Chaos Monkey’, which is a set of tools to reduce damage in case of disruptions.

Netflix has been at the fore front of using public clouds (ec2, AWS) and NoSQL based persistence solutions (think CAP Theorem).
The Netflix Cloud Platform forms the layer of services, tools, frameworks and technologies that run on top of ec2/AWS in order to help implement an efficient and nimble (fast reacting), highly available, globally distributed, scalable and performant solution.

Netflix uses many regions of AWS now, mainly Oregon, Northern Virginia, and Dublin. If one of them goes down then Netflix channels the traffic to other available regions in a blink of an eye. Netflix also has multiple backups of all data which is also stored in AWS services, while Distributed database Cassandra stores the customer data with multiple replicas of each item.

Some AWS services used by Netflix:

EC2 :

Amazon EC2(Elastic Compute Cloud), one of Amazon Web Services’ most well-known services, offers businesses the ability to run applications on the public cloud. Developers can create instances of virtual machines and easily configure the capacity scaling of instances using the EC2 web interface.

EC2 also allows users to build apps to automate scaling according to changing needs and peak periods, and makes it simple to deploy virtual servers and manage storage, lessening the need to invest in hardware and helping streamline development processes.

Simple Storage Service (S3)

A service from Amazon is used to store primary backups of all the data. So any possible cause of disruption to their service, be it bugs or errors are dealt with the S3 backups.

These all services from AWS cloud make Netflix an uninterrupted entertainment experience. So next time you lie down on your couch, enjoying your favorite movie or TV show on Netflix, spare a thought of thankfulness for AWS, as if not for them, there wouldn’t be ‘THE NETFLIX!’

--

--