science of saving with aws reserved instances - 9/11/14

53
@cloudability

Upload: cloudability

Post on 21-Jun-2015

137 views

Category:

Technology


0 download

DESCRIPTION

Choosing the right Reserved Instances isn’t an art, it’s a science. Perfecting that science could save you up to 65% on your AWS bill. In this presentation, you’ll learn the math and science used by thousands of AWS users to optimize their Reserved Instance portfolios. Topics include: - Identifying the right Reserved Instances for your company's usage - Avoiding common Reserved Instance pitfalls - Maintaining long-term savings as your usage changes

TRANSCRIPT

Page 1: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Page 2: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

The Science Of Saving With AWS Reserved Instances

Page 3: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Introduction

Today’s Topics1. Purchasing Pitfalls

2. Anatomy Of A Reservation

3. A Simplified Calculation

4. Reservation Purchasing Recommendations

Aaron Kaffen Director of Marketing

TODAY’S SPEAKER

Page 4: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Poll

Is your company currently purchasing AWS reservations?

Page 5: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

WARNING: Math ahead.

Page 6: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

About Us

Cloud Infrastructure Analytics

Over $1B in tracked cloud costs across 10,000+ users

Page 7: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Our SolutionHow It Works

1 2 3

4 5

Spend Management Spending visibility via monthly forecasts, dash-board, budget alerts, and daily email digests.

Cost Analytics Dig into your operating costs with detailed costs by tag, service, and usage type. !

EC2 Usage Analytics Spot under-utilized resources w/ instance level usage metrics. !!

RI Purchase Analytics Understand the exact combination of Reserved Instances that will maximize your savings. !

Enterprise Enablement Organizational group views/filtering/rollups, multi-user access. !

$1B+ of cloud spending under management • 13,000 users

Page 8: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

No Software to InstallHow It Works

We Collect We pull data directly from public cloud provider APIs.

We Store We warehouse your historical data.

You Access You log into cloudability.com to access analytics. !

Page 9: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Purchasing Pitfalls

Page 10: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Most companies over-simplify reservation purchasing

Page 11: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

RESULT: RI purchases misalign to your needs reducing ROI

Page 12: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Go all in on 1 or 2 large buys each year

Page 13: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Result: Large cliffs in reservation levels

Page 14: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Poll

How frequently is your company purchasing reservations?

Page 15: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

Page 16: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

What is a Reservation?Reservations allow you to reserve resources/capacity for one or three years in a particular availability zone in exchange for a lower overall unit price.

COMPUTE

Amazon EC2

DATABASE

DynamoDB

RDS

Redshift

Elasticache

CDN

CloudFront

Page 17: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

Why Make Reservations?

1. Lower the cost of resources you are already using Reservations provide substantial cost savings versus “on-demand” pricing.

2. Lock-in future capacity in the same Availability Zone Very useful if you experience bursts/spikes in usage

3. Reserve capacity in another region just in case... Demand spikes could cause a run on capacity. Reservations ensure you get seat at the table.

Page 18: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Reservations are applied each hour

Page 19: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

What Makes Up a ReservationReserve a particular type of infrastructure:

Instance Family Size OS Location

m1 large Linux us-east-1a

r3 8xlarge RHEL us-west-2b

1 year 3 yearOR

light medium heavyOR OR

Instance class

Term

RI type

For a particular time:

With an expected usage level

Page 20: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

Pricing Components

Reservation Type Upfront Fee Hourly Usage Fee Minimum Usage Level

Light Low Highest

None If the instance is not used during the hour, there is no charge.

Medium Higher Higher

None If the instance is not used during the hour, there is no charge.

Heavy Highest Low

Yes Billed a full month’s worth of hours at the start of each month.

Page 21: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

Break-even Points

m1.xlarge LINUX us-east-1a instance - over 3 years

Annual Utilization Rate Light RI Savings Rate Medium RI Savings Rate Heavy RI Savings Rate

20% 25% -7% -77%

40% 40% 33% 11%

60% 45% 46% 41%

80% 48% 52% 56%

100% 49% 59% 65%

There are 2,000+ different reservation classes each with their own “break-even” points.

Page 22: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Anatomy of a Reservation

Break-even Points

m1.xlarge LINUX us-east-1a instance - over 3 years

Annual Utilization Rate Light RI Savings Rate Medium RI Savings Rate Heavy RI Savings Rate

20% 25% -7% -77%

40% 40% 33% 11%

60% 45% 46% 41%

80% 48% 52% 56%

100% 49% 59% 65%

There are 2,000+ different reservation classes each with their own “break-even” points.

Page 23: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Poll

Why is your company purchasing reservations?

Page 24: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Calculation

Page 25: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Overall utilization can be misleading

Page 26: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

30% 30% 30%

30% is greater than the break even point for a light reservation

1 2 3

3 Light

Page 27: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

Remember: Reservations are applied every hour

Page 28: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

If the instances are running at the same time you need multiple RIs

Sun Mon Tue Wed Thu Fri Sat

1 2 3 4 5 6 7

8 9 10 11 12 13 14

15 16 17 18 19 20 21

22 23 24 26 27 28 29

30

Page 29: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

On-demand hourly cost $0.240

RI hourly cost $0.136

RI upfront fees $729

Effective hourly rate @ 30% utilization $0.228

Hourly Savings $0.011

Total Savings for this example $90.93

Page 30: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

4.8%

SAVINGS RATE

Page 31: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

Sun Mon Tue Wed Thu Fri Sat

1 2 3 4 5 6 7

8 9 10 11 12 13 14

15 16 17 18 19 20 21

22 23 24 26 27 28 29

30

Page 32: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

Collectively the 3 instances cover 90% of the hours of the month

21

3

Heavy

Page 33: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

A tale of three instances

On-demand hourly cost $0.240

RI upfront fee $676

RI hourly cost $0.056

Effective hourly rate @ 90% utilization $0.141

Hourly Savings $0.098

Total Savings for this example $774.65

Page 34: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

41%

SAVINGS RATE

Page 35: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Intro

A tale of three instances

1 Heavy 3 Lights

Total Savings $774.65 $90.93

Total upfront fees $676 $729

Buying 3 lights would have wasted $486 in upfront fees

Page 36: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Applying what we’ve learned:

You have to understand how many instances are running each hour to know how many RIs to purchase

Page 37: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the Month

Hour of month Running Instances

1 4

2 6

3 0

4 5

5 7

6 8

7 5

8 3

9 12

10 3

(example assumes 10 hours in the month)

Page 38: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Example break-even points

RI Type Utilization Rate

Light 20%

Medium 30%

Heavy 60%

Page 39: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the Month

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

Page 40: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

90%1 INSTANCE

Page 41: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

90%2 INSTANCES

Page 42: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

90%3 INSTANCES

Page 43: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

70%4 INSTANCES

Page 44: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

60%5 INSTANCES

Page 45: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

5 Heavy

Page 46: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

30%7 INSTANCES

5 Heavy

Page 47: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

5 Heavy

2 Medium

Page 48: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

5 Heavy

2 Medium

20%8 INSTANCES

Page 49: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

A Simplified Reservation Calculation

Running Instances by Hour of the

0

3

6

9

12

1 2 3 4 5 6 7 8 9 10

5 Heavy

2 Medium

1 Light

Page 50: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Put it into practice!

(demo time)

Page 51: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Purchasing Recommendations

Page 52: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Purchasing Recommendations

Putting It To Work At Your Company

• Base purchase decisions on hourly instance counts of each instance type per Availability Zone (not aggregate data)

!

• Frequent reservation purchases help maximize cost efficiency

!

• Don’t over-purchase heavy reservations. Utilize Light and Medium reservations to handle volatility

Page 53: Science Of Saving With AWS Reserved Instances - 9/11/14

@cloudability

Thank You!

For more info

Or contact us

cloudability.com

[email protected]

Presentation cldy.co/ri-deck