Building modern media services with Windows Azure by Karl Ots (Twitter: @fincooper)

Preview:

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.

Citation preview

t

Building modern media services with Windows Azure

Karl Ots, Symbio

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

#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

#td2013fi @fincooper

Windows Azure Storage

#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

#td2013fi @fincooper

Storage Libraries in Many Languages

#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

#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

#td2013fi @fincooper

Blob Storage Concepts

#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)

#td2013fi @fincooper

Shared Access Signatures

Régis

LaurentDirector of Operations,

Global Knowledge

Competencies include:

Gold Learning

Silver System Management

DemoWindows Azure Storage

#td2013fi @fincooper

Moomins video store

#td2013fi @fincooper

Moomins video store

#td2013fi @fincooper

Architecture

• Media content stored in

Windows Azure Blob

Storage

• Client accesses Storage

through Web service that

acts as a proxy

#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

#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

#td2013fi @fincooper

Windows Azure CDN

#td2013fi @fincooper

Content delivery network

Content

storageCDN

node CDN

node

CDN

node

CDN

node

#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

#td2013fi @fincooper

Windows Azure CDN Node Locations

CDN

Azure

Data

Center

Régis

LaurentDirector of Operations,

Global Knowledge

Competencies include:

Gold Learning

Silver System Management

DemoWindows Azure CDN

Windows Azure Media Services

#td2013fi @fincooper

Windows Azure Media Services

#td2013fi @fincooper

Scenarios for Windows Azure Media Services

• Building end-to-end workflows

• Building hybrid workflows

• Providing cloud support for media players

#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

#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

#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

#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

Thank you!

Time for feedback and a quick raffle!

#td2013fi @fincooper