© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Poll Questions
When are you considering deploying media streaming in your organization? • 0 – 3 months
• 3 – 6 months
• 6+ months
• Already streaming
• No plans yet
How would streaming be used in your organization? (Choose one) • As a Service – To be included in our product infrastructure
• As a Product offer – Server integrated into our product
• Consulting – Current/prospective consulting engagement
• To stream content that we own
What type of deployment would you foresee your organization utilizing for media streaming? • Fully cloud-based – only the encoder is on-premises
• Using only our own infrastructure, nothing in the cloud
• Hybrid model – An on-premises origin server with cloud-based edge servers or CDN
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Streaming Using Amazon CloudFront
and Wowza Media Server Nihar Bihani, Senior Product Manager - Amazon CloudFront
Chris Knowlton, VP of Product Management - Wowza Media Systems
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
On-site Video Capturing & Encoding
Crew on the ground • Capture the event on camera
• Managed by a production team
• Decide on angles, shots, duration etc.
Onsite encoders • Compress raw feed from camera to be
sent to the streaming server
• Typically hardware based
High bandwidth link to the closest AWS region • Single stream sent at high bandwidth
• Multiple streams of different bit rates sent
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Real Time Streaming Server
Ingestion of input streams
Transcoding to different
bitrates
Transmuxing to different
delivery protocols
Generating and updating
manifest files
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Global Delivery of Live Streams to Viewers
Amazon CloudFront
CDN
• Supports all HTTP
based streaming
protocols
• Improved performance
• Ability to handle spikes
• Cost savings
Edge Locations To deliver content to end users with lower latency
A global network of edge locations
Supports global DNS infrastructure (Route53) and
CloudFront CDN
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming
Source
HTTP
Cache
Edge
Hong Kong
Paris
New York
Amazon
CloudFront
Encoder
RTSP
or
RTMP
HLS, HDS,
Smooth Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Dynamic Nature of Events
Live Streaming setup should be able to scale massively • Ability to handle flash crowds
• Shield origin servers from the spikes
• Ensure every single viewer gets the best experience
Infrastructure should be cost efficient • Sporadic nature of events but need to plan for maximum number of
users
• Extremely cost-inefficient when using in-house infrastructure
• Penalty for running over planned capacity is costly
Viewers might come from anywhere • Need points of presence all over the globe
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Fragmented Ecosystem…
Many Devices, Codecs and Protocols…
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Advantages of Using AWS & Wowza
Pay per usage of resources (CapEx -> OpEx)
Scale up or down without complex configurations
Global reach to handle any size crowds anywhere
Easy setup and teardown of as many streaming stacks as you want
Support for multiple HTTP based protocols (HLS, HDS, Smooth Stream)
Option to use premium Wowza AddOns (e.g. Transcoder, nDVR)
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Subscribe to Wowza via AWS Marketplace
Available on AWS
Marketplace
Bring Your Own
License Option
• Ability to use
Wowza Addons
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setup Guidelines
Step by step tutorial to easily
setup a live streaming stack
Modeled using
CloudFormation template
• Ability to customize
Seamless Amazon
CloudFront integration
• Supports HLS, HDS,
Smooth Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Origin-Edge Configuration
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
CloudFront Configuration
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming
HTTP
Cache
Edge
Amazon
CloudFront
HLS, HDS,
Smooth Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming
Source
Amazon
CloudFront
Encoder
RTSP
or
RTMP
HLS, HDS,
Smooth Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming Amazon
CloudFront
RTSP
or
RTMP
HLS, HDS,
Smooth Streaming
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Live Multi-bitrate Streaming
HTTP
Cache
Edge
Hong Kong
Paris
New York
Amazon
CloudFront
HLS, HDS,
Smooth Streaming
RTSP
or
RTMP
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
Live Streaming Architecture Overview
Challenges When Streaming Live Events
Using AWS & Wowza for Live Streaming
Demo: Configuring AWS Resources and Wowza
Q&A
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.