games + amazon = love - presentation quo vadis 2011

72
Games + Amazon = Quo Vadis Die Entwicklerkonferenz Jonathan Weiss @jweiss [email protected] 04.05.2011 Peritor GmbH

Upload: thomas-metschke

Post on 09-May-2015

985 views

Category:

Technology


0 download

DESCRIPTION

This is the presentation about Amazon and Games held by me on the "Quo Vadis / dgt11"

TRANSCRIPT

Page 1: Games + Amazon = Love - Presentation quo vadis 2011

Games + Amazon = Quo Vadis – Die Entwicklerkonferenz

Jonathan Weiss

@jweiss

[email protected]

04.05.2011

Peritor GmbH

Page 2: Games + Amazon = Love - Presentation quo vadis 2011

Games + Amazon = Quo Vadis – Die Entwicklerkonferenz

Jonathan Weiss

@jweiss

[email protected]

04.05.2011

Peritor GmbH

Thomas Metschke

@tmetschke

[email protected]

Page 3: Games + Amazon = Love - Presentation quo vadis 2011

About me

Page 4: Games + Amazon = Love - Presentation quo vadis 2011

flickr.com/photos/jurvetson/259424612

Page 5: Games + Amazon = Love - Presentation quo vadis 2011

Peritor GmbH

Consulting, development and workshops since 2005

Databases

Ruby & RoR Performance

Automation

Page 6: Games + Amazon = Love - Presentation quo vadis 2011

Scalarium – Cluster Management

Page 7: Games + Amazon = Love - Presentation quo vadis 2011

References

Page 8: Games + Amazon = Love - Presentation quo vadis 2011

Games and Amazon

Agen

da

Why do we talk about that

Amazon introduction

Other use cases

Demo time!

Page 9: Games + Amazon = Love - Presentation quo vadis 2011

Accelerators

Page 10: Games + Amazon = Love - Presentation quo vadis 2011

The Game

Page 11: Games + Amazon = Love - Presentation quo vadis 2011

Flexibility and Scalability

1:5 global

1:20 local

Page 12: Games + Amazon = Love - Presentation quo vadis 2011

Flexibility and Scalability

Page 13: Games + Amazon = Love - Presentation quo vadis 2011

A typical game / project

Need

Time

Page 14: Games + Amazon = Love - Presentation quo vadis 2011

Investments in basic stuff

SetUp Fee

Ne

ed

Time

Page 15: Games + Amazon = Love - Presentation quo vadis 2011

Stuff is moving

Beta / early stage Ne

ed

Time

Page 16: Games + Amazon = Love - Presentation quo vadis 2011

And growths

New investments Ne

ed

Time

Page 17: Games + Amazon = Love - Presentation quo vadis 2011

OMG we are on [insert stuff here]

Ne

ed

Time

Page 18: Games + Amazon = Love - Presentation quo vadis 2011

And again

new gear

is needed

Ne

ed

Time

Page 19: Games + Amazon = Love - Presentation quo vadis 2011

This sucks

Ne

ed

Time

Page 20: Games + Amazon = Love - Presentation quo vadis 2011

Old media hits you

1000 %

Growth

Page 21: Games + Amazon = Love - Presentation quo vadis 2011

Requests that day

limit

Users that

won‘t come

again

Page 22: Games + Amazon = Love - Presentation quo vadis 2011

Cloud Computing

Page 23: Games + Amazon = Love - Presentation quo vadis 2011

Cloud Computing - why

Ne

ed

Time

Page 24: Games + Amazon = Love - Presentation quo vadis 2011

Cloud promisses

Scalability

Cost

Reduction

Pay as you go

Ne

ed

Time

Page 25: Games + Amazon = Love - Presentation quo vadis 2011

Pay as you go

Scalability

Flexibility

Cost reduction

Page 26: Games + Amazon = Love - Presentation quo vadis 2011

Cloud Computing

Page 27: Games + Amazon = Love - Presentation quo vadis 2011

Cloud Computing

Concept

Technology

Mindset Innovation Solution Product Service

Page 28: Games + Amazon = Love - Presentation quo vadis 2011

Amazon

Page 29: Games + Amazon = Love - Presentation quo vadis 2011

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

Page 30: Games + Amazon = Love - Presentation quo vadis 2011

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

Page 31: Games + Amazon = Love - Presentation quo vadis 2011

Core Services

Page 32: Games + Amazon = Love - Presentation quo vadis 2011

Put them together

Page 33: Games + Amazon = Love - Presentation quo vadis 2011

Let’s get it on

Page 34: Games + Amazon = Love - Presentation quo vadis 2011

Amazon Elastic Compute Cloud

Page 35: Games + Amazon = Love - Presentation quo vadis 2011

Regions and Availability Zone

Page 36: Games + Amazon = Love - Presentation quo vadis 2011

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

Page 37: Games + Amazon = Love - Presentation quo vadis 2011

EC2 – Micro (burst) Instances

http://www.flickr.com/photos/brandonshigeta/459606017

Page 38: Games + Amazon = Love - Presentation quo vadis 2011

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

Page 39: Games + Amazon = Love - Presentation quo vadis 2011

EC2 Features

Page 40: Games + Amazon = Love - Presentation quo vadis 2011

Elastic IP

Page 41: Games + Amazon = Love - Presentation quo vadis 2011

Elastic Load Balancer ELB

Page 42: Games + Amazon = Love - Presentation quo vadis 2011

Elastic Block Store EBS

Page 43: Games + Amazon = Love - Presentation quo vadis 2011

Reserved Instances

Page 44: Games + Amazon = Love - Presentation quo vadis 2011

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

Page 45: Games + Amazon = Love - Presentation quo vadis 2011

Amazon Simple Storage Service

Page 46: Games + Amazon = Love - Presentation quo vadis 2011

Amazon S3

http://peritor-assets.s3.amazonaws.com/team/jonathan_weiss.jpg

bucket object

Page 47: Games + Amazon = Love - Presentation quo vadis 2011

Amazon S3

Page 48: Games + Amazon = Love - Presentation quo vadis 2011

Amazon S3

Reduced Redundancy Storage

http://www.flickr.com/photos/feil/57943087/

Page 49: Games + Amazon = Love - Presentation quo vadis 2011

Amazon S3

Supports Object Versioning

Versions Objects Buckets

Bucket

Object

V1

V2

Object V1

Object V1

V2

Page 50: Games + Amazon = Love - Presentation quo vadis 2011
Page 51: Games + Amazon = Love - Presentation quo vadis 2011

If you want to know more

Page 52: Games + Amazon = Love - Presentation quo vadis 2011

DaWanda

Page 53: Games + Amazon = Love - Presentation quo vadis 2011

DaWanda

Page 54: Games + Amazon = Love - Presentation quo vadis 2011

S3 as Asset Host

Page 55: Games + Amazon = Love - Presentation quo vadis 2011

S3 as Asset Host

Page 56: Games + Amazon = Love - Presentation quo vadis 2011

Peak Load

Page 57: Games + Amazon = Love - Presentation quo vadis 2011

Cloud Bursting

Page 58: Games + Amazon = Love - Presentation quo vadis 2011

Batch Processing

sxc.hu/photo/719240

Page 59: Games + Amazon = Love - Presentation quo vadis 2011

Development and Testing

Page 60: Games + Amazon = Love - Presentation quo vadis 2011

Load fluctuation

http://www.flickr.com/photos/grandhi/4273164657

Page 61: Games + Amazon = Love - Presentation quo vadis 2011

Disaster-Recovery

http://www.flickr.com/photos/compleo/4531959521/

Page 62: Games + Amazon = Love - Presentation quo vadis 2011

Automation

flickr.com/photos/torek/3788181603

Page 63: Games + Amazon = Love - Presentation quo vadis 2011

What you get from Amazon

Ubuntu Linux

IBM

Oracle

Red

Hat

CentOS

Open

Solaris Suse

Windows

Infrastructure as a Service

Page 64: Games + Amazon = Love - Presentation quo vadis 2011

What you really want

Fully configured stack of servers, dependencies, firewalls, …, and your own

application deployed

Load balancer

App server

Database

Page 65: Games + Amazon = Love - Presentation quo vadis 2011

Configuration and repetition

Load balancer

App server

Database

Page 66: Games + Amazon = Love - Presentation quo vadis 2011

Heal and restore

Load balancer

App server

Database

Page 67: Games + Amazon = Love - Presentation quo vadis 2011

Scaling your infrastructure

Manual Time

Application Load

Page 68: Games + Amazon = Love - Presentation quo vadis 2011

Deployment

flickr.com/photos/sally_monster/3320645620

Page 69: Games + Amazon = Love - Presentation quo vadis 2011

Scalarium

EC2 Cluster Management

Page 70: Games + Amazon = Love - Presentation quo vadis 2011
Page 71: Games + Amazon = Love - Presentation quo vadis 2011

Basic Architecture

All configuration, management and

deployment trough Scalarium.

No other tools needed.

Page 72: Games + Amazon = Love - Presentation quo vadis 2011

© Peritor GmbH - Alle Rechte vorbehalten