19
Media Streaming On Demand and Live Streaming Amazon Web Services Arpit Ahuja, Principal Consultant [email protected]

Media streaming on aws

Embed Size (px)

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.

Citation preview

Page 1: Media streaming on aws

Media StreamingOn Demand and Live Streaming

Amazon Web Services

Arpit Ahuja, Principal [email protected]

Page 2: Media streaming on aws

Why to host your website on AWS

Media Streaming on AWS

Scalable Flexible Low Cost Stable

Page 3: Media streaming on aws

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)

Page 4: Media streaming on aws

Challenges in Media Streaming

• Many Devices• Many Codecs• Many Protocols

• Supports only HLSiOS

• Devices are vendor specificAndroid

• Supports only smooth streamingWindows Phone

Page 5: Media streaming on aws

Multiple Transcodes

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

Screen SizesLaptops, Tablets, Mobiles

Asset Library

Page 6: Media streaming on aws

Players and Security Models

Native Media players 3rd Party Media Players

DRM-ed Content Tokenized Security

VS

VS

Page 7: Media streaming on aws

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

Page 8: Media streaming on aws

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

Page 9: Media streaming on aws

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

Page 10: Media streaming on aws

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

Page 11: Media streaming on aws

AWS Media Streaming Case Study

Page 12: Media streaming on aws

AWS Webcast Case Study

Page 13: Media streaming on aws

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

Page 14: Media streaming on aws

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

Page 15: Media streaming on aws

Streaming Architecture

Page 16: Media streaming on aws

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

Page 17: Media streaming on aws

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.

Page 18: Media streaming on aws

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

Page 19: Media streaming on aws

Many of the world’s biggest sites uses AWS