games + amazon = love - presentation quo vadis 2011
DESCRIPTION
This is the presentation about Amazon and Games held by me on the "Quo Vadis / dgt11"TRANSCRIPT
Games + Amazon = Quo Vadis – Die Entwicklerkonferenz
Jonathan Weiss
@jweiss
04.05.2011
Peritor GmbH
Games + Amazon = Quo Vadis – Die Entwicklerkonferenz
Jonathan Weiss
@jweiss
04.05.2011
Peritor GmbH
Thomas Metschke
@tmetschke
About me
flickr.com/photos/jurvetson/259424612
Peritor GmbH
Consulting, development and workshops since 2005
Databases
Ruby & RoR Performance
Automation
Scalarium – Cluster Management
References
Games and Amazon
Agen
da
Why do we talk about that
Amazon introduction
Other use cases
Demo time!
Accelerators
The Game
Flexibility and Scalability
1:5 global
1:20 local
Flexibility and Scalability
A typical game / project
Need
Time
Investments in basic stuff
SetUp Fee
Ne
ed
Time
Stuff is moving
Beta / early stage Ne
ed
Time
And growths
New investments Ne
ed
Time
OMG we are on [insert stuff here]
Ne
ed
Time
And again
new gear
is needed
Ne
ed
Time
This sucks
Ne
ed
Time
Old media hits you
1000 %
Growth
Requests that day
limit
Users that
won‘t come
again
Cloud Computing
Cloud Computing - why
Ne
ed
Time
Cloud promisses
Scalability
Cost
Reduction
Pay as you go
Ne
ed
Time
Pay as you go
Scalability
Flexibility
Cost reduction
Cloud Computing
Cloud Computing
Concept
Technology
Mindset Innovation Solution Product Service
Amazon
Amazon Web Services
Elastic Compute Cloud (EC2)
Elastic MapReduce Auto Scaling CloudFront SimpleDB
Relational Database Service (RDS)
Elastic Beanstalk CloudFormation Fulfillment Web Service (FWS)
Simple Queue Service (SQS)
Simple Notification Service (SNS)
Simple Email Service (SES)
CloudWatch Route 53 Virtual Private Cloud (VPC)
Elastic Load Balancing
Flexible Payments Service (FPS)
DevPay Simple Storage
Service (S3) Elastic Block
Storage (EBS)
AWS Import/Export AWS Premium
Support Alexa Web
Information Service Alexa Top Sites Mechanical Turk
Core Services
Compute
Elastic Compute
Cloud
Auto Scaling Elastic Load
Balancer
Storage
Simple Storage Service
Elastic Block
Storage
Database
SimpleDB
Relational Database Service
Messaging
Simple Queue Service
Simple Notification
Service
Core Services
Put them together
Let’s get it on
Amazon Elastic Compute Cloud
Regions and Availability Zone
Instance types
RAM Cores x ECU Arch
Hourly Cost
(US-East)
Monthly Cost
(US-East)
Standard
Small 1.7 GB 1 x 1 32bit $0.085 $62
Large 7.5 GB 2 x 2 64bit $0.34 $248
Extra Large 15 GB 4 x 2 64bit
$0.68 $496
High-Memory
Extra Large 17.1 GB 2 x 3.25 64bit
$0.50 $366
Double Extra Large 34.2 GB 4 x 3.25 64bit
$1.00 $732
Quadruple Extra Large 68.4 GB 8 x 3.25 64bit
$2.00 $1464
High-CPU
Medium 1.7 GB 2x 2.5 32bit
$0.17 $124
Extra Large 7 GB 8 x 2.5 64bit
$0.68 $496
EC2 – Micro (burst) Instances
http://www.flickr.com/photos/brandonshigeta/459606017
EC2 - Cluster Compute Instance
http://www.flickr.com/photos/11391462@N08/4043812680
880 Cluster
Compute
instances ==
41.82 TeraFLOPS
==
position 146 on
the Top500 list of
supercomputers
EC2 Features
Elastic IP
Elastic Load Balancer ELB
Elastic Block Store EBS
Reserved Instances
Consolidated Billing
Link AWS Accounts
Linked Accounts
Consolidated Billing account
AWS Account 1
AWS Account 2
AWS Account 3
AWS Account 4
Get a consolidated Bill
AWS Account 1
AWS Account 2
AWS Account 3
AWS Account 4
Total
$ 59,12
$ 13,34
$ 153,23
$ 83,64
$ 309,33
Amazon Simple Storage Service
Amazon S3
http://peritor-assets.s3.amazonaws.com/team/jonathan_weiss.jpg
bucket object
Amazon S3
Amazon S3
Reduced Redundancy Storage
http://www.flickr.com/photos/feil/57943087/
Amazon S3
Supports Object Versioning
Versions Objects Buckets
Bucket
Object
V1
V2
…
Object V1
Object V1
V2
If you want to know more
DaWanda
DaWanda
S3 as Asset Host
S3 as Asset Host
Peak Load
Cloud Bursting
Batch Processing
sxc.hu/photo/719240
Development and Testing
Load fluctuation
http://www.flickr.com/photos/grandhi/4273164657
Disaster-Recovery
http://www.flickr.com/photos/compleo/4531959521/
Automation
flickr.com/photos/torek/3788181603
What you get from Amazon
Ubuntu Linux
IBM
Oracle
Red
Hat
CentOS
Open
Solaris Suse
Windows
Infrastructure as a Service
What you really want
Fully configured stack of servers, dependencies, firewalls, …, and your own
application deployed
Load balancer
App server
Database
Configuration and repetition
Load balancer
App server
Database
Heal and restore
Load balancer
App server
Database
Scaling your infrastructure
Manual Time
Application Load
Deployment
flickr.com/photos/sally_monster/3320645620
Scalarium
EC2 Cluster Management
Basic Architecture
All configuration, management and
deployment trough Scalarium.
No other tools needed.
© Peritor GmbH - Alle Rechte vorbehalten