On-Demand, Spot or Savings Plans: three ways to pay for the same machine
The same EC2 instance can cost $78 a month or $27. The hardware is identical; what changes is the deal: how much you commit in advance, and whether you accept that AWS can take the machine back. Most fleets run entirely on On-Demand, the most expensive option, simply because nobody has looked at the other two. This guide explains what each model offers and how to split a fleet across them.
What one machine costs under each model
An m6i.large (2 vCPU, 8 GB) in eu-west-1, running 24/7 for a month (730 h):
| Model | $/hour | $/month | What you give up |
|---|---|---|---|
| On-Demand | $0.107 | ~$78 | nothing |
| Spot | ~$0.037 (~65% off) | ~$27 | AWS can reclaim the instance with 2 minutes' notice |
| Savings Plan / RI, 1 year | ~$0.075 (~30% off) | ~$55 | you commit to a year of spend |
| Savings Plan / RI, 3 years | ~$0.045 (~58% off) | ~$33 | you commit to three years of spend |
AWS advertises discounts of up to 90% for Spot and up to 72% for Savings Plans, but those are best cases. The table uses typical figures you can plan around.
What each model offers
On-Demand is billed per second, with no commitment: you start and stop whenever you want. It is the most expensive option, and the right one for load you cannot predict.
Spot sells AWS's unused capacity. The price varies with demand but stays below On-Demand, and AWS can reclaim the instance with 2 minutes' notice when it needs the capacity back. On average fewer than 5% of instances get interrupted, but the rate varies by instance type and region, and it goes up precisely when demand is high. Anything on Spot must tolerate being stopped: save its progress, drain the node and restart elsewhere.
Reserved Instances and Savings Plans give you a discount in exchange for a 1- or 3-year commitment:
- A Reserved Instance applies to a specific instance family, operating system and region. Regional Linux RIs also cover other sizes of the same family. Convertible RIs have a slightly smaller discount but let you change family later, which helps if you are not sure what you will need.
- A Savings Plan commits you to a spend in dollars per hour rather than to an instance. A Compute SP applies to any EC2 instance in any region, plus Fargate and Lambda, with up to 66% off. An EC2 Instance SP is tied to one family and region but reaches up to 72% off.
Keep in mind that the commitment is paid whether you use it or not: if you commit to $10/hour and only use $7, you still pay $10.
Three kinds of workload
- The baseline: databases, control planes and services that run 24/7. This is what Savings Plans and RIs are for. Compute and EC2 Instance SPs only cover EC2, Fargate and Lambda, so a managed RDS database needs its own reservation.
- Interruptible work: CI runners, batch jobs, rendering, non-critical Kubernetes node pools. If a job can be stopped and retried, it can run on Spot, as long as it handles the 2-minute notice. In Kubernetes, Karpenter can combine Spot and On-Demand nodes and fall back to On-Demand when Spot capacity runs out. It is the same autoscaling that turns the savings from kube-green into fewer nodes.
- Unpredictable load: experiments, new accounts, unexpected seasonal peaks. This belongs on On-Demand; not everything has to be optimized.
Example: a fleet of ten instances
A fleet averaging ten m6i.large-equivalent instances, with a stable core and some headroom:
| Strategy | $/month | Notes |
|---|---|---|
| 10 × On-Demand | ~$781 | the default bill |
| 10 × 1-year SP/RI | ~$550 | −30%, if the fleet is still around in a year |
| 10 × 3-year SP/RI | ~$330 | −58%, if it is still around in three |
| 10 × Spot | ~$270 | −65%, only if everything tolerates interruptions |
| 6 SP + 2 Spot + 2 On-Demand | ~$540 | −31%, without overcommitting |
The last option costs about the same as putting everything on a 1-year plan, but it is much safer: you only commit for the six instances that always run, the two that can be interrupted go to Spot, and whatever fluctuates stays on On-Demand. If the fleet shrinks, you are not left paying for a commitment you no longer use. If you are sure the fleet will last three years, moving those six to a 3-year plan brings the total down to about $410.
Common mistakes
- Committing to the peak instead of the minimum. The commitment is billed 24/7. If you size it for a peak that later disappears, the discount turns into a fixed cost for nothing.
- Committing before moving to Graviton. An
m7g.large(ARM) costs about 15-20% less than anm6i.largeand offers better price-performance. If you plan to migrate, do it before signing a 3-year commitment on x86. - Running stateful services on Spot without draining and without an On-Demand fallback.
- Paying everything upfront by default. All-upfront saves a few extra points but ties up cash and assumes the workload will not change. One year with no upfront payment is the safe starting point.
- Assuming Spot and commitments add up. Savings Plans and RIs never apply to Spot instances. If you move an instance covered by a commitment to Spot, the commitment shifts to other On-Demand usage, and if there is none, you keep paying it for nothing.
Summary
- Same machine, four prices: ~$78 On-Demand, ~$55 with a 1-year commitment, ~$33 with 3 years, ~$27 on Spot (
m6i.large, eu-west-1, 24/7). - The commitment is paid whether you use it or not: cover the stable minimum, never the peak.
- Spot for anything that tolerates a 2-minute notice, with an On-Demand fallback.
- On-Demand for peaks and anything you cannot predict.
- Consider Graviton before committing for 3 years.
- In the example, a mixed fleet goes from $781 to ~$540 a month without a three-year commitment.
Find this waste automatically
PruneOps audits your cloud accounts and tells you what to fix first.
Get started Read the docs