Gaming AWS with Docker - Gluecon 2014

Post on 29-Nov-2014

2.157 views 6 download

Tags:

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.

Transcript of Gaming AWS with Docker - Gluecon 2014

gaming with

@avinci

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

why is it so successful?

why is it so successful?

because of what they don’t let you do

really?

corporate data centers lack standardization

becauseevery app is custom built

devapp A

devapp B

& infrastructure has the onus of

app resiliency

took Custom away from the Customer

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

• virtualization

• business model– arbitrage

need for speed

Shippable Continuous Delivery

mwmaster

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

fork

push

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

fork

pushpull reqCI

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

CI

forkpre

prod prod

pushpull reqCI

Shippable Continuous Delivery

mwmaster

dev1/mwmaster

dev2/mwmaster

CI

CI

CI

fork

fork

pushpull req

pre prod prod

pushpull reqCI

• 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

$1200 a month just for build machines

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

m3.med24 VMs

m3.med16 VMs

m3.lrg20 VMs

total infrastructure costs

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

m3.med24 VMs

m3.med16 VMs

m3.lrg20 VMs

total infrastructure costs

$4K a month

to the rescue

aug 2013

• provision a super large VM– c3.2xlarge

• provision a super large VM– c3.2xlarge

• layer docker

• provision a super large VM– c3.2xlarge

• layer docker

• provision containers for each component

index.docker.io

2 x c3.2xlarge

$600/month

prod

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

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

$300 + $300 + $600c3.xlarge

2 VMsc3.xlarge

2 VMsc3.2xlarge

2 VMs

+ all the cool stuff of docker

portability

layering of images

instant spin-up

no super slow aws snapshots

build once and run anywhere

$4000 $1200

on

$4000 $1200

on

60VMs 6VMs

www.shippable.com

the fastest Continuous Delivery platform

avi cavale

@avinci

av i@shippable.com

thank you