On-Demand, Reserved and Spot are the three main ways to pay for EC2 compute. On-Demand charges by the second with no commitment, Reserved pricing (and its modern sibling, Savings Plans) gives a lower rate in exchange for a one or three year commitment, and Spot sells spare capacity at a deep discount but can be interrupted with a two-minute warning. Choosing the right mix is the biggest lever on an EC2 bill.
This guide explains each ec2 on demand reserved spot option, compares them side by side, and shows how to match a workload to a model. Prices change often, so check the EC2 pricing page for current rates.
On-Demand is the default. You launch an instance, pay for the time it runs and stop paying when you stop or terminate it. Linux instances bill per second with a 60 second minimum; some operating systems and instance types bill per hour, so check the pricing page for yours.
Use it when:
The cost is the highest hourly rate of the three, which is the price of full flexibility.
A Reserved Instance (RI) is a billing discount, not a separate machine. You commit to a usage level for one or three years, and matching running instances are billed at the lower rate. AWS advertises discounts of up to 72 percent compared with On-Demand, depending on term, payment option and instance family.
| Option | Flexibility | Typical use |
|---|---|---|
| Standard RI | Fixed instance family, size and Region (size flexibility for some Linux types) | Stable, known workloads |
| Convertible RI | Can exchange for different attributes | Workloads that may change |
| Compute Savings Plan | Any instance family, size, Region, OS; also applies to Fargate and Lambda | Mixed or changing fleets |
| EC2 Instance Savings Plan | One family in one Region, any size and OS | Steady use of one family |
You can pay all upfront, partly upfront or nothing upfront, and the discount grows with more upfront payment. AWS now steers most customers to Savings Plans because you commit to a dollar amount per hour of usage rather than to specific instance attributes. Standard RIs can be sold on the Reserved Instance Marketplace, while Savings Plans cannot.
You pay for the commitment whether you use it or not, so only commit to the baseline you are sure to run.
Spot instances use spare EC2 capacity at up to 90 percent below On-Demand price, according to AWS. You no longer bid; you pay the current Spot price, and you can cap the price you are willing to pay. When AWS needs the capacity back, it interrupts your instance and sends a notice two minutes in advance.
The interruption notice appears in the instance metadata, so a process can watch for it and shut down cleanly:
The request returns a 404 until an interruption is scheduled, then returns the action and time. AWS also publishes an EventBridge event for it.
Spot suits fault-tolerant, flexible work: batch processing, CI runners, data analysis, rendering, containers in a stateless pool and big data jobs. It does not suit a single database or anything that loses work when stopped.
To lower interruption odds, spread across several instance types and Availability Zones, use Auto Scaling groups or EC2 Fleet with the price-capacity-optimized allocation strategy, and checkpoint work regularly.
| Model | Commitment | Discount | Interruptions | Best for |
|---|---|---|---|---|
| On-Demand | None | None | None | New, spiky or short workloads |
| Reserved or Savings Plan | 1 or 3 years | Up to about 72 percent | None | Steady baseline |
| Spot | None | Up to about 90 percent | Yes, 2 minute notice | Fault-tolerant, flexible jobs |
Other purchasing options exist for special needs: Capacity Reservations hold capacity in an AZ without a discount (you can combine them with Savings Plans), and Dedicated Hosts give you a whole physical server for licensing or compliance.
Most production systems combine models:
A small example: a web app needs two servers all day and ten extra servers for four hours at night to process reports. Buy a commitment for the two servers, run the reporting workers on Spot with a retry on interruption, and keep a few On-Demand instances only as a fallback.
No. They are a billing discount applied automatically to matching On-Demand usage. The hardware and performance are identical.
AWS sends a two-minute warning, then stops, hibernates or terminates the instance depending on your request settings. Your application must save state or accept a retry.
For most new commitments a Compute Savings Plan is simpler and more flexible. Standard RIs can give a slightly better rate when you know the exact configuration will not change.
Yes. A mixed instances policy lets one group use an On-Demand base plus Spot capacity across several instance types.
On-Demand gives full flexibility at the highest price, Reserved Instances and Savings Plans trade a one or three year commitment for a lower rate on steady use, and Spot offers the deepest discount for work that can survive a two-minute interruption notice. Cover your steady baseline with a commitment, keep spiky load On-Demand and push flexible work to Spot.