SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Case Study:
How Hulu reinvented Television
using the AWS Cloud
B e r t r a n d D a r n a u l t – S r . E n g i n e e r i n g M a n a g e r , H u l u
N o v e m b e r 2 8 , 2 0 1 7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ABOUT HULU
OFFERING
HISTORY
CULTURE
V O D & L I V E T V , A N Y W H E R E
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hulu’s offerings are simple - All your TV in one
place
Hulu with Live TVHulu Subscription
• Subscription Video-
On-Demand (SVOD)
with ads
• Subscription Video-
On-Demand (SVOD)
no ads
• Premium add-ons
$7.99/
month
$11.99/
month
• Digital MVPD with
SVOD
$39.99/
month
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We started in 2007, focused on creating unique
experience
Ad-Supported
VOD service,
desktop only
SVOD ad-
supported, more
content and
devices
Subscription
VOD ad-free
option added
LIVE TV launch
Hulu
2007
2007 201720162010
2016 20172010
Day After TV
You Tube TV
Premium add-ons
2013
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Before launching our live service:
• Pure dev-ops culture
• No dedicated 24/7 tech/network/broadcast
operations teams
• Everything running out of our data centers
We are a technology company first
Small, lean, young, creative, workforce
• ~260 engineers in 2014, now ~630
Almost everything built in-house:
• content management system
• transcoding farms
• advertising server and workflow tooling
• big data pipeline
• financial reporting tools
• recommendations platform
• billing & subscription management
systems
• teleconferencing service
• purchase order management system
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LIVE TV REINVENTED
LIVE TV INNOVATION @ HULU
OVERVIEW OF LIVE TV
TV EXPERIENCE
CHALLENGES
A U N I Q U E U S E R E X P E R I E N C E
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traditional Live TV Broadcast Hulu Live TV
At Hulu, we reinvented what Live TV is
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We consolidate contents from over 1000
channels, push them to AWS and distribute
Over 1000 linear channels today Live or On-Demand
• Store linear assets
• Store Hulu’s SVOD library
Distribution
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Many channels and devices to OneOne to Many
Real-time, personalized experience
A la VOD user experience
B e fore , TV was one stre am to many vie we rs.
T oday, we se rve mu ltip le stre ams to one u se r.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Discover relevant content
• Personalized list of *programs*
• Browse programs by category (ex:
sports, network)
Manage delivery of ads
• Freeze controls (no ad skipping)
• Ad countdown timer
• Dynamic ad insertion (to come)
1
2
Personalization and ad-control are key elements
for Live Linear Over-the-Top (OTT) user experience
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5 main challenges with delivering Live TV
Program
Content Content
National
Ad
Local
Ad
Local
Ad
Local
Ad
1
Content Security
Commercial DRM
on all devices
2 Large scale DASH
live rollout
3 Multi-source Configuration
500 Days
4 # of days to launch
the Live service
5
Use of linear ad markers
Prevent ad skipping
One of the earliest
LIVE deployment –
one of the first in the
industry
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LIVE TV IN AWS
PIPELINE INTRODUCTION
AWS ARCHITECTURE OVERVIEW
PACKAGING
STORAGE
DELIVERY
LESSONS LEARNED
B U I L D I N G A S C A L A B L E L I V E V I D E O P I P E L I N E I N A W S
• Source: M2TS to HLS, or pre-encoded HLS
• Stream: 5s segments, 8-profile layer up to
720p@60fps
• Manifest: M3U8 decorated with SCTE-35
markers
• Publishing: HTTPS to Hulu in AWS (EC2)
Why HLS contribution? Lowest common denominator
We built a live pipeline from scratch and used
AWS to support Hulu backend
• Periods in MPD
for content & ads
• In-band captions
(CEA-608 in SEI)
• Nielsen “ID3”
tags in MP4
EMSG
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Architecture to support Live TV backend
Virtual
Private
gateway
Amazon
S3
RDS Aurora MySql
Master
Amazon
CloudFront
Internet
users
Availability Zone
Packaging
Service
EC2 instances EC2 instances
Metadata Store;
temporary
Persistent (Live
Media DB)
Manifest
Service
RDS Aurora MySql
Read Replica
Availability Zone
Packaging
Service
EC2 instances
Metadata Store:
temporary
Persistent (Live
Media DB Manifest
Service
EC2 instances
Internet
gateway
Internet
DX
or
Us-West-2
Live Video Segments
[TS + Fairplay (HLS)
MP4 CEML (DASH)]
HLS TS + M3U8
w/ SCTE 35
markers
HLS TS + M3U8
w/ SCTE 35
markers
Segme
ntData
Segme
ntData
Persistent
Write
Manifest
(M3u8
MPD)
Segments
(TS, MP4)
ReplicatedStorage
Encoding
Vendor 1
Encoding
Vendor 2
Multi-AZ ALB
DX
Multi-AZ ALB
Stack for N Channels
cache
cache
• Source: M2TS to HLS, or pre-encoded HLS
• Stream: 5s segments, 8-profile layer up to
720p@60fps
• Manifest: M3U8 decorated with SCTE-35
markers
• Publishing: HTTPS to Hulu in AWS (EC2)
Hulu’s Live Backend – Part 1 Ingest/Packaging
• INGEST: on-the-fly encryption, remuxing and
manifest parsing
• INGEST: M3U8 parsed for segment
metadata, including SCTE-35 ad markers
• REPACKAGING: TS to MP4 w/ CENC for
DASH, encrypted to FairPlay for HLS
• Periods in MPD
for content & ads
• In-band captions
(CEA-608 in SEI)
• Nielsen “ID3”
tags in MP4
EMSG
Ingest
We needed good connectivity because repackaging encoder procures dumb
storage, resulting in longer time to process
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Architecture Part 1: Ingest and Packaging
traditional
server
traditional
server
Availability Zone
Repackaging Service
EC2
instances
Availability Zone
Repackaging Service
EC2
instances
Internet
or
HLS TS + M3U8
w/ SCTE 35 markers
HLS TS + M3U8
w/ SCTE 35 markers
Encoding
Vendor 1
Encoding
Vendor 2
DX
Multi-AZ ALB
DX
EC2 Instances were repackaging multiple formats by extracting source metadata from each
segment (4 seconds video segment)
• Source: M2TS to HLS, or pre-encoded HLS
• Stream: 5s segments, 8-profile layer up to
720p@60fps
• Manifest: M3U8 decorated with SCTE-35
markers
• Publishing: HTTPS to Hulu in AWS (EC2)
• STORAGE: TS & MP4 segments published
to Amazon S3
• Periods in MPD
for content & ads
• In-band captions
(CEA-608 in SEI)
• Nielsen “ID3”
tags in MP4
EMSG
storage
Hulu’s Live Pipeline – Part 2 Storage
S3 can have spikes in nominal latency. With Live TV, we couldn’t afford having any latency.
We measured S3 publishing by size of the files that led us building a complex re-try logic.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Architecture Part 2: Storage
RedisCache
Availability Zone
EC2
instances
Availability Zone
EC2
instances
Multi-AZ ALB
RDS Aurora
MySql Master
Metadata Store;
temporary
RedisCache
RDS Aurora MySql
Read Replica
Metadata Store;
temporary
Replicated Storage
Live Video Segments
[TS + Fairplay(HLS) MP4CEML (DASH)]
• Source: M2TS to HLS, or pre-encoded HLS
• Stream: 5s segments, 8-profile layer up to
720p@60fps
• Manifest: M3U8 decorated with SCTE-35
markers
• Publishing: HTTPS to Hulu in AWS (EC2)
Hulu’s Live Pipeline – Part 3 Manifest/Delivery
• MANIFEST/DELIVERY: Manifests generated
on-the-fly, but cached in app & CDN
• Periods in MPD
for content & ads
• In-band captions
(CEA-608 in SEI)
• Nielsen “ID3”
tags in MP4
EMSG
Ingest
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Architecture Part 3: Manifest/Delivery
RedisCache
Availability Zone
EC2
instances
Availability Zone
EC2
instances
Multi-AZ ALB
RDS Aurora
MySql Master
Metadata
Store;
temporary
RedisCache
RDS Aurora MySql
Read Replica
Metadata
Store;
temporary
Replicated Storage
Live Video Segments
[TS + Fairplay(HLS) MP4CEML (DASH)]
Manifest
Service
Manifest
Service
RedisCache
RedisCache
EC2
instances
EC2
instances
Amazon
CloudFront
Internet
users
Manifest
(M3u8MPD)
Segments
(TS, MP4)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We were successful at launch. Now, we are
getting ready to expand.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lessons Learned on Live TV
 You can’t fix things later with Live TV. Measure every step to
define a critical condition versus small issues
 the measurements taken for segment reporting led to complex
re-try logic of S3
 You need to have an in-depth understanding of AWS services on
various limits and capabilities
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS PARTNERSHIP
TECHNICAL ADVISORY
PROFESSIONAL SERVICES (PROSERVE)
OPERATIONAL READINESS (ORR)
READY TO LAUNCH (IEM)
B E Y O N D T H E T O O L S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We couldn’t do this without AWS teams
Technical
Advisory
IEM
Professional
Services
Infrastructure
Event Management
from AWS Support
provided 24x7
always-on support
Collective AWS Teams
AWS Professional
Services
consultants
accelerated delivery
Trusted Advisor
from AWS Support
gave us objective
recommendations
Hulu
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS was more than the tools
- AWS became a true partner starting with the design phase to find a best
solution
- Professional Services engaged just 2 weeks before the launch and helped
us accelerate the implementations of the design
- Once it was Prod and Watch ready, AWS ensured that there was a common
Operational Readiness Review (AWS Internal Product Launch Process) from
start to finish, side by side at our Infrastructure management war room
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!
C o n t a c t : b e r t @ h u l u . c o m
HULU LIVE TV

Mais conteúdo relacionado

Mais procurados

CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksAmazon Web Services
 
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...Amazon Web Services
 
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...Amazon Web Services
 
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Amazon Web Services
 
DEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationDEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationAmazon Web Services
 
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...Amazon Web Services
 
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...Amazon Web Services
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityAmazon Web Services
 
ARC331_How I Made My Motorbike Talk
ARC331_How I Made My Motorbike TalkARC331_How I Made My Motorbike Talk
ARC331_How I Made My Motorbike TalkAmazon Web Services
 
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...Amazon Web Services
 
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Amazon Web Services
 
CMP315_Optimizing Network Performance for Amazon EC2 Instances
CMP315_Optimizing Network Performance for Amazon EC2 InstancesCMP315_Optimizing Network Performance for Amazon EC2 Instances
CMP315_Optimizing Network Performance for Amazon EC2 InstancesAmazon Web Services
 
DEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesDEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesAmazon Web Services
 
MCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfMCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfAmazon Web Services
 
Storage State of the Union - STG201 - re:Invent 2017
Storage State of the Union - STG201 - re:Invent 2017Storage State of the Union - STG201 - re:Invent 2017
Storage State of the Union - STG201 - re:Invent 2017Amazon Web Services
 
DAT341_Working with Amazon ElastiCache for Redis
DAT341_Working with Amazon ElastiCache for RedisDAT341_Working with Amazon ElastiCache for Redis
DAT341_Working with Amazon ElastiCache for RedisAmazon Web Services
 
MCL310_Building Deep Learning Applications with Apache MXNet and Gluon
MCL310_Building Deep Learning Applications with Apache MXNet and GluonMCL310_Building Deep Learning Applications with Apache MXNet and Gluon
MCL310_Building Deep Learning Applications with Apache MXNet and GluonAmazon Web Services
 
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...Amazon Web Services
 
GPSTEC308-the Ultimate View of Tenant Consumption
GPSTEC308-the Ultimate View of Tenant ConsumptionGPSTEC308-the Ultimate View of Tenant Consumption
GPSTEC308-the Ultimate View of Tenant ConsumptionAmazon Web Services
 

Mais procurados (19)

CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash Talks
 
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
 
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
 
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
 
DEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationDEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormation
 
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...
Learn How AWS is Enabling the World's Most Advanced Media Workflows - CTD202 ...
 
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...
MBL209_Learn How MicroStrategy on AWS is Helping Vivint Solar Deliver Clean E...
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
 
ARC331_How I Made My Motorbike Talk
ARC331_How I Made My Motorbike TalkARC331_How I Made My Motorbike Talk
ARC331_How I Made My Motorbike Talk
 
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...
MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A...
 
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
 
CMP315_Optimizing Network Performance for Amazon EC2 Instances
CMP315_Optimizing Network Performance for Amazon EC2 InstancesCMP315_Optimizing Network Performance for Amazon EC2 Instances
CMP315_Optimizing Network Performance for Amazon EC2 Instances
 
DEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesDEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to Microservices
 
MCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfMCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdf
 
Storage State of the Union - STG201 - re:Invent 2017
Storage State of the Union - STG201 - re:Invent 2017Storage State of the Union - STG201 - re:Invent 2017
Storage State of the Union - STG201 - re:Invent 2017
 
DAT341_Working with Amazon ElastiCache for Redis
DAT341_Working with Amazon ElastiCache for RedisDAT341_Working with Amazon ElastiCache for Redis
DAT341_Working with Amazon ElastiCache for Redis
 
MCL310_Building Deep Learning Applications with Apache MXNet and Gluon
MCL310_Building Deep Learning Applications with Apache MXNet and GluonMCL310_Building Deep Learning Applications with Apache MXNet and Gluon
MCL310_Building Deep Learning Applications with Apache MXNet and Gluon
 
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...
CTD307_Case Study How Mobile Device Service Company Asurion Architected Its A...
 
GPSTEC308-the Ultimate View of Tenant Consumption
GPSTEC308-the Ultimate View of Tenant ConsumptionGPSTEC308-the Ultimate View of Tenant Consumption
GPSTEC308-the Ultimate View of Tenant Consumption
 

Semelhante a CTD302_How Hulu reinvented Television using the AWS Cloud

ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...
ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...
ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...Amazon Web Services
 
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...Amazon Web Services
 
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...Amazon Web Services
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Amazon Web Services
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsAmazon Web Services
 
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017Amazon Web Services
 
Capture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorCapture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorAmazon Web Services
 
ARC330_How the BBC Built a Massive Media Pipeline Using Microservices
ARC330_How the BBC Built a Massive Media Pipeline Using MicroservicesARC330_How the BBC Built a Massive Media Pipeline Using Microservices
ARC330_How the BBC Built a Massive Media Pipeline Using MicroservicesAmazon Web Services
 
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in Minutes
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in MinutesSRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in Minutes
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in MinutesAmazon Web Services
 
LA M and E Symposium Nov 2017 All decks.pdf
LA M and E Symposium Nov 2017 All decks.pdfLA M and E Symposium Nov 2017 All decks.pdf
LA M and E Symposium Nov 2017 All decks.pdfAmazon Web Services
 
How Netflix Encodes at Scale - CMP309 - re:Invent 2017
How Netflix Encodes at Scale - CMP309 - re:Invent 2017How Netflix Encodes at Scale - CMP309 - re:Invent 2017
How Netflix Encodes at Scale - CMP309 - re:Invent 2017Amazon Web Services
 
CTD303_Korea’s Largest OTT provider
CTD303_Korea’s Largest OTT providerCTD303_Korea’s Largest OTT provider
CTD303_Korea’s Largest OTT providerAmazon Web Services
 
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Amazon Web Services
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemAmazon Web Services
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemAmazon Web Services
 
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...Amazon Web Services Korea
 
Announcing AWS Elemental MediaConnect: The Latest AWS Media Service
Announcing AWS Elemental MediaConnect: The Latest AWS Media ServiceAnnouncing AWS Elemental MediaConnect: The Latest AWS Media Service
Announcing AWS Elemental MediaConnect: The Latest AWS Media ServiceAmazon Web Services
 
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...Amazon Web Services
 
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...Amazon Web Services
 

Semelhante a CTD302_How Hulu reinvented Television using the AWS Cloud (20)

ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...
ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...
ARC311_Serverless Encoding at Scale with Content Moderation via Deep Learning...
 
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...
NEW LAUNCH! Hear how the Pac-12 is using AWS Elemental MediaStore and explore...
 
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
NEW LAUNCH! Build your own live streaming and on-demand video service with AW...
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video Workflows
 
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017
How Amazon Is Moving to Amazon Chime - BAP204 - re:Invent 2017
 
Capture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public SectorCapture and Stream Live and On-Demand Video for the Public Sector
Capture and Stream Live and On-Demand Video for the Public Sector
 
ARC330_How the BBC Built a Massive Media Pipeline Using Microservices
ARC330_How the BBC Built a Massive Media Pipeline Using MicroservicesARC330_How the BBC Built a Massive Media Pipeline Using Microservices
ARC330_How the BBC Built a Massive Media Pipeline Using Microservices
 
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in Minutes
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in MinutesSRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in Minutes
SRV314_Building a Serverless Pipeline to Transcode a Two-Hour Video in Minutes
 
LA M and E Symposium Nov 2017 All decks.pdf
LA M and E Symposium Nov 2017 All decks.pdfLA M and E Symposium Nov 2017 All decks.pdf
LA M and E Symposium Nov 2017 All decks.pdf
 
How Netflix Encodes at Scale - CMP309 - re:Invent 2017
How Netflix Encodes at Scale - CMP309 - re:Invent 2017How Netflix Encodes at Scale - CMP309 - re:Invent 2017
How Netflix Encodes at Scale - CMP309 - re:Invent 2017
 
CTD303_Korea’s Largest OTT provider
CTD303_Korea’s Largest OTT providerCTD303_Korea’s Largest OTT provider
CTD303_Korea’s Largest OTT provider
 
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
 
Announcing AWS Elemental MediaConnect: The Latest AWS Media Service
Announcing AWS Elemental MediaConnect: The Latest AWS Media ServiceAnnouncing AWS Elemental MediaConnect: The Latest AWS Media Service
Announcing AWS Elemental MediaConnect: The Latest AWS Media Service
 
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...
Case Study: Learn how to Choose and Optimize Storage for Media and Entertainm...
 
AWS Elemental and cloud
AWS Elemental and cloudAWS Elemental and cloud
AWS Elemental and cloud
 
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

CTD302_How Hulu reinvented Television using the AWS Cloud

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Case Study: How Hulu reinvented Television using the AWS Cloud B e r t r a n d D a r n a u l t – S r . E n g i n e e r i n g M a n a g e r , H u l u N o v e m b e r 2 8 , 2 0 1 7
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ABOUT HULU OFFERING HISTORY CULTURE V O D & L I V E T V , A N Y W H E R E
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hulu’s offerings are simple - All your TV in one place Hulu with Live TVHulu Subscription • Subscription Video- On-Demand (SVOD) with ads • Subscription Video- On-Demand (SVOD) no ads • Premium add-ons $7.99/ month $11.99/ month • Digital MVPD with SVOD $39.99/ month
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We started in 2007, focused on creating unique experience Ad-Supported VOD service, desktop only SVOD ad- supported, more content and devices Subscription VOD ad-free option added LIVE TV launch Hulu 2007 2007 201720162010 2016 20172010 Day After TV You Tube TV Premium add-ons 2013
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Before launching our live service: • Pure dev-ops culture • No dedicated 24/7 tech/network/broadcast operations teams • Everything running out of our data centers We are a technology company first Small, lean, young, creative, workforce • ~260 engineers in 2014, now ~630 Almost everything built in-house: • content management system • transcoding farms • advertising server and workflow tooling • big data pipeline • financial reporting tools • recommendations platform • billing & subscription management systems • teleconferencing service • purchase order management system
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LIVE TV REINVENTED LIVE TV INNOVATION @ HULU OVERVIEW OF LIVE TV TV EXPERIENCE CHALLENGES A U N I Q U E U S E R E X P E R I E N C E
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traditional Live TV Broadcast Hulu Live TV At Hulu, we reinvented what Live TV is
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We consolidate contents from over 1000 channels, push them to AWS and distribute Over 1000 linear channels today Live or On-Demand • Store linear assets • Store Hulu’s SVOD library Distribution
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Many channels and devices to OneOne to Many Real-time, personalized experience A la VOD user experience B e fore , TV was one stre am to many vie we rs. T oday, we se rve mu ltip le stre ams to one u se r.
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Discover relevant content • Personalized list of *programs* • Browse programs by category (ex: sports, network) Manage delivery of ads • Freeze controls (no ad skipping) • Ad countdown timer • Dynamic ad insertion (to come) 1 2 Personalization and ad-control are key elements for Live Linear Over-the-Top (OTT) user experience
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5 main challenges with delivering Live TV Program Content Content National Ad Local Ad Local Ad Local Ad 1 Content Security Commercial DRM on all devices 2 Large scale DASH live rollout 3 Multi-source Configuration 500 Days 4 # of days to launch the Live service 5 Use of linear ad markers Prevent ad skipping One of the earliest LIVE deployment – one of the first in the industry
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LIVE TV IN AWS PIPELINE INTRODUCTION AWS ARCHITECTURE OVERVIEW PACKAGING STORAGE DELIVERY LESSONS LEARNED B U I L D I N G A S C A L A B L E L I V E V I D E O P I P E L I N E I N A W S
  • 13. • Source: M2TS to HLS, or pre-encoded HLS • Stream: 5s segments, 8-profile layer up to 720p@60fps • Manifest: M3U8 decorated with SCTE-35 markers • Publishing: HTTPS to Hulu in AWS (EC2) Why HLS contribution? Lowest common denominator We built a live pipeline from scratch and used AWS to support Hulu backend • Periods in MPD for content & ads • In-band captions (CEA-608 in SEI) • Nielsen “ID3” tags in MP4 EMSG
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Architecture to support Live TV backend Virtual Private gateway Amazon S3 RDS Aurora MySql Master Amazon CloudFront Internet users Availability Zone Packaging Service EC2 instances EC2 instances Metadata Store; temporary Persistent (Live Media DB) Manifest Service RDS Aurora MySql Read Replica Availability Zone Packaging Service EC2 instances Metadata Store: temporary Persistent (Live Media DB Manifest Service EC2 instances Internet gateway Internet DX or Us-West-2 Live Video Segments [TS + Fairplay (HLS) MP4 CEML (DASH)] HLS TS + M3U8 w/ SCTE 35 markers HLS TS + M3U8 w/ SCTE 35 markers Segme ntData Segme ntData Persistent Write Manifest (M3u8 MPD) Segments (TS, MP4) ReplicatedStorage Encoding Vendor 1 Encoding Vendor 2 Multi-AZ ALB DX Multi-AZ ALB Stack for N Channels cache cache
  • 15. • Source: M2TS to HLS, or pre-encoded HLS • Stream: 5s segments, 8-profile layer up to 720p@60fps • Manifest: M3U8 decorated with SCTE-35 markers • Publishing: HTTPS to Hulu in AWS (EC2) Hulu’s Live Backend – Part 1 Ingest/Packaging • INGEST: on-the-fly encryption, remuxing and manifest parsing • INGEST: M3U8 parsed for segment metadata, including SCTE-35 ad markers • REPACKAGING: TS to MP4 w/ CENC for DASH, encrypted to FairPlay for HLS • Periods in MPD for content & ads • In-band captions (CEA-608 in SEI) • Nielsen “ID3” tags in MP4 EMSG Ingest We needed good connectivity because repackaging encoder procures dumb storage, resulting in longer time to process
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Architecture Part 1: Ingest and Packaging traditional server traditional server Availability Zone Repackaging Service EC2 instances Availability Zone Repackaging Service EC2 instances Internet or HLS TS + M3U8 w/ SCTE 35 markers HLS TS + M3U8 w/ SCTE 35 markers Encoding Vendor 1 Encoding Vendor 2 DX Multi-AZ ALB DX EC2 Instances were repackaging multiple formats by extracting source metadata from each segment (4 seconds video segment)
  • 17. • Source: M2TS to HLS, or pre-encoded HLS • Stream: 5s segments, 8-profile layer up to 720p@60fps • Manifest: M3U8 decorated with SCTE-35 markers • Publishing: HTTPS to Hulu in AWS (EC2) • STORAGE: TS & MP4 segments published to Amazon S3 • Periods in MPD for content & ads • In-band captions (CEA-608 in SEI) • Nielsen “ID3” tags in MP4 EMSG storage Hulu’s Live Pipeline – Part 2 Storage S3 can have spikes in nominal latency. With Live TV, we couldn’t afford having any latency. We measured S3 publishing by size of the files that led us building a complex re-try logic.
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Architecture Part 2: Storage RedisCache Availability Zone EC2 instances Availability Zone EC2 instances Multi-AZ ALB RDS Aurora MySql Master Metadata Store; temporary RedisCache RDS Aurora MySql Read Replica Metadata Store; temporary Replicated Storage Live Video Segments [TS + Fairplay(HLS) MP4CEML (DASH)]
  • 19. • Source: M2TS to HLS, or pre-encoded HLS • Stream: 5s segments, 8-profile layer up to 720p@60fps • Manifest: M3U8 decorated with SCTE-35 markers • Publishing: HTTPS to Hulu in AWS (EC2) Hulu’s Live Pipeline – Part 3 Manifest/Delivery • MANIFEST/DELIVERY: Manifests generated on-the-fly, but cached in app & CDN • Periods in MPD for content & ads • In-band captions (CEA-608 in SEI) • Nielsen “ID3” tags in MP4 EMSG Ingest
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Architecture Part 3: Manifest/Delivery RedisCache Availability Zone EC2 instances Availability Zone EC2 instances Multi-AZ ALB RDS Aurora MySql Master Metadata Store; temporary RedisCache RDS Aurora MySql Read Replica Metadata Store; temporary Replicated Storage Live Video Segments [TS + Fairplay(HLS) MP4CEML (DASH)] Manifest Service Manifest Service RedisCache RedisCache EC2 instances EC2 instances Amazon CloudFront Internet users Manifest (M3u8MPD) Segments (TS, MP4)
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We were successful at launch. Now, we are getting ready to expand.
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lessons Learned on Live TV  You can’t fix things later with Live TV. Measure every step to define a critical condition versus small issues  the measurements taken for segment reporting led to complex re-try logic of S3  You need to have an in-depth understanding of AWS services on various limits and capabilities
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS PARTNERSHIP TECHNICAL ADVISORY PROFESSIONAL SERVICES (PROSERVE) OPERATIONAL READINESS (ORR) READY TO LAUNCH (IEM) B E Y O N D T H E T O O L S
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We couldn’t do this without AWS teams Technical Advisory IEM Professional Services Infrastructure Event Management from AWS Support provided 24x7 always-on support Collective AWS Teams AWS Professional Services consultants accelerated delivery Trusted Advisor from AWS Support gave us objective recommendations Hulu
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS was more than the tools - AWS became a true partner starting with the design phase to find a best solution - Professional Services engaged just 2 weeks before the launch and helped us accelerate the implementations of the design - Once it was Prod and Watch ready, AWS ensured that there was a common Operational Readiness Review (AWS Internal Product Launch Process) from start to finish, side by side at our Infrastructure management war room
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU! C o n t a c t : b e r t @ h u l u . c o m HULU LIVE TV