Deliver High-‐quality Streaming Media Globally with AWS and Wowza
S3 CloudFront EC2 CloudFormation
Agenda
In this session you will learn how to: – Quickly launch a virtual server on EC2 using AWS Marketplace – Set up a live streaming workflow – Pull on-‐demand content from Amazon S3 – Configure Wowza origin and edge servers – Deliver streams globally using Amazon CloudFront – Simplify workflow using Amazon CloudFormaMon templates – Learn best pracMces for using AWS to deliver streaming media
Presenters
Ryan Jespersen Streaming Media Technologist
Wowza Media Systems
Barry Russell Head of Global Business Development
AWS Marketplace
Wowza Media Systems
• Simplifying the complexiMes of video and audio streaming • In business since 2005 • Customers in 150+ countries • Wowza Streaming Engine™: award-‐winning soWware
Who Uses Wowza?
Resorts (Hotels, Tourism)
Public Safety (FaciliMes, Banks, Police, Borders)
TransportaMon (Roads, Public Transit)
WebcasMng (Enterprise, Churches, Government)
Entertainment (Sports, Concerts)
EducaMon / Distance Learning (K-‐12 – University)
Animals / Nature (Zoos / Pet Daycare)
Events / Local Hotspots (Shows, Bars, Restaurants)
Wowza Streaming Engine™
• Robust, customizable, and scalable server soWware that powers reliable streaming of high-‐quality audio and video to any device anywhere
• Scale across OS’s and architectures
• From start-‐up websites to mission criMcal applicaMons
Cloud Partner
hep://www.wowza.com/products/streaming-‐engine/deployment-‐opMons/aws
On-Premises Slow to get started Experiment Infrequently Failure is expensive Less Innovation
$$$$$ Start quickly Experiment Often Fail quickly at low cost More Innovation
Nearly $0
Why use a media server on the cloud?
Streaming Workflow
Storage
S3 EBS Glacier Storage Gateway
API
AWS Global Infrastructure
AWS Global Infrastructure
Foun
datio
n Se
rvice
s Ap
plica
tion
Serv
ices
Depl
oym
ent
&
Mana
gem
ent
Application Services
Libraries, SDK’s
Networking
VPC Direct Connect ELB Route53
Databases
RDS ElastiCache Dynamo RedShift
Content Delivery
CloudFront
SES SNS SQS Elastic Transcoder CloudSearch SWF
IAM Federation
Identity & Access
Web Console
Interaction
Human Interaction
Support
Regions Availability Zones Edge Locations
Analytics
DataPipeline EMR Kinesis
EC2
Compute
WorkSpaces
AppStream
Monitoring
CloudWatch
Deployment & Management
BeanStalk Cloud Formation OpsWork CloudTrail
Command Line
AWS Services
Encoder
Amazon EC2: Virtual Cloud Servers
Amazon EC2 and Wowza
Adap;ve Streaming
Distribu;on
Stream(s) Adap;ve Streaming
Adap;ve Streaming
Encoder
Origin Server
Edge Server Backup
Origin
Edge Server
Live Stream Origin-‐Edge Configura5on
Amazon S3: Scalable Cloud Storage
Streaming to
Remote Users Streaming in Local Region
Remote Region A
Remote Region B
Single Copy
of OD Content
Single Copy of OD Content
Adap;ve Streaming
Origin Server
Edge Server
Edge Server
Adap;ve Streaming
On-‐Demand Streaming Scale
Amazon S3 Storage
Amazon S3: Web Server Media Cache Scale
Adap;ve Streaming
Adap;ve Streaming
Amazon S3 Storage
Adap;ve Streaming
Web Server
Web Server
Web Server
Cache Servers DNS Load Balancing (AWS)
Web Servers add Load Balancing and Redundancy in front of storage
Amazon CloudFront: Global CDN
Global Delivery of Live and On-‐Demand Streams
Source
Hong Kong
Paris
New York
Amazon CloudFront
CDN
Encoder RTSP or
RTMP
HLS, HDS, Smooth Streaming
ABR Streaming
Origin Server
Amazon CloudFront: Live MulM-‐bitrate Streaming
Step by step tutorial to easily setup a live streaming stack Modeled using CloudFormaMon template • Ability to customize
Seamless Amazon CloudFront integraMon • Supports HLS, HDS,
Smooth Streaming, DASH
Amazon CloudFormaMon
DEMO
Wowza and AWS Workflow Demo
At venue
RTMP
H.264/AAC Raw
Video/Audio Feed
Apple HLS
ABR Stream
S3
CloudFront EC2
AWS Tips & Tricks
• Use ElasMc IPs • Check Your Regions • Use Startup Packages • Connect via SSH and FTP
• Don’t lose your EC2 Key Pair • Use Wowza Recommended Security Group
• Use nVIDIA AMIs for GPU-‐ accelerated Transcoding
Next Steps
• Sign Up with AWS at heps://aws.amazon.com/marketplace/ • Support ArMcles
– Wowza and Amazon overview: hep://www.wowza.com/partners/works-‐with-‐wowza/amazon-‐ec2
– Wowza for Amazon how-‐to arMcles: hep://www.wowza.com/forums/content.php?7-‐Amazon
– Push Publishing: hep://www.wowza.com/forums/content.php?109 – Live Stream Repeater: www.wowza.com/forums/content.php?227 – Media Cache: hep://www.wowza.com/forums/content.php?121
Final Thoughts
Technical Sales
Amazon aws.amazon.com/ premiumsupport
aws.amazon.com/ marketplace
Wowza wowza.com/support [email protected]
• Thank you for spending Mme with us today!
• Watch for follow-‐up mail from us with more informaMon.
• Do you have follow-‐up quesMons? Please contact us…
QUESTIONS? Wowza Media Systems
Third party trademarks are trademarks or registered trademarks of their respecMve owner and are used solely to idenMfy and describe third party products as being compaMble with Wowza products. Wowza is in no way sponsored, endorsed by, or otherwise affiliated with any such third party trademark owners.