Cloud Computing : AWS and Disney + Hotstar Case Study

Laveena Jethani
9 min readSep 22, 2020

--

What is Cloud Computing ?

Buying , Maintaining own datacenter and server is very difficult. All idea and startup need technology for implementation. Rather than using own computing we can use cloud computing. Cloud computing is the on-demand delivery of computing resources over the Internet with pay-as-we-go pricing. Cloud computing provide services like storage , servers, database , networking , Machine Learning, Game Development ,Analytics etc. Run business infrastructure more efficiently and scale business when it needs to change.

Cloud Computing

What are advantage of Cloud Computing?

Cost →

In setting up own datacenter it is very costly for startup companies. Buying , Maintaining server is cost huge . But cloud computing is fulfilling all requirement in lower cost with high efficiency.

Speed →

All services provided by cloud computing in very fast speed. Cloud services giving website for choosing and buying resources. In one mouse click we can launch OS according to our hardware/compute requirement.

Global scale →

It can be understand by one example if one startup company suppose name XYZ started business . Suddenly people start liking the products of XYZ company. Now more people attracting on XYZ company website. Requirement of running XYZ company got increased. By cloud computing we scale the business by increasing the number of hardware in 2–3 minutes. That’s why cloud computing is global scale provider.

Productivity →

On the data center we require lot of work for managing the hardware and software. So a startup company need to pay attention on data center . Rather than company focus on datacenter they can more focus on their business .Cloud computing remove all headache of maintaining data centers. And provided good facilities of maintaining data centers.

Performance →

The biggest cloud computing services run on a worldwide network of secure datacenters, which are regularly upgraded to the latest generation of fast and efficient computing hardware. This offers several benefits over a single corporate datacenter, including reduced network latency for applications and greater economies of scale.

Reliability →

Cloud computing providing data backups, disaster recovery with low cost. Cloud Computing is reliable for running the business.

Security →

Security is most important factor of running business. Maintaining private data and provide security to data is most important. Cloud Computing providing good security. Safe the personal details from cracker of the world.

Types Of Cloud Computing?

Public cloud

Public cloud mean provide service by other company for using their computing service. Public cloud like Amazon Web Services, Google Cloud ,Azure by Microsoft ,Alibaba Cloud etc. .They provide web application for maintaining cloud services.

public cloud

Private cloud

Private cloud mean company or organization itself maintaining their datacenters. Private cloud physically on their data center on company site.

Hybrid cloud

Hybrid Cloud is combination of private cloud and public cloud .Data and application share with both .By Hybrid cloud business become more flexible.

Hybrid Cloud

Types of service in cloud computing:

  • IaaS (Infrastructure-as-a-Service)
  • PaaS (Platform-as-a-Service)
  • SaaS (Software-as-a-Service)
  • FaaS (Functions as a Service )

Public Cloud Service Provider

There are some company which are providing cloud services like:

  • Amazon → Amazon Web Services
  • Google → Google Cloud Platform
  • Microsoft → Microsoft Azure Cloud
  • Oracle → Oracle Cloud
  • VMWare Cloud
  • Salesforce Cloud
Cloud service provider

Amazon Web Services

Amazon Web services is one the most popular cloud service provider in the world. Services of amazon web service are more efficient , more flexible and fastest services provider .Mostly all companies are using Amazon Web Services.

Amazon Web Services

Which company are using Amazon Web Services?

Now days almost all company are using Amazon Web Services for running their business.

  • Disney + Hotstar
  • Netflix
  • LinkedIn
  • Twitter
  • Adobe
  • Facebook
  • Slack etc..

Approx. all company companies are based on Amazon Web Service. Because of Amazon Web Services good services all company growing very fastly and providing good user experience with their products.

Customers Of AWS
Customers of AWS

Data Center of Amazon Web Services

Statement By Amazon Web Service on Data Centers

AWS data centers are secure by design and our controls make that possible. Before we build a data center, we spend countless hours considering potential threats and designing, implementing, and testing controls to ensure the systems, technology, and people we deploy counteract risk. To help you fulfill your own audit and regulatory requirements, we are providing you with insight into some of our physical and environmental controls below.

Regions And Availability Zone
Inside Data Center

What services provided by Amazon Web Services?

  • Compute
  • Storage
  • Satellite
  • Security, Identity, & Compliance
  • Quantum Technologies
  • Internet of Things
  • Robotics
  • Blockchain
  • Machine Learning
  • Database
  • Media Services
  • Containers
  • AR & VR
  • Networking & Content Delivery
  • Analytics
  • Game Development

And many more.

AWS services

Disney+ Hotstar Case Study

Disney+Hotstar

About Hotstar:

Disney+ Hotstar is an Indian subscription video on-demand streaming service owned and operated by Star India, a subsidiary of The Walt Disney Company India. It features two paid subscription plans — “VIP”, which focuses on domestic programmes and sports content (including Indian Premier League cricket), and “Premium” featuring premium international films and television series (including HBO, Showtime and other American original series).

As of March 2020, Disney+ Hotstar has at least 300 million active users.

In February 2020, following the purchase of Star India’s parent company 21st Century Fox by Disney in 2019, the company announced plans to integrate its new international streaming brand Disney+ with Hotstar in April 2020 — benefiting Hotstar’s existing infrastructure and userbase. On 3 April 2020, the platform was merged with Disney+.

Star India officially launched Hotstar in 11 February 2015 after fifteen months of development, coinciding with the upcoming 2015 Indian Premier League (for which Star had recently acquired the streaming rights). The ad-supported service initially featured a library of over 35,000 hours of content in seven regional languages, as well as live streaming coverage of sports such as cricket (deferred live), football, and kabaddi.

Steps for running live video streaming:

Step:1 Encoding Live Videos into a Stream able File Format

After storing video continuously into database we have to stream video .For streaming the video should be compressed. Compressing data because it easily can be streamed. Compressed data means converting gigabytes to megabytes.

After the compressing video data still needs to be packaged into a real-time transfer protocol (RTP) for delivery across the internet. As a large stream of continuous data, it needs to be broken up into small chunks, or information packets. These packets will later be recombined and decoded into a continuous signal by the media player. Many encoders use RTMP (Real time message protocol )as a standard for first-mile contribution.

Step:2 Delivering Streaming Media to Servers

After converting video into different file streamable format. It will send to the media server.

Step:3 Transcoding, Transizing, Transrating, and Transmuxing

Media servers ingress the stream from the encoder and convert the video as needed. Ingress meaning is the amount of data entering into the media server. Media servers can transcode the data into a new codec. They can transize the video into different resolutions and even transrate the data, creating different bitrates. Media servers can also repackage, or transmux, the data into different protocols. The data transferred out of a media server is known as egress.

→ After this step media server have to give good user experience .

Adaptive Bitrate Streaming

We want our live stream to reach as many viewers as possible, but they’re not all going to consume our stream in the same manner. Some viewers will have big screens, some will have mobile phones, some will be on amazing internet, and some could be on awful Wi-Fi or even LTE.

That’s where adaptive bitrate (ABR) streaming becomes so important. A media server creates ABR ‘renditions,’ which are like items on a menu consisting of all the different resolutions and bitrates created. Then, the technology playing the video can choose the best rendition for viewing based on the size of the screen and network bandwidth available — while dynamically switching between options as resources fluctuate. In short, ABR ensures our viewers have the best quality live stream for their viewing conditions.

Streaming Video to Any Device on Any Connection

Our viewers could be watching on a set-top box, through an internet browser, or viewing through an app on their mobile device. Depending on what they’re using, they might require a different protocol. While a set-top box connected to our TV may still use RTMP, our iPhone only accepts HLS and our browser player may be running MPEG DASH. Again, our media server can convert your live stream into whatever protocol is required, called transmuxing, and ensure delivery to our viewers no matter on which device they are viewing video.

There are more things a media server can do, too, such as injecting additional information, saving the stream as a video file, and doing similar conversions to the audio. And keep in mind, with one stream coming into a media server (ingest) and multiple renditions coming out (egress) we will need more bandwidth for egress to support a large audience.

Delivering Great Streaming Experiences to Audiences Around the World

Back to viewers. Because we don’t know where they’re located, there’s still the issue of distance. The farther they are from the media server, the longer it takes for the signal to get to them. That distance can cause latency and buffering.

To resolve some of these issues, many broadcasters employ a content delivery network (CDN). It’s a network of media servers spread all over the world that’s capable of handling large amounts of data. The servers closest to the viewer are called edge servers. The data stream is delivered throughout the network, finally connecting with viewers at the edge server closest to them.

Finally :

There are many steps including for live video streaming .All above steps which are mention for live video streaming can be done using Amazon Web Services very easily.

How Hotstar using AWS services for live streaming of video??

How Video Streaming app run using AWS
Live Streaming Of videos using AWS services

Thoughts of Jeff Bezos

I hope this article is helpful and informative and give idea about cloud computing ,How video streaming works and how by amazon web services we can create our live video streaming app.

Thank You

References:

Tushar Amin →Assistant voice president of Hotstar

--

--

Laveena Jethani
Laveena Jethani

Written by Laveena Jethani

Technical Blog Writer | Research & Review different technologies | ARTH learner

No responses yet