Page 1
© 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
Page 2
© 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
Page 3
© 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
Page 4
© 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
Page 5
© 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
Page 6
© 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
Page 7
© 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
Page 8
© 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
Page 9
© 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
Page 10
© 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
Page 11
© 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…
Page 12
© 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
Page 13
© 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)
Page 14
© 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
Page 15
© 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
Page 16
© 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
Page 17
© 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
Page 18
© 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
Page 19
© 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
Page 20
© 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
Page 21
© 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
Page 22
© 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
Page 23
© 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
Page 24
© 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
Page 25
© 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.