Media Streaming
On Demand and Live Streaming
Amazon Web Services
Arpit Ahuja, Principal Consultant
arpit.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 Codecs
MP3, MPEG, MPEG-4, VOB, MOV,
FLV, THEORA, MP4, WMV
Screen Sizes
Laptops, 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 Impact
Monitor
• Devices that needs optimization
• Best Delivery Networks
• Viewer Trends
Identify
• Suboptimal Viewer Experience
• Turnaround Times
• Operational Costs
Reduce
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

Media streaming on aws

  • 1.
    Media Streaming On Demandand Live Streaming Amazon Web Services Arpit Ahuja, Principal Consultant arpit.ahuja@progressive.in
  • 2.
    Why to hostyour website on AWS Media Streaming on AWS Scalable Flexible Low Cost Stable
  • 3.
    About Amazon WebServices • 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)
  • 4.
    Challenges in MediaStreaming • Many Devices • Many Codecs • Many Protocols • Supports only HLSiOS • Devices are vendor specificAndroid • Supports only smooth streamingWindows Phone
  • 5.
    Multiple Transcodes Multiple Codecs MP3,MPEG, MPEG-4, VOB, MOV, FLV, THEORA, MP4, WMV Screen Sizes Laptops, Tablets, Mobiles Asset Library
  • 6.
    Players and SecurityModels Native Media players 3rd Party Media Players DRM-ed Content Tokenized Security VS VS
  • 7.
    Actions to betaken • Viewer Experience • Operational Excellence • Business Impact Monitor • Devices that needs optimization • Best Delivery Networks • Viewer Trends Identify • Suboptimal Viewer Experience • Turnaround Times • Operational Costs Reduce
  • 8.
    Encode for similarityamong 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
  • 9.
    Best Practices • AvoidStorage 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
  • 10.
    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
  • 11.
  • 12.
  • 13.
    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
  • 14.
    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
  • 15.
  • 16.
    Cost Examples Component UnitCost (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
  • 17.
    Capabilities • AWS isa 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.
  • 18.
    Use Your FavoriteTools • Your content management system (CMS) may be the core of your website. No matter which system you choose; it can run on AWS
  • 19.
    Many of theworld’s biggest sites uses AWS