planforcloud - ali khajeh-hosseini

43
Ali Khajeh-Hosseini @AliKhajeh, @PlanForCloud March 2013, University of Edinburgh

Upload: rightscale

Post on 20-Aug-2015

4.977 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: PlanForCloud - Ali Khajeh-Hosseini

Ali Khajeh-Hosseini

@AliKhajeh, @PlanForCloud

March 2013, University of Edinburgh

Page 2: PlanForCloud - Ali Khajeh-Hosseini

Why am I here?

Describe our journey… from research to startup

Page 3: PlanForCloud - Ali Khajeh-Hosseini

Jan 2009: Started PhD in St Andrews

Feb 2011: Interned in California for 7 months

Dec 2011: Hassan quit his job and joined

May 2010: PlanForCloud v.1 ready

May 2012: Mountain View for YC interview

Feb 2012: Launched PlanForCloud v.2

Page 4: PlanForCloud - Ali Khajeh-Hosseini
Page 5: PlanForCloud - Ali Khajeh-Hosseini

1. Perfect fit between products 2. Scotland is a great talent pool

Why?

Page 6: PlanForCloud - Ali Khajeh-Hosseini

PlanForCloud helps users make decisions

RightScale helps users do it

Page 7: PlanForCloud - Ali Khajeh-Hosseini

1st year: $450M of cloud-spend forecast

Page 8: PlanForCloud - Ali Khajeh-Hosseini

What the heck is… a cloud?

Page 9: PlanForCloud - Ali Khajeh-Hosseini

Server

Page 10: PlanForCloud - Ali Khajeh-Hosseini

Rack

Page 11: PlanForCloud - Ali Khajeh-Hosseini

Container

Page 12: PlanForCloud - Ali Khajeh-Hosseini

Electricity, Water, Internet

2500 Servers

Page 13: PlanForCloud - Ali Khajeh-Hosseini
Page 14: PlanForCloud - Ali Khajeh-Hosseini
Page 15: PlanForCloud - Ali Khajeh-Hosseini

a cloud

Page 16: PlanForCloud - Ali Khajeh-Hosseini

Around 60 Staff 30 Megawatts = Perth (Scotland)! 140 Containers 38,500 m2 = 4 ftbl pitches

360,000 Servers 500,000,000 Dollars

h"p://www.microso..com/Presspass/emea/presscentre/pressreleases/February2012/23-­‐02DublinDataCentre.mspx    

Page 17: PlanForCloud - Ali Khajeh-Hosseini

Cloud computing has many benefits - Elasticity - Pay-per-use pricing ...

Why cloud?

Page 18: PlanForCloud - Ali Khajeh-Hosseini

Animoto’s crazy scale-out

h"p://blog.rightscale.com/2008/04/23/animoto-­‐facebook-­‐scale-­‐up/  

Scale-out from 50 to 4,000 servers in 3 days

Page 19: PlanForCloud - Ali Khajeh-Hosseini

Zynga’s Z-Cloud

h"p://www.rightscale.com/customers/zynga-­‐grows-­‐to-­‐1-­‐social-­‐gaming-­‐site-­‐with-­‐rightscale.php  h"p://code.zynga.com/2012/02/the-­‐evoluJon-­‐of-­‐zcloud/  

Launch new games on public clouds Move to private cloud when usage patterns are understood

Page 20: PlanForCloud - Ali Khajeh-Hosseini

There are many providers and pricing models

We have over 10,000 prices

Page 21: PlanForCloud - Ali Khajeh-Hosseini

Example: a MySQL Database AWS Relation Database Service (RDS) - Up-front reservation fee (optional) - CPU: $X/hour (based on instance type and cloud) - Storage: $X/GB/month - Transactions: $X/Millions of I/O ops - Provisioned IOPS: $X/IOPS/month (has other limitations) - Redundancy: double the CPU hourly rate - Data transfer: $X/GB (tiered across cloud)

Page 22: PlanForCloud - Ali Khajeh-Hosseini

There are different purchase options - On-Demand: fixed rate - Reserved: pay upfront, lower rate - Spot: Bid how much you would pay - Discounts and consolidated bills

Page 23: PlanForCloud - Ali Khajeh-Hosseini

up-front procurement to pay-per-use

Image  taken  from  h"p://aws.typepad.com/aws/2011/12/reserved-­‐instance-­‐opJons-­‐for-­‐amazon-­‐ec2.html  

AWS Reserved Instances

You have to specify: term (1/3 yr), utilization, availability zone, instance type and OS when buying a RI

Page 24: PlanForCloud - Ali Khajeh-Hosseini

AWS Reserved Instances Marketplace

Buy and sell reservations

Page 25: PlanForCloud - Ali Khajeh-Hosseini

AWS Spot Prices

Bid for an instance, it’ll get switched on if bid >= spot price. You pay spot price, AWS sets it.

h"p://www.cs.technion.ac.il/~ladypine/spotprice-­‐slides-­‐postmortem.pdf  

Page 26: PlanForCloud - Ali Khajeh-Hosseini

Prices change (feels like there’s a price war between providers)

Page 27: PlanForCloud - Ali Khajeh-Hosseini

What the heck? I just wanted a simple database

PlanForCloud simplifies this

Page 28: PlanForCloud - Ali Khajeh-Hosseini

How much would it cost to deploy my systems on Cloud X?

Would it be cheaper if I use deployment option X or Y?

What happens to my costs if: -  my system grows? -  cloud provider changes prices?

Page 29: PlanForCloud - Ali Khajeh-Hosseini

Software Engs Accountants

Users

IT managers Consultants

Page 30: PlanForCloud - Ali Khajeh-Hosseini

How much would Pinterest or TripAdvisor cost

to host on the cloud?  

h"p://highscalability.com/blog/2012/11/1/cost-­‐analysis-­‐tripadvisor-­‐and-­‐pinterest-­‐costs-­‐on-­‐the-­‐aws-­‐clo.html    

Page 31: PlanForCloud - Ali Khajeh-Hosseini

How much would it cost to deploy System X on Cloud Y?

e.g. TripAdvisor’s 700K requests/min system on the AWS US-East cloud

Page 32: PlanForCloud - Ali Khajeh-Hosseini
Page 33: PlanForCloud - Ali Khajeh-Hosseini
Page 34: PlanForCloud - Ali Khajeh-Hosseini

$1.7M/year

Page 35: PlanForCloud - Ali Khajeh-Hosseini

Would it be cheaper to use deployment option X or Y?

e.g. reserved instances, different types of instances, different cloud providers…

Page 36: PlanForCloud - Ali Khajeh-Hosseini

$0.9M/year (using reserved instances)

1st month: $450K After: $38K/month

Page 37: PlanForCloud - Ali Khajeh-Hosseini

What happens to costs if system grows?

e.g. start with 410TB of S3 storage, then grow by 25% every month

Page 38: PlanForCloud - Ali Khajeh-Hosseini

Currently: $39K/month 1yr from now: $470K/month

Page 39: PlanForCloud - Ali Khajeh-Hosseini

It’s starting to get interesting 1. Many clouds worldwide 2. Many pricing models 3. Markets for computing 4. RightScale helps move between clouds

Cost optimisation

Page 40: PlanForCloud - Ali Khajeh-Hosseini

1st office: home

Then we moved to the TechCube

Page 41: PlanForCloud - Ali Khajeh-Hosseini
Page 42: PlanForCloud - Ali Khajeh-Hosseini
Page 43: PlanForCloud - Ali Khajeh-Hosseini

RightScale����������� ������������������  2012����������� ������������������  

We’re hiring! www.PlanForCloud.com