[G1]aws at deview 2012

Post on 13-Jan-2015

839 views 4 download

description

 

transcript

Leveraging Cloud Computing for global scale

online game success

Kingsley WoodBusiness Development, APAC

Don’t you guys sell books ?

Amazon ?

Up in the Cloud…

The dream : you create a fantastic game

people love it!

and everyone wants to use it…

Now what ??!!

Compute Storage

Database Networking

Elastic On Demand

Pay as you go

Focus on YOUR

business

Traditional IT

capacity

Traditional IT

capacity

Elastic capacityElastic capacity

Capacity

Time

Your IT needsYour IT needs

On and OffOn and Off Fast GrowthFast Growth

Variable peaksVariable peaks Predictable peaksPredictable peaks

Elastic capacityElastic capacity

Elastic capacityElastic capacity

On and OffOn and Off Fast GrowthFast Growth

Predictable peaksPredictable peaksVariable peaksVariable peaks

WASTEWASTE

CUSTOMER DISSATISFACTION CUSTOMER DISSATISFACTION

Elastic cloud capacity

Traditional IT capacity

Your IT needsYour IT needs

Time

Capacity

Elastic capacityElastic capacity

Elastic capacityElastic capacity

Fast GrowthOn and Off

Predictable peaksVariable peaks

Online Games &Mobile Applications

=Client / Server apps

Client SideGame interface + Game Logic

Presentation + Experience

503Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

503Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Only 3 full time staff !

Serving over 5 Million users per month !

Static Content

Amazon S3Simple Storage Service for static content

0.000

250.000

500.000

750.000

1000.000

1 Trillion

Objects in S3Objects in S3

2GB free

millions of users

Amazon CloudFrontFlexible content delivery network

On a global footprintOn a global footprint

RegionRegion

US-WEST (N. California)US-WEST (N. California) EU-WEST (Ireland)EU-WEST (Ireland)

ASIA PAC (Tokyo)ASIA PAC (Tokyo)

ASIA PAC (Singapore)ASIA PAC (Singapore)

US-WEST (Oregon)US-WEST (Oregon)

SOUTH AMERICA (Sao Paulo)SOUTH AMERICA (Sao Paulo)

US-EAST (Virginia)US-EAST (Virginia)

GOV CLOUDGOV CLOUD

Availability ZoneAvailability Zone

On a global footprintOn a global footprint

Edge LocationsEdge Locations

Dallas(2)Dallas(2)

St.LouisSt.Louis

MiamiMiami

JacksonvilleJacksonvilleLos Angeles (2)Los Angeles (2)

Palo AltoPalo Alto

SeattleSeattle

Ashburn(2)Ashburn(2)

NewarkNewark

New York (2)New York (2)

DublinDublin

London(2)London(2)

AmsterdamAmsterdamStockholmStockholm

Frankfurt(2)Frankfurt(2)

Paris(2)Paris(2)

Singapore(2)Singapore(2)

Hong KongHong Kong

TokyoTokyo

Sao PauloSao Paulo

South BendSouth Bend

San JoseSan Jose

OsakaOsakaMilanMilan

SydneySydney

On a global footprintOn a global footprint

Amazon Route 53On-demand DNS service

18m users

410TB data

12 staff

Server SidePlayers state + Game Logic

Image Processing + Database

Dynamic Interaction

Amazon EC2On-demand instances with admin access

Pay only for what you use

!

Amazon ELB& Auto Scaling

Distribute load for highly scalable applications

6:00 AM

8:00 AM

8:00 AM

8:00 AM

7:00 PM

7:00 PM

7:00 PM

MMO GAMES

0

2

4

6

8

10

12

14

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

Load

Hour

Daily CPU Load

25% Savings

Optimize by the time of day

$52 / hr day

$15 / hr night

Data StorageRelational Databases

Amazon RDSRelational Database Service

RDS Read-ReplicasFor read-heavy applications

Amazon ElastiCacheMemcached compatible in-memory cache

Data Storage"NoSQL" Databases

Hardware provisioning

Data sharding

Data caching

Cluster management

Fault management

Requirement: predictable, consistent performance

Reality: performance degrades with scale

Scalability

Per

form

ance

The scalability challenge

Amazon DynamoDBFully managed NoSQL database service

Low LatencySSD-based storage nodes

Average reads <5ms, writes <10ms

Massive and Seamless Scalability

No table size or throughput limitsLive repartitioning for changes to storage and

throughput

Predictable PerformanceProvisioned throughput model

Durable and AvailableConsistent, disk-only writes (SSD)

Zero Administration

"2 backend engineers can scale a system to 30+

million users."

MOLOME™

81

Take a pictureor

Choose from Gallery

Manipulate

MOLOME™

82

Share to Website(and Twitter/Facebook)

Apply Effects

MOLOME™

83

Twitter

Facebook

aws.amazon.com/dynamodb

AWS is a set of infrastructure building blocks

Compute Storage

AWS Global Infrastructure

Database

App Services

Deployment & Administration

Networking

Reference ModelReference Model

Flexibility, Freedom of Choice

OK, WAIT.

THERE'S MORE

WW REACH

AWS RegionsUS East (Virginia)US West (Oregon)US West (N. California)AWS GovCloud (US)EU West (Ireland)Asia Pacific (Singapore)Asia Pacific (Tokyo)South America (Sao Paulo)

AWS CloudFront LocationsNorth AmericaAshburn, VA (2)Dallas/Fort Worth, TX (2)Jacksonville, FLLos Angeles, CA (2)Miami, FLNew York, NY (2)Newark, NJPalo Alto, CA

San Jose, CASeattle, WASouth Bend, INSt. Louis, MO

South AmericaSão Paulo, Brazil

Europe / Middle East / AfricaAmsterdam, The Netherlands (2)Dublin, IrelandFrankfurt, Germany (2)London, England (2)Milan, ItalyParis, France (2)Stockholm, Sweden

Asia PacificHong Kong, ChinaOsaka, JapanSingapore (2)Sydney, AustraliaTokyo, Japan

COST OPTIMIZATION

Reserved InstancesOne-time payment for each instance you want to reserve Receive a significant discount on the hourly usage charge

on-demand + reserved instances

aws.amazon.com/calculator

FAST ITERATIONS

A/B TESTING

PROTOTYPING

A prototype shouldn't require big investments…

… it should be cheap and validate ideas

innovate

« Want to increase innovation? Lower the cost of failure »

Joi Ito

FREE TIER!aws.amazon.com/free

aws.amazon.com/free

aws.amazon.com/game‐hosting

THANK YOUKingsley Wood

Business Development, APAC

kwood@amazon.com