SlideShare a Scribd company logo
Building Highly Scalable Immersive Media Solutions on AWS
Building Highly Scalable Immersive
Media Solutions on AWS
Konstantin Wilms & Chad Schmutzer
Amazon Web Services
INTRODUCTION
Immersive Media in the Cloud
Origination Delivery
MULTI-CAMERA MEZ, LIVE
OR VOD CONTENT
B2C PLAYBACK TO CONSUMER
OR B2B DELIVERY
Encoding
CDN
Devices
Cost
Most of these can be tackled by utilizing media encoding and transport standards along
with best practice cloud design patterns for low latency, elastic, highly available infrastructure
Immersive Media Challenges
AWS
Marketplace
Amazon
Elastic Transcoder
Elemental
Technologies
AMI Model
Licensed S/W
Minimal Disruption
Proxies
Fast Integration
UGC & Prosumer
On-Prem & Cloud
Live, VOD, JIT
Professional
DIY BYO
PaaS / SaaS
BYOL
Self Contained
Custom Solutions
Media Processing on AWS
VOD
Workflow
G2
Distribution B2C
(Viewers)
Live
Workflow
G2
Archive
Source
Encoder
B2B
(Organizations)
A Cloud-Native Immersive Media Solution
 360 Live & VOD Pipeline
 Infrastructure as Code
 Optimized Service
Consumption
 Lowest Possible Cost
 Cloud Native Patterns
 100% Open Source
 Designed for Growth
 Reference Architecture
16 Regions – 42 Availability Zones – 68 Edge Locations Region & Number of Availability Zones
AWS GovCloud (2) EU
Ireland (3)
US West Frankfurt (2)
Oregon (3) London (2)
Northern California (3)
Asia Pacific
US East Singapore (2)
N. Virginia (5), Ohio (3) Sydney (2), Tokyo (3),
Seoul (2), Mumbai (2)
Canada
Central (2) China
Beijing (2)
South America
São Paulo (3)
…with Global Deployment Capability
Announced Regions
Paris, Ningxia
So where do we start?
BUILDING A PIPELINE
Mapping Services & Partners to an End to End Workflow
Ingest Store Transform Process
PUSH OR PULL
MEZ, LIVE & VOD
CREATE A CENTRALIZED
CONTENT LAKE ON S3
MEDIA DELIVERY AND/OR
HANDS-ON POSTPRODUCTION
SCALE OUT ON ELASTIC
CAPACITY FOR ALL PROCESSING
Ingest
PUSH OR PULL
MEZ, LIVE & VOD
AWS Services
 AWS Direct Connect: For high bandwidth, deterministic live media
 Amazon S3 Transfer Acceleration: Remote location ingest
 AWS Snowball: Petabyte scale data transfer (in and out)
 Amazon Cloudfront: Global content delivery network
 Elemental Appliances: On-prem video encode/prep for ingest
Partners
Media Ingest
AWS Services
 Amazon S3: Highly scalable, durable object storage
 Amazon Glacier: Secure, durable, petabyte-scale data archival
 Amazon EFS: Simple, elastic, scalable file system
 Amazon EBS: Persistent block storage
 AWS Marketplace: Partner solutions for storage (on/off-prem)
Partners
Store
CREATE A CENTRALIZED
CONTENT LAKE ON S3
Asset Storage
Transform
MEDIA DELIVERY AND/OR
HANDS-ON POSTPRODUCTION
AWS Services
 Amazon EC2: Scalable CPU/GPU computing capacity
 Amazon Workspaces: GPU accelerated desktops in the cloud
 AWS Marketplace: Partner solutions for storage (on/off-prem)
 Amazon Appstream: Run existing Windows Applications in the cloud
Partners
Content Transformation
Process
SCALE OUT ON ELASTIC
CAPACITY FOR ALL PROCESSING
AWS Services
 Amazon EC2 Spot: Low Cost spare GPU/CPU capacity at high scale
 AWS Batch: Fully managed batch processing at any scale
 Amazon ECS: High scale, high performance container management
 ThinkBox Deadline: Hassle-free scheduling for rendering & compute
 Elemental Cloud: On-demand, scalable video processing
Partners
Elastic Processing
What if we maximized EC2 Spot usage
…across the entire pipeline
VOD
Workflow
G2
Distribution B2C
(Viewers)
Live
Workflow
G2
Archive
Source
Encoder
B2B
(Organizations)
EC2 SPOT
Compute Capacity at Scale
On-Demand
Pay for compute
capacity by the hour
with no long-term
commitments
For spiky workloads,
or to define needs
AWS EC2 Consumption Models
Reserved
Make a low, one-time
payment and receive a
significant discount on
the hourly charge
For committed
utilization
Spot
Bid for unused capacity,
charged at a Spot Price
which fluctuates based
on supply and demand
For time-insensitive,
transient, or stateless
workloads
Spare Capacity at Scale
• AWS has more than a
million active customers
in 190 countries.
• Amazon EC2 instance
usage has increased 93%
YoY, comparing Q4 2014
and Q4 2013, not
including Amazon use.
EC2 Spot instances are
spare EC2 On-Demand capacity
with very simple rules…
What are EC2 Spot Instances?
Markets where the price of compute
changes based on supply and demand
You’ll never pay more than your bid.
When the market exceeds your bid you
get 2 minutes to wrap up your work
The Very Simple Rules of Spot
 Since Spot instances typically cost 50-90%
less than On-Demand, you can increase
your compute capacity by 2-10x within
the same budget
 Or you could save 50-90% on your
existing workload
 Either way, you should try it!
Get the Best Value for EC2 Capacity
AZ1
AZ2
Frankfurt Total Capacity
P2 C4 M4 I2 R4 D2
Shared
Dedicated
Shared
Dedicated
Understanding EC2 Capacity
$0.27 $0.29$0.50
2b 2cc2a
8XL
$0.30 $0.16$0.214XL
$0.07 $0.08$0.082XL
$0.05 $0.04$0.04XL
$0.01 $0.04$0.01L
C4
$1.76
On
Demand
$0.88
$0.44
$.22
$0.11
Each Instance Family
Each Instance Size
Each Availability Zone
In every Region
Is a separate Spot Market
Capacity & Spot Markets Recap
Bid Price vs. Market Price
50% Bid
75% Bid
You pay the
market price
25% Bid
Fault toleranceStateless Multi-AZ Loosely coupled
Instance
Flexibility
EC2 Spot Best Practices
~ 21% less than 1 hour
~ 35% less than 2 hours
~ 40% less than 3 hours
In total roughly 50% of all instances live
less than 6 hours
My Instances Cannot be Interrupted!
Using a single additional
parameter
Run continuously for
up to 6 hours
Save up to 50% off On-
Demand pricing
$1
EC2 Spot Blocks
 Requested 1000
vCores over 30 days
 Minimum 960 vCores
Mode 1024 vCores
Average 1012 vCores
 Average Price of $0.012
per vCore
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
250
350
450
550
650
750
850
950
1050
1150
Number of Cores Running Average Hourly Price Per Core  Savings of over 80%
Batch Processing with EC2 Spot
DESIGN
Media Protocols, Transports & Cloud Architecture Patterns
Source
Playout
http://bit.ly/2fRnwvv
 Secure Compute/Rest/In-Flight (SSM)
 Live & On-Demand (live recordings to VOD)
 RTMP live ingest (RTP-FEC optimal, i.e. 2022)
 Ingest – bitrate conform & pre-stitching
 4k, AVCI, HEVC, H264/AAC – HLS + DASH
 ‘Internet’ / Direct Connect Ingest
 EC2 Spot for transcode (& proxies!) using
dynamic CPU/GPU FFMPEG on NGINX
 ECS - Docker to abstract dependencies
 ForgeJS DASH, Clappr HTML5, Unity Mobile
 Origin-Based remap using FFMPEG (PGM) &
Facebook transform filters
End to End Media Requirements
 Infrastructure as Code – Error-Free Repeatability (Cloudformation)
 Event-Based Pipelines – NGINX & S3 bucket events (nVOD)
 Circuit Breaker Pattern – Proactively Drain ALBs (Spot)
 Origin Proxy Pattern - Edge@Origin (fan out processing)
 Service Discovery – via EC2 Instance Tagging, DNS
 Bootstrap / Container Pattern – immutable infrastructure
 Multi Server Pattern – Multi-AZ (automatically consume all AZs)
 Decoupling Pattern – asynchronous & resilient (SQS, SNS)
Cloud Architecture Patterns
SOLUTION ARCHITECTURE
Live & nVOD Immersive Media Delivery
Backup Origin
Primary Origin
G2
G2
Ingest
Bucket
S3 Events
SQS Queue
Source
Encoder
SPOT or
On-Demand
Edge Cache
Fleet
Failover
ALB CloudFront Viewers
Diversified
SPOT Fleet
G2
M4
Egress
Bucket
GPU / CPU
Reference Architecture Available Soon
(ask us!)
Thank You!

More Related Content

PDF
Securing Content in the Cloud
PPTX
Cloud Transition Patterns for Media Enterprises
PDF
Microservices for Startups - Donnie Prakoso - AWS - CC18
PPTX
AWS SSA Webinar 12 - Getting started on AWS with Containers
PDF
Aws container webinar day 2
PPTX
AWS Hybrid Cloud Connectivity - VPN Solutions
PPTX
Pitt Immersion Day Module 3 - networking in AWS
PDF
Chain of a_lifetime_december2014
Securing Content in the Cloud
Cloud Transition Patterns for Media Enterprises
Microservices for Startups - Donnie Prakoso - AWS - CC18
AWS SSA Webinar 12 - Getting started on AWS with Containers
Aws container webinar day 2
AWS Hybrid Cloud Connectivity - VPN Solutions
Pitt Immersion Day Module 3 - networking in AWS
Chain of a_lifetime_december2014

Viewers also liked (20)

PDF
World Bank IFC Financing Dairy Supply Chain in Africa: Successes and Failures
PPTX
Farm to Fork - A Supply Chain Perspective
PDF
Supply chain finance models Part 1: bank-agnostic models, bank-funded and man...
PPTX
Blockchain for Education - CHiLO Chain -
PPTX
New Practices and Opportunities in Supply Chain Finance
PPTX
Blockchain- how it could transform business
PDF
Blockchain in life sciences
PDF
BigchainDB: A Scalable Blockchain Database, In Python
PPTX
BLOCKCHAIN & THE HOLLYWOOD SUPPLY CHAIN
PPTX
Blockchain Health and Crypto Wellness Futures
PPTX
Financial supply chain management 2014
PPTX
Application of supply chain management in banking industry
PDF
Blockchain: the solution for transparency in product supply chains
PDF
Semantic Blockchains in the Supply Chain
PPT
Financial Supply Chain Management
PDF
Blockchain in 2016 - Advanced Distributed Ledger Technologies
PDF
Strategies for integrating semantic and blockchain technologies
PDF
Blockchain in Supply Chain Management: Fad or Potential?
PDF
How does a blockchain work?
PDF
Life@SlideShare
World Bank IFC Financing Dairy Supply Chain in Africa: Successes and Failures
Farm to Fork - A Supply Chain Perspective
Supply chain finance models Part 1: bank-agnostic models, bank-funded and man...
Blockchain for Education - CHiLO Chain -
New Practices and Opportunities in Supply Chain Finance
Blockchain- how it could transform business
Blockchain in life sciences
BigchainDB: A Scalable Blockchain Database, In Python
BLOCKCHAIN & THE HOLLYWOOD SUPPLY CHAIN
Blockchain Health and Crypto Wellness Futures
Financial supply chain management 2014
Application of supply chain management in banking industry
Blockchain: the solution for transparency in product supply chains
Semantic Blockchains in the Supply Chain
Financial Supply Chain Management
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Strategies for integrating semantic and blockchain technologies
Blockchain in Supply Chain Management: Fad or Potential?
How does a blockchain work?
Life@SlideShare
Ad

Similar to Building Highly Scalable Immersive Media Solutions on AWS (8)

PDF
4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS
PDF
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
PDF
Arquitetura Hibrida - Integrando seu Data Center com a Nuvem da AWS
PPTX
Tổng quan về AWS cực hay
PDF
Opportunities that the Cloud Brings for Carriers @ Carriers World 2014
PDF
Intro to AWS for Women Who Code Bristol
PDF
Aws-What You Need to Know_Simon Elisha
PDF
미디어 산업의 변혁을 가져온 Elemental Cloud :: Dan Marshall :: AWS Summit Seoul 2016
4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Arquitetura Hibrida - Integrando seu Data Center com a Nuvem da AWS
Tổng quan về AWS cực hay
Opportunities that the Cloud Brings for Carriers @ Carriers World 2014
Intro to AWS for Women Who Code Bristol
Aws-What You Need to Know_Simon Elisha
미디어 산업의 변혁을 가져온 Elemental Cloud :: Dan Marshall :: AWS Summit Seoul 2016
Ad

More from ETCenter (20)

PPTX
How broadcasters can get in the VR game with sports
PPTX
Improve Efficiency by Double Digits – Leveraging Artificial Intelligence and ...
PPTX
Looking beyond the script
PPTX
Cloud Apps for Media Processing: IMF Packaging-on-Demand
PPTX
IP for Sports broadcast
PPTX
The distributive aspect of cloud on the digital world
PPTX
Hacking IoT: the new threat for content assets
PPTX
Graymeta C4 use case, Deduplication
PPTX
WRAST, Worldwide Repository for Assets. Project Cloud QTR meeting @ Disney/ABC
PDF
Object storage is awesome.. ETC "Project Cloud" QTR meeting @ Disney/ABC
PPTX
Federated identity, Project Cloud QTR meeting @ Disney/ABC
PPTX
Security + Cloud: What studios and vendors need to consider when adopting clo...
PDF
"The Suitcase" Project Cloud QTR meeting presentation @ Disney/ABC
PDF
Open Source Framework for Deploying Data Science Models and Cloud Based Appli...
PDF
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
PDF
An Introduction to Data Gravity by John Tkaczewski of FileCatalyst
PDF
This Is Not Your Parent’s Storage: Transitioning to Cloud Object Storage by I...
PDF
OpenStack meets TV Everywhere: Peanut Butter and Chocolate by Yuval Fisher of...
PDF
Day 3 Conference Welcome by Erik Weaver
PDF
Cloud Atlas: A movie or a distribution movement? by Brendan Sullivan of Vubiq...
How broadcasters can get in the VR game with sports
Improve Efficiency by Double Digits – Leveraging Artificial Intelligence and ...
Looking beyond the script
Cloud Apps for Media Processing: IMF Packaging-on-Demand
IP for Sports broadcast
The distributive aspect of cloud on the digital world
Hacking IoT: the new threat for content assets
Graymeta C4 use case, Deduplication
WRAST, Worldwide Repository for Assets. Project Cloud QTR meeting @ Disney/ABC
Object storage is awesome.. ETC "Project Cloud" QTR meeting @ Disney/ABC
Federated identity, Project Cloud QTR meeting @ Disney/ABC
Security + Cloud: What studios and vendors need to consider when adopting clo...
"The Suitcase" Project Cloud QTR meeting presentation @ Disney/ABC
Open Source Framework for Deploying Data Science Models and Cloud Based Appli...
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
An Introduction to Data Gravity by John Tkaczewski of FileCatalyst
This Is Not Your Parent’s Storage: Transitioning to Cloud Object Storage by I...
OpenStack meets TV Everywhere: Peanut Butter and Chocolate by Yuval Fisher of...
Day 3 Conference Welcome by Erik Weaver
Cloud Atlas: A movie or a distribution movement? by Brendan Sullivan of Vubiq...

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Big Data Technologies - Introduction.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
sap open course for s4hana steps from ECC to s4
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation_ Review paper, used for researhc scholars
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Network Security Unit 5.pdf for BCA BBA.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MIND Revenue Release Quarter 2 2025 Press Release
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Big Data Technologies - Introduction.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Building Highly Scalable Immersive Media Solutions on AWS

  • 2. Building Highly Scalable Immersive Media Solutions on AWS Konstantin Wilms & Chad Schmutzer Amazon Web Services
  • 4. Origination Delivery MULTI-CAMERA MEZ, LIVE OR VOD CONTENT B2C PLAYBACK TO CONSUMER OR B2B DELIVERY Encoding CDN Devices Cost Most of these can be tackled by utilizing media encoding and transport standards along with best practice cloud design patterns for low latency, elastic, highly available infrastructure Immersive Media Challenges
  • 5. AWS Marketplace Amazon Elastic Transcoder Elemental Technologies AMI Model Licensed S/W Minimal Disruption Proxies Fast Integration UGC & Prosumer On-Prem & Cloud Live, VOD, JIT Professional DIY BYO PaaS / SaaS BYOL Self Contained Custom Solutions Media Processing on AWS
  • 6. VOD Workflow G2 Distribution B2C (Viewers) Live Workflow G2 Archive Source Encoder B2B (Organizations) A Cloud-Native Immersive Media Solution  360 Live & VOD Pipeline  Infrastructure as Code  Optimized Service Consumption  Lowest Possible Cost  Cloud Native Patterns  100% Open Source  Designed for Growth  Reference Architecture
  • 7. 16 Regions – 42 Availability Zones – 68 Edge Locations Region & Number of Availability Zones AWS GovCloud (2) EU Ireland (3) US West Frankfurt (2) Oregon (3) London (2) Northern California (3) Asia Pacific US East Singapore (2) N. Virginia (5), Ohio (3) Sydney (2), Tokyo (3), Seoul (2), Mumbai (2) Canada Central (2) China Beijing (2) South America São Paulo (3) …with Global Deployment Capability Announced Regions Paris, Ningxia
  • 8. So where do we start?
  • 9. BUILDING A PIPELINE Mapping Services & Partners to an End to End Workflow
  • 10. Ingest Store Transform Process PUSH OR PULL MEZ, LIVE & VOD CREATE A CENTRALIZED CONTENT LAKE ON S3 MEDIA DELIVERY AND/OR HANDS-ON POSTPRODUCTION SCALE OUT ON ELASTIC CAPACITY FOR ALL PROCESSING
  • 11. Ingest PUSH OR PULL MEZ, LIVE & VOD AWS Services  AWS Direct Connect: For high bandwidth, deterministic live media  Amazon S3 Transfer Acceleration: Remote location ingest  AWS Snowball: Petabyte scale data transfer (in and out)  Amazon Cloudfront: Global content delivery network  Elemental Appliances: On-prem video encode/prep for ingest Partners Media Ingest
  • 12. AWS Services  Amazon S3: Highly scalable, durable object storage  Amazon Glacier: Secure, durable, petabyte-scale data archival  Amazon EFS: Simple, elastic, scalable file system  Amazon EBS: Persistent block storage  AWS Marketplace: Partner solutions for storage (on/off-prem) Partners Store CREATE A CENTRALIZED CONTENT LAKE ON S3 Asset Storage
  • 13. Transform MEDIA DELIVERY AND/OR HANDS-ON POSTPRODUCTION AWS Services  Amazon EC2: Scalable CPU/GPU computing capacity  Amazon Workspaces: GPU accelerated desktops in the cloud  AWS Marketplace: Partner solutions for storage (on/off-prem)  Amazon Appstream: Run existing Windows Applications in the cloud Partners Content Transformation
  • 14. Process SCALE OUT ON ELASTIC CAPACITY FOR ALL PROCESSING AWS Services  Amazon EC2 Spot: Low Cost spare GPU/CPU capacity at high scale  AWS Batch: Fully managed batch processing at any scale  Amazon ECS: High scale, high performance container management  ThinkBox Deadline: Hassle-free scheduling for rendering & compute  Elemental Cloud: On-demand, scalable video processing Partners Elastic Processing
  • 15. What if we maximized EC2 Spot usage …across the entire pipeline VOD Workflow G2 Distribution B2C (Viewers) Live Workflow G2 Archive Source Encoder B2B (Organizations)
  • 17. On-Demand Pay for compute capacity by the hour with no long-term commitments For spiky workloads, or to define needs AWS EC2 Consumption Models Reserved Make a low, one-time payment and receive a significant discount on the hourly charge For committed utilization Spot Bid for unused capacity, charged at a Spot Price which fluctuates based on supply and demand For time-insensitive, transient, or stateless workloads
  • 18. Spare Capacity at Scale • AWS has more than a million active customers in 190 countries. • Amazon EC2 instance usage has increased 93% YoY, comparing Q4 2014 and Q4 2013, not including Amazon use.
  • 19. EC2 Spot instances are spare EC2 On-Demand capacity with very simple rules… What are EC2 Spot Instances?
  • 20. Markets where the price of compute changes based on supply and demand You’ll never pay more than your bid. When the market exceeds your bid you get 2 minutes to wrap up your work The Very Simple Rules of Spot
  • 21.  Since Spot instances typically cost 50-90% less than On-Demand, you can increase your compute capacity by 2-10x within the same budget  Or you could save 50-90% on your existing workload  Either way, you should try it! Get the Best Value for EC2 Capacity
  • 22. AZ1 AZ2 Frankfurt Total Capacity P2 C4 M4 I2 R4 D2 Shared Dedicated Shared Dedicated Understanding EC2 Capacity
  • 23. $0.27 $0.29$0.50 2b 2cc2a 8XL $0.30 $0.16$0.214XL $0.07 $0.08$0.082XL $0.05 $0.04$0.04XL $0.01 $0.04$0.01L C4 $1.76 On Demand $0.88 $0.44 $.22 $0.11 Each Instance Family Each Instance Size Each Availability Zone In every Region Is a separate Spot Market Capacity & Spot Markets Recap
  • 24. Bid Price vs. Market Price 50% Bid 75% Bid You pay the market price 25% Bid
  • 25. Fault toleranceStateless Multi-AZ Loosely coupled Instance Flexibility EC2 Spot Best Practices
  • 26. ~ 21% less than 1 hour ~ 35% less than 2 hours ~ 40% less than 3 hours In total roughly 50% of all instances live less than 6 hours My Instances Cannot be Interrupted!
  • 27. Using a single additional parameter Run continuously for up to 6 hours Save up to 50% off On- Demand pricing $1 EC2 Spot Blocks
  • 28.  Requested 1000 vCores over 30 days  Minimum 960 vCores Mode 1024 vCores Average 1012 vCores  Average Price of $0.012 per vCore 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 250 350 450 550 650 750 850 950 1050 1150 Number of Cores Running Average Hourly Price Per Core  Savings of over 80% Batch Processing with EC2 Spot
  • 29. DESIGN Media Protocols, Transports & Cloud Architecture Patterns
  • 30. Source Playout http://bit.ly/2fRnwvv  Secure Compute/Rest/In-Flight (SSM)  Live & On-Demand (live recordings to VOD)  RTMP live ingest (RTP-FEC optimal, i.e. 2022)  Ingest – bitrate conform & pre-stitching  4k, AVCI, HEVC, H264/AAC – HLS + DASH  ‘Internet’ / Direct Connect Ingest  EC2 Spot for transcode (& proxies!) using dynamic CPU/GPU FFMPEG on NGINX  ECS - Docker to abstract dependencies  ForgeJS DASH, Clappr HTML5, Unity Mobile  Origin-Based remap using FFMPEG (PGM) & Facebook transform filters End to End Media Requirements
  • 31.  Infrastructure as Code – Error-Free Repeatability (Cloudformation)  Event-Based Pipelines – NGINX & S3 bucket events (nVOD)  Circuit Breaker Pattern – Proactively Drain ALBs (Spot)  Origin Proxy Pattern - Edge@Origin (fan out processing)  Service Discovery – via EC2 Instance Tagging, DNS  Bootstrap / Container Pattern – immutable infrastructure  Multi Server Pattern – Multi-AZ (automatically consume all AZs)  Decoupling Pattern – asynchronous & resilient (SQS, SNS) Cloud Architecture Patterns
  • 32. SOLUTION ARCHITECTURE Live & nVOD Immersive Media Delivery
  • 33. Backup Origin Primary Origin G2 G2 Ingest Bucket S3 Events SQS Queue Source Encoder SPOT or On-Demand Edge Cache Fleet Failover ALB CloudFront Viewers Diversified SPOT Fleet G2 M4 Egress Bucket GPU / CPU

Editor's Notes

  • #5: - these are common processes for content production across pp/p/finishing/etc
  • #8: And finally… lots of options for global deployment. Gartner estimates that AWS has significantly more compute capacity than all other major cloud providers combined, and we do that while providing extremely high reliability. We currently provide 15 regions and 40 availability zones (or AZ’s). For us, a region will always contain at least two AZ’s on wholly separate power grids and flood plains, and an AZ is always comprised of multiple data centers to provide redundancy within the AZ. We don’t build single data center regions, because it wouldn’t offer the reliability required for enterprise businesses.   This highly available global network allows you deploy your applications near your customers much faster and simpler than what can be achieved with a traditional model.
  • #11: - these are common processes for content production across pp/p/finishing/etc
  • #12: - ingest - moving content to aws in part or whole - does not preclude hybrid - key here is flexibility to rapidly import source content
  • #13: - storage not limited to aws alone - global filesystem, caching appliances for editors that work on-prem - in cloud, on prem or hybrid partner solutions - marketplace to spin many up
  • #14: - appliances for edit - protocols to move bits - local and attached storage - desktop apps all the way up to full paas solutions that incorporate spot, etc.
  • #15: - spot for ec2 - scheduling and management - rendering, processing, encryption (watermarking), proxies, etc. - s3 output, which enables cloudfront -> delivery
  • #18: Slide: AWS Purchase Models As shown by the previous slide, it is possible to launch significant amounts of compute power for a low cost. Customer have several models available when using Amazon EC2. - Cover the three pricing models on the slide On demand is the easiest way to get started with AWS. No commitment, pay as you go. Reserved instances provide a significant discount in exchange for a commitment to use the services for some period of time, either 1 or 3 years. Reserved instances also come with an actual capacity reservation, which can be important for large enterprises who need a high level of assurance that computing resources will be available when they are needed. Spot instances are a unique and powerful pricing model, in particular for HPC. With Spot, customers can bid on unused AWS capacity and are often able to launch instances on the cloud for as little as 10% of the equivalent on-demand rate. The tradeoff for Spot is if other customers are willing to pay more than you for the same AWS instance type, or capacity of that type becomes constrained, your running jobs may be terminated without warning. Jobs running on Spot therefore need to be fault-tolerant, or able to be restarted again at a later time.
  • #19: What spare capacity looks like at scale. AWS has more than a million active customers in 190 countries. Amazon EC2 instance usage has increased 93% YoY, comparing Q4 2014 and Q4 2013, not including Amazon use. Amazon S3 holds trillions of objects and regularly peaks at millions of requests per second.
  • #21: So with EC2 Spot the rules are actually really simple. Rule 1: The Spot market is where price of compute fluctuations based on supply and demand. Rule 2: You’ll never pay more than your bid, in fact you’ll only ever pay the market price. When the market price exceeds your bid you get 2 minutes to wrap up. Market price is on average 85% lower than On-Demand prices
  • #24: What is in a market.. This is one of the most important, and unfortunately misunderstood elements of how the spot market works. While we say Spot market there are actually hundreds of Spot markets available to all our customers. AWS has 11 (?) regions around the world, in each region there are multiple availability zones and multiple instance families and multiple instance sizes per family.. (START CLICK THROUGH and READ). E.g. c3. e.g. large, xlarge, 8xlarge, e.g. US-West-2a, US-West-2b, e.g. Dublin Region, Oregon Region, Sydney Region.
  • #25: Now that we understand what a spot market is and that there are many I’ll explain how we acquire the capacity. I’m going to pick just one market to highlight this. There are two numbers you care about with Spot. Bid price. Think of this as the cap, the maximum you’re willing to pay for a given instance per hour. Market price. This is the price you pay. Market price is set by periodic auctions The r3.4xlarge costs $1.4 under our On-Demand purchasing option. See it in action via 3 bids. 25%, 50%, 75%. Single Zone. 25% you kept your instance for almost 7 days, being impacted during a few short periods. However, you only paid the market price which was 86% off, just less than 20c per hour during the last week, only 14% of the OD price. At 50% you would have been interrupted just once, for a very short period of time during the sixth day. You’re average discount during the week is 85% just 21c per hour, paying just 15% of OD. At 75% you would not once have been interrupted, achieving an average discount of 85% just 21c an hour, again paying just 15% of OD.
  • #26: We will first run through what the ‘best practices’ for EC2. While these are not necessary, they’re what the most sophisticated customers do to get high performance, high availability and low costs. Standard practice Stateless Fault tolerant Multi-AZ SOA/Loosely coupled design Spot Practice Be instance flexible This can mean c3.large, c3.xlarge,..r3.large Or m3.large, r3.large, c3.large (ELB) No seriously, your application can work with other instances (use example, drive this message home hard). You use c3.xlarge and you can’t AT all use c3.2xlarge? Really? Really?  Even if we give you 70% off for twice the c3.xlarge specs?
  • #29: 1000 vCores, at an average saving of 80% off On-Demand. While some capacity fluctuated we had our desired capacity of 1000 for over 98% of the time. During the 30 days we were never more than 4%, or 40 cores below our desired capacity while maintaining an average of 1012 cores. Instances used - c3.2xlarge c3.4xlarge c3.8xlarge cc2.8xlarge cr1.8xlarge r3.2xlarge r3.4xlarge r3.8xlarge in All AZs