Post on 11-Apr-2017
GamingintheCloudIan Massingham Technology Evangelist AWS
@IanMmmm
AWS GAMING CUSTOMERS
2 31 4Mobile Long-TailFree to Play In-App Purchases
6 75 8Cross-Platform User Retention =
RevenueGlobal Reach New, Enlarged
Audience
TRENDS IN GAMING
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
ESSENTIAL ONLINE FEATURES
• Social Login
• Friends
• Leaderboards
• Push Messages
• Content Updates
• Analytics
ONE OTHER ESSENTIAL FEATURE: SCALING
Traditional: Rigid AWS: Elastic
Servers
Demand
Capacity
Excess Capacity Wasted $$
Demand
Unmet Demand Upset Players
Missed Revenue
USING AMAZON EC2 TO SIMULATE
2.4 MILLION PLAYERS
11* regions 28 availability zones 51 edge locations
* 10 for this use-case
Global Infrastructure: Go Global in Minutes
BACKEND TECHNOLOGY
• HTTP Based
• External Social API's
• Save State
• Database
• Static Data Store
• Mobile Push
• Analytics
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
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
SCALE IT WAY OUT
ELB
S3
Region
ELB
S3
EC2 EC2 EC2
Region
SCALE IT WAY OUT
• Auto Scaling Group • Capacity on Demand • Respond to Users
SCALE IT WAY OUT
ELB
S3
Region
• Auto Scaling Group • Capacity on Demand • Respond to Users
• ElastiCache • Memcache • Redis • Or DIY
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
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
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
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
aws.amazon.com/lumberyard
aws.amazon.com/gamelift
Ian MassinghamTechnology Evangelist, AWSianmas@amazon.com