26
Gaming in the Cloud Ian Massingham Technology Evangelist AWS @IanMmmm

Gaming in the Cloud - Pop-up Loft Tel Aviv

Embed Size (px)

Citation preview

Page 1: Gaming in the Cloud - Pop-up Loft Tel Aviv

GamingintheCloudIan Massingham Technology Evangelist AWS

@IanMmmm

Page 2: Gaming in the Cloud - Pop-up Loft Tel Aviv

AWS GAMING CUSTOMERS

Page 3: Gaming in the Cloud - Pop-up Loft Tel Aviv

2 31 4Mobile Long-TailFree to Play In-App Purchases

6 75 8Cross-Platform User Retention =

RevenueGlobal Reach New, Enlarged

Audience

TRENDS IN GAMING

Page 4: Gaming in the Cloud - Pop-up Loft Tel Aviv

FORECAST MOBILE APP REVENUE GROWTH ($M)

0

20,000

40,000

60,000

80,000

2011 2012 2013 2014 2015 2016 2017

Paid IAP Ads

Source: Gartner

Page 5: Gaming in the Cloud - Pop-up Loft Tel Aviv

ESSENTIAL ONLINE FEATURES

• Social Login

• Friends

• Leaderboards

• Push Messages

• Content Updates

• Analytics

Page 6: Gaming in the Cloud - Pop-up Loft Tel Aviv

ONE OTHER ESSENTIAL FEATURE: SCALING

Traditional: Rigid AWS: Elastic

Servers

Demand

Capacity

Excess Capacity Wasted $$

Demand

Unmet Demand Upset Players

Missed Revenue

Page 7: Gaming in the Cloud - Pop-up Loft Tel Aviv
Page 8: Gaming in the Cloud - Pop-up Loft Tel Aviv

USING AMAZON EC2 TO SIMULATE

2.4 MILLION PLAYERS

Page 9: Gaming in the Cloud - Pop-up Loft Tel Aviv

11* regions 28 availability zones 51 edge locations

* 10 for this use-case

Global Infrastructure: Go Global in Minutes

Page 10: Gaming in the Cloud - Pop-up Loft Tel Aviv
Page 11: Gaming in the Cloud - Pop-up Loft Tel Aviv

BACKEND TECHNOLOGY

• HTTP Based

• External Social API's

• Save State

• Database

• Static Data Store

• Mobile Push

• Analytics

Page 12: Gaming in the Cloud - Pop-up Loft Tel Aviv

LAUNCH FAST

• Choose Region • 10 Globally

• One Availability Zone • Ok for Development • No Redundancy

• EC2 Instance • Linux or Windows • App Server Code

• Elastic Load Balancer • DNS Entry Point

• Database • RDS or DIY

Region

ELB

Social API's

Page 13: Gaming in the Cloud - Pop-up Loft Tel Aviv

SCALE IT OUT

• Add Another AZ • High Availability • Load Balancing

• Secondary Database • RDS Multi-AZ • Or DIY

• S3 for Game Data • Assets • UGC • Analytics

ELB

S3

Region

Page 14: Gaming in the Cloud - Pop-up Loft Tel Aviv
Page 15: Gaming in the Cloud - Pop-up Loft Tel Aviv

SCALE IT WAY OUT

ELB

S3

Region

Page 16: Gaming in the Cloud - Pop-up Loft Tel Aviv

ELB

S3

EC2 EC2 EC2

Region

SCALE IT WAY OUT

• Auto Scaling Group • Capacity on Demand • Respond to Users

Page 17: Gaming in the Cloud - Pop-up Loft Tel Aviv

SCALE IT WAY OUT

ELB

S3

Region

• Auto Scaling Group • Capacity on Demand • Respond to Users

• ElastiCache • Memcache • Redis • Or DIY

Page 18: Gaming in the Cloud - Pop-up Loft Tel Aviv

ELB

S3

EC2 EC2 EC2

Region

SCALE IT WAY OUT

• Auto Scaling Group • Capacity on Demand • Respond to Users

• ElastiCache • Memcache • Redis • Or DIY

• CloudFront CDN • DLC, Assets • PUT / POST • Game Saves • UGC

Page 19: Gaming in the Cloud - Pop-up Loft Tel Aviv
Page 20: Gaming in the Cloud - Pop-up Loft Tel Aviv

Region

Availability Zone A

Availability Zone B

S3

EC2

ELB

EC2

WRITING IS PAINFUL/EXPENSIVE (IN RESOURCE TERMS)

• Games are Write Heavy • Caching of Limited Use • Key Value Key Value • Binary Data • Database = Bottleneck

Page 21: Gaming in the Cloud - Pop-up Loft Tel Aviv

Region

Availability Zone A

Availability Zone B

S3

EC2 EC2

ELB

DYNAMODB

• NoSQL Data Store • Fully-Managed • Highly Available • PUT/GET Keys • Provisioned Throughput • Secondary Indexes

Page 22: Gaming in the Cloud - Pop-up Loft Tel Aviv

OTHER TOPICS WE DIDN’T COVER

• Creating loosely coupled

architectures with

messages and queues

• Analytics with Elastic

MapReduce and Redshift

• Amazon AppStream

• AWS Mobile Services

Page 23: Gaming in the Cloud - Pop-up Loft Tel Aviv
Page 24: Gaming in the Cloud - Pop-up Loft Tel Aviv

aws.amazon.com/lumberyard

Page 25: Gaming in the Cloud - Pop-up Loft Tel Aviv

aws.amazon.com/gamelift

Page 26: Gaming in the Cloud - Pop-up Loft Tel Aviv

Ian MassinghamTechnology Evangelist, [email protected]