30
t Building modern media services with Windows Azure Karl Ots, Symbio

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

Embed Size (px)

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

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

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)

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)

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

#td2013fi @fincooper

Windows Azure Storage

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

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

#td2013fi @fincooper

Storage Libraries in Many Languages

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

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

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

#td2013fi @fincooper

Blob Storage Concepts

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

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

#td2013fi @fincooper

Shared Access Signatures

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

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)

#td2013fi @fincooper

Moomins video store

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

#td2013fi @fincooper

Moomins video store

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

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

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

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

#td2013fi @fincooper

Windows Azure CDN

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

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

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

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

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)

Windows Azure Media Services

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

#td2013fi @fincooper

Windows Azure Media Services

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

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

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

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

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

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

Thank you!

Time for feedback and a quick raffle!

#td2013fi @fincooper