Sub topic 6
Comparing On-Demand, Savings Plans, and Reserved Instances
This chapter assumes you can configure an EC2 instance in the AWS Pricing Calculator and that you already know what an Region, an instance family, and a monthly cost breakdown are. You should also have turned workload usage into hours and volumes, as covered in the previous chapter. Here you will learn how the three main purchase options change the estimate, what the calculator does and does not model, and how to check the result.
Why the purchase option changes the estimate
The same instance running the same number of hours can have very different prices. The purchase option decides which rate applies to those hours.
- On-Demand charges a list rate per unit of usage, such as per instance-hour or per second. There is no commitment, and you stop paying when you stop the resource.
- Savings Plans are a commitment to spend a fixed amount per hour, in US dollars, for a 1-year or 3-year term. Usage covered by the plan is billed at a lower rate than On-Demand.
- Reserved Instances (RIs) are a commitment to a specific instance configuration for a 1-year or 3-year term, in exchange for a lower rate than On-Demand.
The commitment is the important part. You pay for it whether or not the workload uses it. An estimate that applies a discounted rate to a workload that will not run steadily understates the real cost.
On-Demand: the baseline
On-Demand is the default pricing strategy in the calculator, and you should always build it first. It gives you a reference total that every other option is compared against. It also has no hidden assumptions about how long the workload will live.
On-Demand fits these situations:
- The workload is new and you do not know its steady-state size.
- The workload runs for a short, bounded period, such as a test or a migration.
- The architecture may change, for example a move to a different instance family or Region.
The cost is the hourly rate multiplied by the hours the resource runs. A resource that runs only part of the month costs proportionally less. In the calculator you express this through the utilization or usage-duration input of the service.
Savings Plans
A Savings Plan is a dollar-per-hour commitment. You do not reserve particular instances. Instead, AWS applies the plan's discounted rates to eligible usage each hour, up to your commitment. Usage beyond the commitment is billed at On-Demand rates.
Savings Plans come in several types. The two most relevant to EC2 estimates are:
| Type | What it covers | Flexibility |
|---|---|---|
| Compute Savings Plans | EC2 regardless of instance family, size, Region, operating system, or tenancy. Also AWS Fargate and AWS Lambda. | Highest. You can move workloads between families and Regions and keep the discount. |
| EC2 Instance Savings Plans | One instance family in one Region, for example the M5 family in US East (N. Virginia). Size, operating system, and tenancy within that family can vary. | Lower, with a larger discount than Compute Savings Plans for the same term and payment option. |
AWS also offers SageMaker AI Savings Plans for SageMaker usage. The exact discount depends on the service, instance family, Region, term, and payment option, so read it from the calculator instead of assuming a percentage.
Reserved Instances
A Reserved Instance is a billing discount applied to matching On-Demand usage. It is not a physical instance. The RI is tied to attributes such as instance type, Region, platform, and tenancy. The two RI classes for EC2 are:
- Standard Reserved Instances give the larger discount. You can modify some attributes, such as the Availability Zone or the size within the same family for Linux, but you cannot exchange them for a different family.
- Convertible Reserved Instances give a smaller discount. You can exchange them for other Convertible RIs with different attributes, as long as the exchange meets the value rules.
RIs also exist for services other than EC2, such as Amazon RDS, Amazon ElastiCache, and Amazon OpenSearch Service. For these services the calculator offers reserved pricing in the service's own configuration. Savings Plans do not cover those services, so for a database-heavy workload the RI is usually the only commitment option.
Term and payment option
For both Savings Plans and RIs you choose two more settings, and both change what the calculator shows.
- Term: 1 year or 3 years. A longer term gives a lower rate and a longer commitment.
- Payment option: All Upfront, Partial Upfront, or No Upfront. All Upfront gives the lowest effective rate. No Upfront spreads the cost as hourly charges and gives the smallest discount.
The calculator reports the upfront payment and the monthly cost separately. When you compare options, compare the total over the term, which is the upfront payment plus the monthly cost multiplied by the number of months. Comparing only the monthly figure makes All Upfront look free of cost, because the large payment is not in the monthly line.
Finding the break-even point
A commitment pays off only above a certain utilization. Suppose the On-Demand rate is r_od and the effective committed rate, which is paid for every hour of the term, is r_c. The workload is cheaper on commitment when it runs more than r_c / r_od of the time. Below that fraction, On-Demand costs less.
The following script computes the cost of each option over a 12-month period and the break-even utilization. The rates are illustrative placeholders, not current AWS prices. Replace them with the values the calculator shows for your configuration.
HOURS_PER_MONTH = 730 # average hours in a month, a common basis for monthly estimates
def on_demand_cost(rate, months, utilization):
"""On-Demand: you pay only for the hours the instance runs."""
return rate * HOURS_PER_MONTH * months * utilization
def committed_cost(effective_rate, months):
"""Commitment: every hour of the term is billed, used or not."""
return effective_rate * HOURS_PER_MONTH * months
def break_even_utilization(on_demand_rate, effective_rate):
"""Fraction of the time the workload must run for the commitment to win."""
return effective_rate / on_demand_rate
# Illustrative placeholders, not current AWS prices.
on_demand_rate = 0.020
effective_rate = 0.013
months = 12
print("break-even utilization:",
round(break_even_utilization(on_demand_rate, effective_rate), 2))
for utilization in (0.4, 0.65, 0.9, 1.0):
od = on_demand_cost(on_demand_rate, months, utilization)
cm = committed_cost(effective_rate, months)
cheaper = "commitment" if cm < od else "On-Demand"
print(f"utilization {utilization:>4}: On-Demand {od:7.2f} "
f"commitment {cm:7.2f} cheaper: {cheaper}")With these placeholder rates the break-even is 0.65. A workload that runs 40 percent of the time is cheaper On-Demand. A workload that runs 90 percent of the time is cheaper on commitment. The same logic applies to a mixed fleet: commit to the steady baseline and leave the variable part On-Demand.
Choosing an option
The decision depends on how steady the workload is and how likely its shape is to change.
In practice you will often combine options. A common pattern is to cover the always-on baseline with a Compute Savings Plan and run peaks On-Demand.
Modeling the options in the calculator
Use one estimate per scenario so you can compare totals side by side.
- Build the workload with On-Demand pricing and save it. This is your baseline.
- Duplicate the estimate or the service configuration. Change only the pricing strategy, for example to a Compute Savings Plan.
- Set the term and the payment option. Keep the Region, size, and usage unchanged, so that the purchase option is the only variable.
- Record the upfront payment and the monthly cost for each scenario.
- Compute the term total for each scenario and compare.
The calculator shows a commitment as covering all the usage in that configuration. If only part of your fleet is steady, split it into two configurations. Put the steady instances in a configuration with the commitment and the rest in an On-Demand configuration. Organizing them into separate groups, as covered in a later chapter, keeps the totals readable.
Common mistakes
- Comparing monthly figures only. All Upfront and Partial Upfront options move cost into an upfront payment. Always compare term totals.
- Committing to peak usage. A commitment sized to the peak leaves unused commitment for most of the time. Size it to the baseline you are confident the workload will use.
- Assuming Savings Plans cover everything. They apply to specific services. Services such as RDS need RIs for a discount.
- Treating a 3-year rate as free money. A deeper discount comes with a longer period during which you cannot adapt if the architecture changes. Include that risk in the decision, not just the price.
- Ignoring other purchase models. Spot Instances offer a large discount for interruption-tolerant work and are priced differently. They are not a commitment, and the calculator lists them as a separate option for EC2.
- Forgetting that rates change. The calculator reflects prices at the time you use it. A saved estimate can drift from current prices, so recheck it before you act on it.
Checking the result
After you choose an option, validate it against your assumptions:
- Does the committed amount stay below the lowest sustained usage you expect?
- Does the term match how long the architecture will stay the same?
- Are the compared scenarios identical in Region, size, and operating system?
- Does the total include data transfer and storage, which no purchase option reduces here?
Savings Plans and RIs reduce the compute rate only. Data transfer, storage, and support charges in your estimate stay the same under every scenario.
Exercise
A workload runs one instance. The On-Demand rate is $0.050 per hour. A 1-year Compute Savings Plan has an effective rate of $0.035 per hour, and you pay it for every hour of the term. At what utilization does the Savings Plan become cheaper than On-Demand, and which option is cheaper if the instance runs only 60 percent of the time?
Show answer
The break-even utilization is the effective committed rate divided by the On-Demand rate: 0.035 / 0.050 = 0.70, so 70 percent. At 60 percent utilization, On-Demand costs 0.050 x 0.60 = $0.030 per hour of the term, while the commitment costs $0.035 per hour. On-Demand is cheaper.
Exercise
You compare two calculator estimates for the same fleet. Estimate A is All Upfront with a monthly cost of $0 and an upfront payment of $4,200 for a 1-year term. Estimate B is No Upfront with a monthly cost of $400. Which is cheaper over the term, and why is the monthly figure misleading on its own?
Show answer
Estimate A totals $4,200. Estimate B totals 12 x $400 = $4,800. Estimate A is cheaper by $600. The monthly figure is misleading because Estimate A shows $0 per month while its entire cost sits in the upfront payment. Only the term total, the upfront payment plus the monthly cost times the months, compares the two fairly.