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. 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

AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

Embed Size (px)

DESCRIPTION

Learn how you can easily configure a production quality live streaming setup using Amazon CloudFront and Wowza Media Server (available through AWS Marketplace). We will take you step by step through the process of using AWS CloudFormation to provision the AWS resources, using an encoder to capture the live stream and delivering the stream at scale to various devices using Amazon CloudFront.

Citation preview

Page 1: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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: AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server

© 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.