media streaming on aws

Post on 26-May-2015

169 Views

Category:

Services

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

World's leading Cloud Computing platform, collection of remote computing services (Web Services) and it is powered byAmazon.com - world's leading Ecommerce Portal.

TRANSCRIPT

Media StreamingOn Demand and Live Streaming

Amazon Web Services

Arpit Ahuja, Principal Consultantarpit.ahuja@progressive.in

Why to host your website on AWS

Media Streaming on AWS

Scalable Flexible Low Cost Stable

About Amazon Web Services

• World’s leading Cloud Computing Platform• Collection of Remote Computing Services (Web Services)• Powered by Amazon.com – World’s leading Ecommerce Portal• Currently have Data Centers in 10 Geographic locations• Multiple Availability Zones in each region• Edge locations for content distribution in many other geographies

• Have done 42 Price Reductions in the last 8 years (Launched in 2006)

Challenges in Media Streaming

• Many Devices• Many Codecs• Many Protocols

• Supports only HLSiOS

• Devices are vendor specificAndroid

• Supports only smooth streamingWindows Phone

Multiple Transcodes

Multiple CodecsMP3, MPEG, MPEG-4, VOB, MOV, FLV, THEORA, MP4, WMV

Screen SizesLaptops, Tablets, Mobiles

Asset Library

Players and Security Models

Native Media players 3rd Party Media Players

DRM-ed Content Tokenized Security

VS

VS

Actions to be taken

• Viewer Experience• Operational Excellence• Business ImpactMonitor• Devices that needs optimization• Best Delivery Networks• Viewer TrendsIdentify• Suboptimal Viewer Experience• Turnaround Times• Operational CostsReduce

Encode for similarity among devices

Device Video Compression Audio Compression Quality Level Delivery Protocol

iOS H.264 AAC SD(low), SD(high), HD HLS

Android H.264 AAC SD(low), SD(high), HD HLS*

Windows Phone H.264 AAC SD(low), SD(high), HD Smooth Streaming

Desktop H.264 AAC SD(low), SD(high), HD HLS/Smooth Streaming

Best Practices

• Avoid Storage Duplication – Keep a central location with backup• Pick the right Content Delivery Network• Global Reach• High Performance• Streaming Context Aware• Access logs for customer insight

• Security of Assets• Measure viewer experience

Why use AWS

• Native Services (S3, Elastic Transcoder, Cloudfront, EC2)• Partner solutions in AWS MarketplaceEcosystem

• Pay as You GO• Capacity when you need it• Global Footprint

Cost Effective

• MPAA Security Best PracticesMedia Specific

AWS Media Streaming Case Study

AWS Webcast Case Study

Amazon Elastic Transcoder

• Amazon Elastic Transcoder is media transcoding in the cloud that converts (or “transcode”) media files from their source format into versions that will playback on devices like smartphones, tablets and PCs.• Easy to use• Eastically Scalable• Cost Effective• Managed• Secure• Seamless Delivery• Complete Integration

AWS Storage - S3 and Glacier

• S3• Object Storage available through a URL• 99.999999999% availability• Stores objects like Images, Videos, Files, Binaries, Snapshots

• Glacier• Archival Storage for Backup• Much cheaper than regular object storage• 4-6 hours retrieval time

Streaming Architecture

Cost Examples

Component Unit Cost (varies with region)

S3 1 GB / Month $ 0.03 / GB per Month

Media Streaming 1 GB $ 0.25 / GB

EC2 (Virtual Server) Linux with 15 GB RAM $ 286.95 / Month

Capabilities

• AWS is a flexible cloud computing solution. You can use whatever platform you like. AWS even provides SDKs for many popular platforms like Java, Ruby, PHP, Node.js, .Net, and more.

Use Your Favorite Tools

• Your content management system (CMS) may be the core of your website. No matter which system you choose; it can run on AWS

Many of the world’s biggest sites uses AWS

top related