SlideShare a Scribd company logo
1 of 44
Download to read offline
The Science Behind
Choosing Reserved
Instances

@cloudability
Introduction

Today’s Topics
1. Purchasing Pitfalls

TODAY’S SPEAKER

2. Understanding
Reservations
3. How to calculate RIs
4. Recommended RI
purchase approach

Toban Zolman
VP of Product Development

@cloudability
WARNING: Math ahead.

@cloudability
About Us

Cloud Infrastructure Analytics

Infrastructure analytics for scaled web businesses and enterprises.
650M+ in tracked cloud costs. 8,000+ Users

@cloudability
How It Works

Our Solution

1

Spend
Management
Spending visibility via
monthly forecasts, dashboard, budget alerts, and
daily email digests.

2

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

!

4

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

!

5

3

EC2 Usage
Analytics
Spot under-utilized 

resources w/ instance
level usage metrics.

!
!

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

!

@cloudability
How It Works

No Software to Install

You Access

We Collect

You log into
cloudability.com to
access analytics.

We pull data directly from
public cloud provider APIs.

!

We Store
We warehouse your
historical data.

@cloudability
Purchasing Pitfalls

@cloudability
Is your company currently
purchasing AWS reservations?

@cloudability
What we’ve learned:

Most companies over simplify
reservation purchasing

@cloudability
RESULT: RI purchases misalign
to your needs reducing ROI
@cloudability
Go all in on 1 or 2 large buys each year

@cloudability
Result: Large cliffs in
reservation levels

@cloudability
How frequently are you
purchasing reservations?

@cloudability
Understanding
Reservations

@cloudability
Understanding Reservations

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

CDN

CloudFront

RDS
Redshift
Elasticache

@cloudability
Understanding Reservations

Why make reservations?
1. Lower the cost of resources you are already using

Reservations provide substantial cost savings versus “ondemand” pricing.

@cloudability
Understanding Reservations

RI Cost Savings vs. On-Demand
There are 2,000+ different reservation types each with their own “break-even” points.

LINUX m1.xlarge 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%

@cloudability
Understanding Reservations

Why make reservations?
1. Lower the cost of resources you are already using

Reservations provide substantial cost savings versus “ondemand” 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...

Outages could cause a run on capacity. Reservations ensure
you get seat at the table.

@cloudability
Why are you purchasing
reserved instances?

@cloudability
Reserved Instance Pricing
Components
Reservation Type

Upfront Fee

Hourly Usage Fee

Minimum Usage Level

None
Light

Yes

Yes

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

None
Medium

Yes

Yes

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

Yes
Heavy

Yes

Yes

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

@cloudability
Understanding Reservations

How are reservations applied?
• Reserved Instances are purchased for an instance
type (m1.xlarge) with a specified OS (LINUX) in a
particular Availability Zone (us-east-1a)

• Reservations are applied each hour.

• If an instance is running in a “linked account”, it can
inherit an unused reservation from a different linked
account under the consolidated billing payer
account

• Capacity reservation stays with the linked account.
@cloudability
Understanding Reservations

Modifying Reserved Instances
• Amazon allows companies to apply to transfer a
reservation from one Availability Zone to another

• Trade-in existing Reserved Instances for a different
size in the same family

@cloudability
Understanding Reservations

Changing Instance Type
Instance Size

Normalization Factor

small

1

medium

2

large

4

xlarge

8

2xlarge

16

4xlarge

32

8xlarge

64

1 xlarge g 2 large

1 large g 4 small
@cloudability
Understanding Reservations

Instance types without a family
• t1.micro
!

• cc1.4xlarge
!

• cc2.8xlarge

• cr1.8xlarge
!

• hi1.4xlarge
!

• hs1.8xlarge

!

• cg1.8xlarge
!

@cloudability
Understanding Reservations

The Fine Print
• Transfers do not happen automatically

• Transfers are not guaranteed and are based on
available capacity

@cloudability
A Simplified RI
Calculation

@cloudability
A Simplified RI Calculation

Overall utilization can be misleading

@cloudability
A tale of three instances

m1.large linux us-east-1a
1

30%

t
h
ig
L
3
2

30%

3

30%

30% is greater than the break even point for a light reservation
@cloudability
A tale of three instances

When were the instances running?

Remember: Reservations are applied every hour

@cloudability
A tale of three instances

Instances running at the same time
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

If the instances are running at the same time you need multiple RIs
@cloudability
A tale of three instances

3 Light reservations cost savings
On-demand hourly cost

$0.240

RI hourly cost

$0.136

RI upfront fee

$243

Effective hourly rate @ 30% utilization

$0.228

Hourly Savings

$0.011

Total Savings for this example

$90.93

@cloudability
4.8

%

SAVINGS RATE

@cloudability
A tale of three instances

Instances running at different times
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

@cloudability
A tale of three instances

Instances running at different times

y
av
e
H
3

1

2

Collectively the 3 instances cover 90% of the hours of the month
@cloudability
A tale of three instances

1 Heavy reservation cost savings
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

@cloudability
41

%

SAVINGS RATE

@cloudability
A tale of three instances

1 Heavy vs. 3 Lights
1 Heavy
Total Savings
Total upfront fees

3 Lights

$774.65

$90.93

$676

$729

Buying 3 lights would have wasted $486 in upfront fees

@cloudability
Applying what we’ve learned:

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

@cloudability
Running Instances by Hour of the
Month
(example assumes 10 hours in 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

@cloudability
Hourly Frequency Distribution of
Instance Levels
Running Instance Count

Frequency of Occurrence

Frequency %

0

1

10%

1

9

90%

2

9

90%

3

9

90%

4

7

70%

5

6

60%

6

5

50%

7

4

40%

Break even point for Medium

8

2

20%

Break even point for Light

9

1

10%

10

1

10%

11

1

10%

12

1

10%

Break even point for Heavy

@cloudability
Put it into practice!
(demo time)

@cloudability
Purchasing
Recommendations

@cloudability
Purchasing Recommendations

Implications for savings
• 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
• If capacity reservations are important, utilize light
reservations to hold capacity in specific
Availability Zones
@cloudability
Thank You
For more info
Or contact me
Download

cloudability.com
toban@cloudability.com
some url

@cloudability

More Related Content

What's hot

Cloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROICloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROI
Cloudyn
 

What's hot (20)

Finding hidden waste in your AWS infrastructure - 2/11/16
Finding hidden waste in your AWS infrastructure - 2/11/16Finding hidden waste in your AWS infrastructure - 2/11/16
Finding hidden waste in your AWS infrastructure - 2/11/16
 
Saving with Reserved Instances at Scale - Cloudability
Saving with Reserved Instances at Scale - CloudabilitySaving with Reserved Instances at Scale - Cloudability
Saving with Reserved Instances at Scale - Cloudability
 
AWS Webcast - Journey through the Cloud - Cost Optimization
AWS Webcast - Journey through the Cloud - Cost OptimizationAWS Webcast - Journey through the Cloud - Cost Optimization
AWS Webcast - Journey through the Cloud - Cost Optimization
 
Cloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROICloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROI
 
How to get the most out of your cloud - Microsoft Cloud Day
How to get the most out of your cloud - Microsoft Cloud DayHow to get the most out of your cloud - Microsoft Cloud Day
How to get the most out of your cloud - Microsoft Cloud Day
 
Fraud Detection and Prevention on AWS using Machine Learning
Fraud Detection and Prevention on AWS using Machine LearningFraud Detection and Prevention on AWS using Machine Learning
Fraud Detection and Prevention on AWS using Machine Learning
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS ServicesOptimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services
 
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech TalksCommercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
 
Creating a Culture of Cost Management in Your Organization
Creating a Culture of Cost Management in Your OrganizationCreating a Culture of Cost Management in Your Organization
Creating a Culture of Cost Management in Your Organization
 
Mastery Webinar Series: How Cloud Email Archival Setups are 30% lower than In...
Mastery Webinar Series: How Cloud Email Archival Setups are 30% lower than In...Mastery Webinar Series: How Cloud Email Archival Setups are 30% lower than In...
Mastery Webinar Series: How Cloud Email Archival Setups are 30% lower than In...
 
Eventually Everything Connects
Eventually Everything ConnectsEventually Everything Connects
Eventually Everything Connects
 
BI & Analytics
BI & AnalyticsBI & Analytics
BI & Analytics
 
Analyzing Streams: Data Analytics Week SF
Analyzing Streams: Data Analytics Week SFAnalyzing Streams: Data Analytics Week SF
Analyzing Streams: Data Analytics Week SF
 
Effective Cost Management for Amazon EMR
Effective Cost Management for Amazon EMREffective Cost Management for Amazon EMR
Effective Cost Management for Amazon EMR
 
Understanding High Availability on Amazon Aurora
Understanding High Availability on Amazon Aurora Understanding High Availability on Amazon Aurora
Understanding High Availability on Amazon Aurora
 
BDA305 Building Data Lakes and Analytics on AWS
BDA305 Building Data Lakes and Analytics on AWSBDA305 Building Data Lakes and Analytics on AWS
BDA305 Building Data Lakes and Analytics on AWS
 
Building a Governance, Risk, and Compliance Strategy with AWS (WPS204) - AWS ...
Building a Governance, Risk, and Compliance Strategy with AWS (WPS204) - AWS ...Building a Governance, Risk, and Compliance Strategy with AWS (WPS204) - AWS ...
Building a Governance, Risk, and Compliance Strategy with AWS (WPS204) - AWS ...
 
Deep Dive on Amazon S3: Manage Operations Across Amazon S3 Objects at Scale (...
Deep Dive on Amazon S3: Manage Operations Across Amazon S3 Objects at Scale (...Deep Dive on Amazon S3: Manage Operations Across Amazon S3 Objects at Scale (...
Deep Dive on Amazon S3: Manage Operations Across Amazon S3 Objects at Scale (...
 
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
 
Module 4 - AWSome Day Online Conference 2018
Module 4 - AWSome Day Online Conference 2018Module 4 - AWSome Day Online Conference 2018
Module 4 - AWSome Day Online Conference 2018
 

Similar to The Science Behind Choosing AWS Reserved Instances

AWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to ProfitabilityAWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to Profitability
Amazon Web Services
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
Amazon Web Services
 

Similar to The Science Behind Choosing AWS Reserved Instances (20)

AWS Summit Sydney 2014 | The Science of Saving: A Guide to Buying EC2 Reserve...
AWS Summit Sydney 2014 | The Science of Saving: A Guide to Buying EC2 Reserve...AWS Summit Sydney 2014 | The Science of Saving: A Guide to Buying EC2 Reserve...
AWS Summit Sydney 2014 | The Science of Saving: A Guide to Buying EC2 Reserve...
 
AWS re:Invent 2016: Saving at Scale with Reserved Instances (ENT307)
AWS re:Invent 2016: Saving at Scale with Reserved Instances (ENT307)AWS re:Invent 2016: Saving at Scale with Reserved Instances (ENT307)
AWS re:Invent 2016: Saving at Scale with Reserved Instances (ENT307)
 
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
The Science of Choosing EC2 Reserved Instances (ENT221) | AWS re:Invent 2013
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency
 
AWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to ProfitabilityAWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to Profitability
 
AWS Meet-up Atlanta: AWS Economics
AWS Meet-up Atlanta: AWS EconomicsAWS Meet-up Atlanta: AWS Economics
AWS Meet-up Atlanta: AWS Economics
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
 
The Science of Saving with AWS Reserved Instances
The Science of Saving with AWS Reserved InstancesThe Science of Saving with AWS Reserved Instances
The Science of Saving with AWS Reserved Instances
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Webcast: AWS Sticker Shock? How can containers and automation help?
Webcast: AWS Sticker Shock?  How can containers and automation help?Webcast: AWS Sticker Shock?  How can containers and automation help?
Webcast: AWS Sticker Shock? How can containers and automation help?
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS ServicesOptimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
 
Optimizing EC2 usage on AWS
Optimizing EC2 usage on AWSOptimizing EC2 usage on AWS
Optimizing EC2 usage on AWS
 
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
 
Creating a culture of cost management
Creating a culture of cost managementCreating a culture of cost management
Creating a culture of cost management
 
Creating A Culture Of Cost Management 11-10-15
Creating A Culture Of Cost Management 11-10-15Creating A Culture Of Cost Management 11-10-15
Creating A Culture Of Cost Management 11-10-15
 
Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef
 
Optimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce CostsOptimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce Costs
 

More from Cloudability

Startup Weekend: Making It Real
Startup Weekend: Making It RealStartup Weekend: Making It Real
Startup Weekend: Making It Real
Cloudability
 

More from Cloudability (8)

Efficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
Efficiency and Cost Optimization: Rightsizing Cloud Resources with DatadogEfficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
Efficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
 
AWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeedAWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeed
 
Optimizing AWS S3 storage costs and usage
Optimizing AWS S3 storage costs and usageOptimizing AWS S3 storage costs and usage
Optimizing AWS S3 storage costs and usage
 
Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15
 
AWS Cost Allocation Using Tags And Linked Accounts
AWS Cost Allocation Using Tags And Linked AccountsAWS Cost Allocation Using Tags And Linked Accounts
AWS Cost Allocation Using Tags And Linked Accounts
 
Startup Weekend: Making It Real
Startup Weekend: Making It RealStartup Weekend: Making It Real
Startup Weekend: Making It Real
 
Grabbing The Cloud Cost Tiger By The Tail
Grabbing The Cloud Cost Tiger By The TailGrabbing The Cloud Cost Tiger By The Tail
Grabbing The Cloud Cost Tiger By The Tail
 
Optimizing your cloud spend the right way
Optimizing your cloud spend the right wayOptimizing your cloud spend the right way
Optimizing your cloud spend the right way
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

The Science Behind Choosing AWS Reserved Instances

  • 1. The Science Behind Choosing Reserved Instances @cloudability
  • 2. Introduction Today’s Topics 1. Purchasing Pitfalls TODAY’S SPEAKER 2. Understanding Reservations 3. How to calculate RIs 4. Recommended RI purchase approach Toban Zolman VP of Product Development @cloudability
  • 4. About Us Cloud Infrastructure Analytics Infrastructure analytics for scaled web businesses and enterprises. 650M+ in tracked cloud costs. 8,000+ Users @cloudability
  • 5. How It Works Our Solution 1 Spend Management Spending visibility via monthly forecasts, dashboard, budget alerts, and daily email digests. 2 Cost Analytics Dig into your operating costs with detailed costs by tag, service, and usage type. ! 4 RI Purchase Analytics Understand the exact combination of Reserved Instances that will maximize your savings. ! 5 3 EC2 Usage Analytics Spot under-utilized 
 resources w/ instance level usage metrics. ! ! Enterprise Enablement Organizational group views/filtering/rollups, multi-user access. ! @cloudability
  • 6. How It Works No Software to Install You Access We Collect You log into cloudability.com to access analytics. We pull data directly from public cloud provider APIs. ! We Store We warehouse your historical data. @cloudability
  • 8. Is your company currently purchasing AWS reservations? @cloudability
  • 9. What we’ve learned: Most companies over simplify reservation purchasing @cloudability
  • 10. RESULT: RI purchases misalign to your needs reducing ROI @cloudability
  • 11. Go all in on 1 or 2 large buys each year @cloudability
  • 12. Result: Large cliffs in reservation levels @cloudability
  • 13. How frequently are you purchasing reservations? @cloudability
  • 15. Understanding Reservations 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 CDN CloudFront RDS Redshift Elasticache @cloudability
  • 16. Understanding Reservations Why make reservations? 1. Lower the cost of resources you are already using
 Reservations provide substantial cost savings versus “ondemand” pricing. @cloudability
  • 17. Understanding Reservations RI Cost Savings vs. On-Demand There are 2,000+ different reservation types each with their own “break-even” points. LINUX m1.xlarge 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% @cloudability
  • 18. Understanding Reservations Why make reservations? 1. Lower the cost of resources you are already using
 Reservations provide substantial cost savings versus “ondemand” 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...
 Outages could cause a run on capacity. Reservations ensure you get seat at the table. @cloudability
  • 19. Why are you purchasing reserved instances? @cloudability
  • 20. Reserved Instance Pricing Components Reservation Type Upfront Fee Hourly Usage Fee Minimum Usage Level None Light Yes Yes If the instance is not used during the hour, there is no charge. None Medium Yes Yes If the instance is not used during the hour, there is no charge. Yes Heavy Yes Yes Billed a full month’s worth of hours at the start of each month. @cloudability
  • 21. Understanding Reservations How are reservations applied? • Reserved Instances are purchased for an instance type (m1.xlarge) with a specified OS (LINUX) in a particular Availability Zone (us-east-1a)
 • Reservations are applied each hour.
 • If an instance is running in a “linked account”, it can inherit an unused reservation from a different linked account under the consolidated billing payer account
 • Capacity reservation stays with the linked account. @cloudability
  • 22. Understanding Reservations Modifying Reserved Instances • Amazon allows companies to apply to transfer a reservation from one Availability Zone to another
 • Trade-in existing Reserved Instances for a different size in the same family @cloudability
  • 23. Understanding Reservations Changing Instance Type Instance Size Normalization Factor small 1 medium 2 large 4 xlarge 8 2xlarge 16 4xlarge 32 8xlarge 64 1 xlarge g 2 large 1 large g 4 small @cloudability
  • 24. Understanding Reservations Instance types without a family • t1.micro ! • cc1.4xlarge ! • cc2.8xlarge • cr1.8xlarge ! • hi1.4xlarge ! • hs1.8xlarge ! • cg1.8xlarge ! @cloudability
  • 25. Understanding Reservations The Fine Print • Transfers do not happen automatically
 • Transfers are not guaranteed and are based on available capacity @cloudability
  • 27. A Simplified RI Calculation Overall utilization can be misleading @cloudability
  • 28. A tale of three instances m1.large linux us-east-1a 1 30% t h ig L 3 2 30% 3 30% 30% is greater than the break even point for a light reservation @cloudability
  • 29. A tale of three instances When were the instances running? Remember: Reservations are applied every hour @cloudability
  • 30. A tale of three instances Instances running at the same time 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 If the instances are running at the same time you need multiple RIs @cloudability
  • 31. A tale of three instances 3 Light reservations cost savings On-demand hourly cost $0.240 RI hourly cost $0.136 RI upfront fee $243 Effective hourly rate @ 30% utilization $0.228 Hourly Savings $0.011 Total Savings for this example $90.93 @cloudability
  • 33. A tale of three instances Instances running at different times 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 @cloudability
  • 34. A tale of three instances Instances running at different times y av e H 3 1 2 Collectively the 3 instances cover 90% of the hours of the month @cloudability
  • 35. A tale of three instances 1 Heavy reservation cost savings 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 @cloudability
  • 37. A tale of three instances 1 Heavy vs. 3 Lights 1 Heavy Total Savings Total upfront fees 3 Lights $774.65 $90.93 $676 $729 Buying 3 lights would have wasted $486 in upfront fees @cloudability
  • 38. Applying what we’ve learned: You have to understand how many instances are running each hour to know how many RIs to purchase @cloudability
  • 39. Running Instances by Hour of the Month (example assumes 10 hours in 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 @cloudability
  • 40. Hourly Frequency Distribution of Instance Levels Running Instance Count Frequency of Occurrence Frequency % 0 1 10% 1 9 90% 2 9 90% 3 9 90% 4 7 70% 5 6 60% 6 5 50% 7 4 40% Break even point for Medium 8 2 20% Break even point for Light 9 1 10% 10 1 10% 11 1 10% 12 1 10% Break even point for Heavy @cloudability
  • 41. Put it into practice! (demo time) @cloudability
  • 43. Purchasing Recommendations Implications for savings • 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 • If capacity reservations are important, utilize light reservations to hold capacity in specific Availability Zones @cloudability
  • 44. Thank You For more info Or contact me Download cloudability.com toban@cloudability.com some url @cloudability