36
gaming with @avinci

Gaming AWS with Docker - Gluecon 2014

Embed Size (px)

DESCRIPTION

"Gaming AWS with Docker : 70% Cost Reduction With 2x More Scale at Shippable - Avi Cavale, Shippable - Hosting costs are an area of major concern for most SaaS companies. These costs drive many important decisions around scale, pricing, and feasibility of a freemium business model. Running our service on Docker containers has helped us at Shippable reduce cost of operations on Amazon EC2 by ~70%, while also reducing deployment time.

Citation preview

Page 1: Gaming AWS with Docker - Gluecon 2014

gaming with

@avinci

Page 2: Gaming AWS with Docker - Gluecon 2014

F o u n d e d : F e b 2 0 1 3H Q : S e a t t l e# E m p l o y e e s : 1 0

the fastest Continuous Delivery platform

Page 3: Gaming AWS with Docker - Gluecon 2014

why is it so successful?

Page 4: Gaming AWS with Docker - Gluecon 2014

why is it so successful?

because of what they don’t let you do

Page 5: Gaming AWS with Docker - Gluecon 2014

really?

Page 6: Gaming AWS with Docker - Gluecon 2014

corporate data centers lack standardization

Page 7: Gaming AWS with Docker - Gluecon 2014

becauseevery app is custom built

devapp A

devapp B

Page 8: Gaming AWS with Docker - Gluecon 2014

& infrastructure has the onus of

app resiliency

Page 9: Gaming AWS with Docker - Gluecon 2014

took Custom away from the Customer

Page 10: Gaming AWS with Docker - Gluecon 2014

• standardized massive machines– multi-procs– multi-cores– multi-NICs

• virtualization

• business model– arbitrage

Page 11: Gaming AWS with Docker - Gluecon 2014
Page 12: Gaming AWS with Docker - Gluecon 2014
Page 13: Gaming AWS with Docker - Gluecon 2014

need for speed

Page 14: Gaming AWS with Docker - Gluecon 2014

Shippable Continuous Delivery

mwmaster

Page 15: Gaming AWS with Docker - Gluecon 2014

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

fork

push

Page 16: Gaming AWS with Docker - Gluecon 2014

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

fork

pushpull reqCI

Page 17: Gaming AWS with Docker - Gluecon 2014

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

forkpre

prod prod

pushpull reqCI

Page 18: Gaming AWS with Docker - Gluecon 2014

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

dev2/mwmaster

CI

CI

CI

fork

fork

pushpull req

pre prod prod

pushpull reqCI

Page 19: Gaming AWS with Docker - Gluecon 2014

• m3.medium– $50 a month (0.07/hr )

• each component (ui, mw…)– 3 CI machines – 2 devs, 1 master

$150 a month / component

X 8

Page 20: Gaming AWS with Docker - Gluecon 2014

$1200 a month just for build machines

Page 21: Gaming AWS with Docker - Gluecon 2014

$1200 + $800 + $2000builds pre prod prod

m3.med24 VMs

m3.med16 VMs

m3.lrg20 VMs

total infrastructure costs

Page 22: Gaming AWS with Docker - Gluecon 2014

$1200 + $800 + $2000builds pre prod prod

m3.med24 VMs

m3.med16 VMs

m3.lrg20 VMs

total infrastructure costs

$4K a month

Page 23: Gaming AWS with Docker - Gluecon 2014

to the rescue

aug 2013

Page 24: Gaming AWS with Docker - Gluecon 2014
Page 25: Gaming AWS with Docker - Gluecon 2014

• provision a super large VM– c3.2xlarge

Page 26: Gaming AWS with Docker - Gluecon 2014

• provision a super large VM– c3.2xlarge

• layer docker

Page 27: Gaming AWS with Docker - Gluecon 2014

• provision a super large VM– c3.2xlarge

• layer docker

• provision containers for each component

index.docker.io

Page 28: Gaming AWS with Docker - Gluecon 2014

2 x c3.2xlarge

$600/month

prod

Page 29: Gaming AWS with Docker - Gluecon 2014

$1200 + $800 + $2000builds pre prod prod

Page 30: Gaming AWS with Docker - Gluecon 2014

$1200 + $800 + $2000builds pre prod prod

$300 + $300 + $600c3.xlarge

2 VMsc3.xlarge

2 VMsc3.2xlarge

2 VMs

Page 31: Gaming AWS with Docker - Gluecon 2014

+ all the cool stuff of docker

portability

layering of images

instant spin-up

no super slow aws snapshots

build once and run anywhere

Page 32: Gaming AWS with Docker - Gluecon 2014

$4000 $1200

on

Page 33: Gaming AWS with Docker - Gluecon 2014

$4000 $1200

on

60VMs 6VMs

Page 34: Gaming AWS with Docker - Gluecon 2014

www.shippable.com

the fastest Continuous Delivery platform

Page 35: Gaming AWS with Docker - Gluecon 2014

avi cavale

@avinci

av [email protected]

Page 36: Gaming AWS with Docker - Gluecon 2014

thank you