On-Demand, Reserved, Savings Plans & Spot
Choose a purchasing option for steady, spiky and interruptible workloads.
By Invicly Tech, , in AWS Solutions Architect – Associate. About 11 minutes to read.
In short
EC2 and other compute can be bought On-Demand, with commitments, or as spare Spot capacity. Savings Plans and Reserved Instances cut cost for steady usage in exchange for a 1 or 3 year commitment. Spot is the cheapest but can be reclaimed with a two-minute warning.
Explained simply
The same EC2 instance can cost very different amounts depending on how you buy it. On-Demand is like a taxi: no commitment, pay for what you use, highest price per hour. Savings Plans and Reserved Instances are like a yearly train pass: you promise to use a certain amount and get a big discount.
Spot Instances are AWS's spare capacity sold at up to 90 percent off. The catch: AWS can take them back when it needs the capacity, with a two-minute warning. That is fine for work that can stop and restart, like batch jobs, tests and rendering, and dangerous for a single database.
Most real workloads mix all three. Look at your usage over a month: the part that never goes away (the baseline) suits a commitment, the daily peaks suit On-Demand, and the flexible background jobs suit Spot. Matching each slice to the right option is where the savings come from.
Commitments last 1 or 3 years and cannot be cancelled, so only commit to what you are confident you will keep using. Starting small and adding more commitment every few months is safer than buying everything at once.
Press Play on a diagram to walk through it one step at a time.
- Pay per second
- No commitment
- Short, spiky, unknown loads
- Highest unit price
- 1 or 3 year commitment
- Up to about 72 percent off
- Steady baseline usage
- Compute SP covers Fargate, Lambda
- Up to 90 percent off
- Two-minute interruption notice
- Fault-tolerant batch, CI, stateless
- Never for critical singletons
- 1Spot
Batch, CI and extra stateless capacity
- 2On-Demand
Daily peaks above the baseline
- 3Savings Plan
The baseline that runs 24/7
- 4Capacity Reservation
Only where capacity must be guaranteed
- Steady 24/7 for a year or more
- Compute Savings Plan
- EC2 Instance SP if the family is fixed
- Short-term, spiky or unknown
- On-Demand
- Can stop and restart
- Spot with many instance types
- Must be sure capacity exists
- On-Demand Capacity Reservation
- Licence tied to physical cores
- Dedicated Host
In depth
How Savings Plans really work
A Savings Plan is a promise to spend a fixed amount per hour, for example 10 dollars an hour, on compute for 1 or 3 years. Every hour, AWS applies that amount to your eligible usage at the discounted rates. Usage above the commitment is billed On-Demand. Commitment you don't use in an hour is lost; it does not roll over.
Compute Savings Plans (up to 66 percent off) apply to EC2 in any family, size, Region and operating system, plus Fargate and Lambda, so they survive migrations and modernisation. EC2 Instance Savings Plans (up to 72 percent off) lock you to one instance family in one Region, such as m7g in eu-west-1, but any size and OS within it. You can pay all upfront, partially upfront or nothing upfront; more upfront means a slightly bigger discount. Cost Explorer recommends a commitment based on your past usage.
- Unused commitment in an hour is lost
- Compute SP: any family, Region, Fargate and Lambda, up to 66 percent
- EC2 Instance SP: one family in one Region, up to 72 percent
- In AWS Organizations, discounts are shared across accounts by default
Reserved Instances: where they still matter
For EC2, AWS now recommends Savings Plans over Reserved Instances (RIs), because they give similar discounts with more flexibility. RIs still matter in two ways. First, a zonal RI, bought for one AZ, also reserves capacity there. Second, many other services use reservations rather than Savings Plans: RDS, ElastiCache, OpenSearch and Redshift reserved nodes, and DynamoDB reserved capacity.
Standard RIs give up to 72 percent off and can be sold on the RI Marketplace if plans change. Convertible RIs give up to 66 percent off and can be exchanged for other families or operating systems. A Regional RI for Linux has size flexibility within its family: one large reservation can cover two medium instances, using normalisation factors (medium is 2, large is 4, xlarge is 8).
Spot: interruptions and how to live with them
Spot prices move slowly with long-term supply and demand; there is no bidding war. You pay the current Spot price, and you can set a maximum price, which defaults to the On-Demand price. When AWS needs the capacity back, it sends an interruption notice two minutes ahead, visible in instance metadata and as an EventBridge event. A rebalance recommendation may arrive earlier, when the risk is rising.
The key to Spot is diversity. Allow many instance types and sizes across all AZs, and use the price-capacity-optimized allocation strategy, which picks pools that are cheap and least likely to be interrupted. Design the app to save progress (checkpoints), drain work on the notice, and be stateless behind a load balancer. Interruption behaviour can be terminate (the default), stop or hibernate.
- EC2 Spot to Instance: Rebalance recommendation (risk rising)1Rebalance recommendation (risk rising)
- 2Capacity Rebalancing launches a replacementAuto Scaling to Auto Scaling: Capacity Rebalancing launches a replacement
- EC2 Spot to Instance: Interruption notice: 2 minutes3Interruption notice: 2 minutes
- Instance to Load balancer: Deregister, finish in-flight requests4Deregister, finish in-flight requests
- 5Checkpoint job state to S3Instance to Instance: Checkpoint job state to S3
- EC2 Spot to Instance: Instance reclaimed6Instance reclaimed
Capacity versus discount
Discounts and capacity are separate things. A Savings Plan lowers the price but does not promise that an instance will be available in a busy AZ. When you must be sure capacity exists, for example for a big launch or for DR, use On-Demand Capacity Reservations. They reserve instances in one AZ for any length of time, are billed at On-Demand rates whether you use them or not, and can be combined with a Savings Plan or Regional RI to get the discount too. For GPU work, Capacity Blocks for ML reserve accelerated instances for a set future window.
Dedicated Hosts give you a whole physical server and visibility of its sockets and cores, which some software licences (bring your own licence) require. Dedicated Instances only guarantee that your instances do not share hardware with other customers. Both cost more and are usually a compliance or licensing choice, not a savings choice.
Learn it in 3 short steps
About 40m each. Track them with a timer in your plan.
- 1Compare On-Demand, Reserved and Savings Plans~40m
- 2Use Spot for interruptible workloads~40m
- 3Match purchase options to workload patterns~40m
Key points
- Cover the steady baseline with Savings Plans and burst with On-Demand or Spot.
- Compute Savings Plans apply across instance families, Regions, Fargate and Lambda.
- Zonal Reserved Instances or On-Demand Capacity Reservations guarantee capacity in an AZ.
- Mix Spot and On-Demand in one ASG using a mixed instances policy.
Key terms
Tap a card to flip it. 0/5 known
Examples
Buying for a web tier with a daily peak
A web tier runs at least 10 m7g.large instances all day and climbs to 30 during business hours. Step 1: cover the 10-instance baseline with a 1-year Compute Savings Plan sized to its hourly cost, so it keeps working if the team later moves to Fargate. Step 2: let the Auto Scaling group add On-Demand instances for the daily peak. Step 3: move the nightly report jobs to Spot. Step 4: review Savings Plan utilisation monthly in Cost Explorer; if it stays near 100 percent and the baseline grew, buy a second, smaller plan.
A mixed Spot and On-Demand Auto Scaling group
A stateless API should run mostly on Spot but always keep two On-Demand instances. Step 1: create a mixed instances policy with a base of 2 On-Demand instances and 25 percent On-Demand above that. Step 2: list several similar instance types so Spot can use more capacity pools. Step 3: choose price-capacity-optimized and enable Capacity Rebalancing, so replacements start when AWS signals higher risk.
{
"LaunchTemplate": {
"LaunchTemplateSpecification": {"LaunchTemplateName": "api", "Version": "$Latest"},
"Overrides": [{"InstanceType": "m7g.large"}, {"InstanceType": "m6g.large"},
{"InstanceType": "c7g.xlarge"}, {"InstanceType": "r7g.large"}]
},
"InstancesDistribution": {
"OnDemandBaseCapacity": 2,
"OnDemandPercentageAboveBaseCapacity": 25,
"SpotAllocationStrategy": "price-capacity-optimized"
}
}Quick reference
- On-Demand: no commitment; most Linux instances bill per second with a 60-second minimum
- Compute Savings Plan: up to 66 percent off, covers EC2, Fargate and Lambda anywhere
- EC2 Instance Savings Plan and Standard RI: up to 72 percent off, less flexible
- Spot: up to 90 percent off, 2-minute interruption notice, diversify instance types
- Unused Savings Plan commitment in an hour is lost, so size it to the steady baseline
- Capacity Reservations guarantee capacity in an AZ; Savings Plans only lower the price
- RDS, ElastiCache, OpenSearch and Redshift discounts come from reserved instances or nodes
- Dedicated Host: whole server with visible cores, for per-core software licences
Common mistakes
- Running a production database on Spot.
- Buying 3-year commitments for a workload you plan to retire soon.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
A workload uses 40 instances at night and 100 during the day, every day. Say which purchase option covers which part, and why.
- Exercise 2medium
Use the AWS CLI to get a Savings Plans purchase recommendation from Cost Explorer for a 1-year, no-upfront Compute Savings Plan based on the last 30 days.
- Exercise 3hard
Write a small script that runs on a Spot instance, checks the instance metadata for an interruption notice every 5 seconds, and runs a drain command when one appears.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Should I buy Savings Plans or Reserved Instances for EC2?
- For EC2, Savings Plans are usually the better choice because they give similar discounts with more flexibility. Buy RIs mainly for services that don't support Savings Plans, or zonal RIs when you also want reserved capacity.
- Can I cancel a Savings Plan or Reserved Instance?
- No, they are commitments for the full term. Standard RIs can be sold on the RI Marketplace and Convertible RIs can be exchanged, but Savings Plans cannot be resold.
- Is Spot safe for production?
- Yes for stateless, fault-tolerant parts such as web servers behind a load balancer, containers and batch jobs, as long as you diversify instance types and handle the two-minute notice. Not for single instances that hold important state.
- Do Savings Plans cover RDS?
- Compute Savings Plans cover EC2, Fargate and Lambda. Databases like RDS and ElastiCache have traditionally used reserved instances instead, so check the current pricing page for what applies to your database.