AWS Summit Nordics - Media and Gaming Application on AWS

Preview:

DESCRIPTION

 

Citation preview

Jan Borch – AWS Solutions Architect

Media and Gaming Application

on AWS

Media Application on AWS

Music streaming

Media Application on AWS

Video streaming

Media Application on AWS

Digital publishing

Gaming Application on AWS

Mobile Games

Common challenge for media and gaming apps ...

... device fragmentation ...

... scaled to millions of users

$ $

$ $

$

$

Number of users :: revenue stream

Acquire, Grow and

Retain your user base

503 Service Temporarily Unavailable

The server is temporarily unable

to service your request due to

maintenance downtime or capacity

problems. Please try again later.

503 Service Temporarily Unavailable

The server is temporarily unable

to service your request due to

maintenance downtime or capacity

problems. Please try again later.

Maintain availability from one server…

…to thousands

Let's take a journey ...

Let's take a journey ...

Innovate

Could you add this

feature please

Turn ideas into reality quicker

Idea Feature Heavy lifting

70%

Turn ideas into reality quicker

Idea Feature Infrastructure

services

30%

Turn ideas into reality quicker

Idea Feature AWS

Innovation

Remove barriers to innovation

Innovation

Server setup

Physical management

Software

admin

Remove barriers to innovation

Innovation

Physical management

Software

admin

On demand

Remove barriers to innovation

cc2.8xlarge

Virtual core: 32 - 2 x Intel Xeon

Memory: 60,5 GiB

I/O performance: 10 Gbit

Virtual core: 1

Memory: 1.7 GiB

I/O performance: Moderate

m1.small cr1.8xlarge

Virtual core: 32 - 2 x Intel Xeon

Memory: 240 GiB

I/O performance: 10 Gbit

SSD Instance store: 240 GB

cr1.8xlarge

Virtual core: 16

Memory: 60.5 GiB

I/O performance: 10 Gbit

SSD Instance store: 2 x 1TB

cr1.8xlarge

Virtual core: 16

Memory: 117 GiB

I/O performance: 10 Gbit

Instance store: 24 x 2TB

EC2 instance types

Innovation

Physical management

Software

admin

On demand

Remove barriers to innovation

Innovation

Physical management

On demand

As a

Service

Remove barriers to innovation

Non Relational (NoSQL) Database

Fast & predictable performance

Seamless Scalability

Zero administration

Amazon DynamoDB

Innovation

Physical management

On demand

As a

Service

Remove barriers to innovation

Innovation

On demand

Cloud based

As a

Service

Remove barriers to innovation

AWS OPSWORKS INTEGRATED APPLICATION

MANAGEMENT

Stack

Layer Stack

Instances Layer Stack

Scale Instances Layer Stack

Agent on each

EC2 instance OpsWorks talks with

The heart of the service

Instance lifecycle and configuration hooks

Cookbooks

script "install_composer" do

interpreter "bash"

user "root"

cwd

"#{node[:deploy][:myphotoapp][:deploy_to]}/

current"

code <<-EOH

curl -s https://getcomposer.org/installer

| php

php composer.phar install

EOH

end

Amazon S3

Git repository

Let's take a journey ...

Innovate

Let's take a journey ...

Grow

Innovate

I like video on

demand

Scalable storage and distribution of media

Amazon

CloudFront

Amazon S3 Elastic

Trascoder

AWS S3 Storage for the Internet

AWS Elastic

Transcoder Video transcoding in the cloud

AWS CloudFront Web service for content delivery

Simple HLS video streaming architecture

In-house content

publication server

Source Video

Assets in S3

S3

Simple HLS video streaming architecture

In-house content

publication server

Source Video

Assets in S3

Video

transcoded into

HLS

S3 Elastic Transcoder

Simple HLS video streaming architecture

In-house content

publication server

Source Video

Assets in S3

Video

transcoded into

HLS

Edge Delivery

using CloudFront

Stockholm

NY

CloudFront S3 Elastic Trascoder

AWS CLI

aws s3 cp video.avi s3://mybucket/video

aws elastictranscoder create-job

--pipeline-id 1379510897399-mxjrif

--input '{"Key":"video/video.avi"}'

--outputs '[{"Key":"sample","PresetId":"1234-123", ...}]'

Affordable

AWS Billing and cost allocation

Plot your daily AWS costs

Jan Sep

Add your user generated revenue

Jan Sep

Optimize your cost/revenue

Jan Sep

Optimize

Jan Sep

Code optimization

reduced the number of

EC2 instances needed

I need access

everywhere in the

world

Reach a global audience Reach a global audience

Social Growth

Reach a global audience Reach a global audience

Social Growth

Unconstrained to

geography

Reach a global audience Reach a global audience

Unpredictable

regionality

Social Growth

Unconstrained to

geography

Reach a global audience Reach a global audience

Unpredictable

regionality

Social Growth

Unconstrained to

geography

Fast moving peaks

Dallas(2)

St.Louis

Miami

Jacksonville Los Angeles (2)

Palo Alto

Seattle

Ashburn(2)

Newark New York (2)

Dublin

London(2)

Amsterdam Stockholm

Frankfurt(2) Paris(2)

Singapore(2)

Hong Kong

Tokyo

Sao Paulo

South Bend

San Jose Osaka

Milan

Sydney

Reach a global audience Reach a global audience

Amazon Route 53 Highly available and scalable Domain Name System

Extremely reliable and cost effective

Feature Details

Global Supported from AWS global edge locations for fast and reliable domain name resolution

Scalable Automatically scales based upon query volumes

Latency based

routing

Supports resolution of endpoints based upon latency, enabling multi-region application delivery

Integrated Integrates with other AWS services allowing Route 53 to front load balancers, S3 and EC2

Reach a global audience

Let's take a journey ...

Innovate

Grow

Let's take a journey ...

Innovate

Grow Understand

Data Growth

GB

TB

PB

Data Growth

Data Growth

Data Growth

Server Logs

Click Analysis

Gamer Trends

Sampling

Big Data

Time to process

Inflexible

Complexities of Big Data

Sampling

Big Data

Inflexible

Complexities of Big Data

Elastic Map Reduce &

Redshift

Sampling

Big Data

Complexities of Big Data

“Queryable”

Elastic Map Reduce &

Redshift

Big Data

Complexities of Big Data

“Queryable” All Data

Elastic Map Reduce &

Redshift

Data Insight

Turning Data into Information

Data Insight

Elastic

MapReduce

Turning Data into information

Redshift

AWS Elastic Map Reduce

Process vast amounts of data using Hadoop

AWS Redshift Fast, fully managed, petabyte-scale data

warehouse service

Let's take a journey ...

Innovate

Grow Understand

Amazon Web Services

Roope Kangas

Lead Server Developer