building modern media services with windows azure by karl ots (twitter: @fincooper)
DESCRIPTION
Windows Azure is an excellent platform for distributing media content across multiple endpoints. I will provide an overview of current Windows Azure parts applicable for media distribution (e.g. storage, CDN, load balancing, Media Services etc). I will also demonstrate a case story of a video distribution solution. The case story covers the Windows Azure-based service and a Windows Store client.TRANSCRIPT
![Page 1: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/1.jpg)
t
Building modern media services with Windows Azure
Karl Ots, Symbio
![Page 2: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/2.jpg)
About the the presenter
• Karl Ots, Technical Consultant at Symbio
• Windows Phone 8 and Windows 8 trainer
• Windows Azure Insider
• Co-founder of Young Developers Finland
• Microsoft Student Partner
![Page 3: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/3.jpg)
#td2013fi @fincooper
Agenda
• This session is focused on building media applications with Windows Azure
• We’ll talk about storage, content distribution and media services
• Demos
![Page 4: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/4.jpg)
#td2013fi @fincooper
Windows Azure Storage
![Page 5: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/5.jpg)
#td2013fi @fincooper
Storage in the CloudScalable, durable, and available
Anywhere at anytime access
Only pay for what the service uses
RESTful Web ServicesUse from Windows Azure Compute
Use from anywhere on the internet
![Page 6: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/6.jpg)
#td2013fi @fincooper
Storage Libraries in Many Languages
![Page 7: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/7.jpg)
#td2013fi @fincooper
Windows Azure Storage
Benefits:
Non-relational structured storage
Massive scale-out
Windows Azure
Tables
Benefits:
Big filesWindows Azure
Blobs
Benefits:
Persistent Async Messaging
Enqueue, Dequeue
Windows Azure
Queues
Benefits:
Relational database
Highly available
Managed for you as a service
Windows Azure SQL
Database
![Page 8: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/8.jpg)
#td2013fi @fincooper
Blob Storage
Highly available, scalable and secure file system
Blobs can be exposed publically over http
Continuous geo-replication across datacenters
Enterprise document share; Social networking sites- share pictures, video etc.
Big Data Analysis - Store raw data and benefit from large compute available in cloud
Backups – device, computer backups
![Page 9: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/9.jpg)
#td2013fi @fincooper
Blob Storage Concepts
![Page 10: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/10.jpg)
#td2013fi @fincooper
Windows Azure Blobs
• Copy Blob• Asynchronous copy – copy between accounts
• Snapshots• Read only version of a blob
• Promote a version as base blob
• Sharing Scenarios• Private access
• Public access
• Shared Access Signatures (Signed Url)
![Page 11: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/11.jpg)
#td2013fi @fincooper
Shared Access Signatures
![Page 12: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/12.jpg)
Régis
LaurentDirector of Operations,
Global Knowledge
Competencies include:
Gold Learning
Silver System Management
DemoWindows Azure Storage
![Page 13: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/13.jpg)
#td2013fi @fincooper
Moomins video store
![Page 14: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/14.jpg)
#td2013fi @fincooper
Moomins video store
![Page 15: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/15.jpg)
#td2013fi @fincooper
Architecture
• Media content stored in
Windows Azure Blob
Storage
• Client accesses Storage
through Web service that
acts as a proxy
![Page 16: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/16.jpg)
#td2013fi @fincooper
Media purchase flow
• User buys videos via IAP
• IAP receipts are sent to the web service
• Client requests video content
• Web service checks if user has bought the content
• Web service creates a signed URL (SAS) for the video content
and shares that to the client
• Client accesses the video content via the signed URL
![Page 17: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/17.jpg)
#td2013fi @fincooper
Consuming the video
• Download the video via Background Transfer
• Any encrypting/decrypting/ licence checking if needed
• Play the video in MediaElement control
• Customize the control if necessary
• Enhance with Windows 8 features
• Play To
• Subtitles
• Multi-audio support
• Roamed settings
![Page 18: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/18.jpg)
#td2013fi @fincooper
Windows Azure CDN
![Page 19: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/19.jpg)
#td2013fi @fincooper
Content delivery network
Content
storageCDN
node CDN
node
CDN
node
CDN
node
![Page 20: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/20.jpg)
#td2013fi @fincooper
US locations
• Ashburn, VA
• Bay Area, CA
• Chicago, IL
• San Antonio, TX
• Los Angeles, CA
• Miami, FL
• Newark, NJ
• Seattle, WA
EMEA Locations
• Amsterdam, NL
• Dublin, IE
• London, GB
• Moscow, RU
• Paris, FR
• Stockholm, SE
• Vienna, AT
• Zurich, CH
Asia-Pacific/Rest of World
• Hong Kong, HK
• São Paulo, BR
• Seoul, KR
• Singapore, SG
• Sydney, AU
• Taipei, TW
• Tokyo, JP
• Doha, Q
Windows Azure CDN Node Locations
![Page 21: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/21.jpg)
#td2013fi @fincooper
Windows Azure CDN Node Locations
CDN
Azure
Data
Center
![Page 22: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/22.jpg)
Régis
LaurentDirector of Operations,
Global Knowledge
Competencies include:
Gold Learning
Silver System Management
DemoWindows Azure CDN
![Page 23: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/23.jpg)
Windows Azure Media Services
![Page 24: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/24.jpg)
#td2013fi @fincooper
Windows Azure Media Services
![Page 25: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/25.jpg)
#td2013fi @fincooper
Scenarios for Windows Azure Media Services
• Building end-to-end workflows
• Building hybrid workflows
• Providing cloud support for media players
![Page 26: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/26.jpg)
#td2013fi @fincooper
• Allows you to upload media into the cloud
• Pre-encrypt files prior to uploading(AES 256)
• Secure HTTPS upload
• Network level peering for fast HTTP into Azure
• Fast upload using UDP with Aspera (available as a service from Azure Store)
• Bulk ingest support
Ingestion
![Page 27: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/27.jpg)
#td2013fi @fincooper
• Microsoft Expression encoder in the cloud
• Enables you to convert .MP4 to Smooth Streaming, and convert Smooth Streaming to Apple Http Live Streaming
• Partner SDK for enabling custom encoders
Windows Azure Media Encoder
![Page 28: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/28.jpg)
#td2013fi @fincooper
• DRM protection for your content
• Sources from Smooth Streaming or Apple HLS
• Integration support for DRM partners
• Azure will handle the encryption, but you will have to manage keys – either yourself or via a service, such as 3rd party DRM provider or PlayReady from Microsoft
Windows Azure Media Encryptor
![Page 29: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/29.jpg)
#td2013fi @fincooper
• On-demand streaming on the cloud
• Supports MP4, Smooth Streaming and HLS
• Guaranteed bandwidth. Auto recovery/redundancy. High Availability
• Integrated Azure CDN support
• Dynamic Remux support for standard MP4 files
Windows Azure Media Origin
![Page 30: Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)](https://reader034.vdocuments.us/reader034/viewer/2022051412/54b5b8a54a7959c2388b4613/html5/thumbnails/30.jpg)
Thank you!
Time for feedback and a quick raffle!
#td2013fi @fincooper