AWS · Comparison
EC2 purchase options: On-Demand vs Savings Plans vs Reserved vs Spot vs Dedicated
How should I pay for EC2 capacity: On-Demand, a commitment, Spot, or dedicated hardware?
Decision summary
Match each part of the workload to an option:
- Steady baseline that runs all year: commit with Savings Plans (flexible across instance families, Regions and even Fargate and Lambda with Compute Savings Plans) or Reserved Instances (tied to attributes; zonal ones can also reserve capacity).
- Unpredictable or short-term usage: On-Demand.
- Work that can be interrupted (batch, CI, rendering, stateless web tiers with spare capacity): Spot, at a large discount, with a two-minute interruption notice.
- Licences bound to physical cores or sockets, or compliance needing dedicated hardware: Dedicated Hosts.
Most fleets combine several: Savings Plans for the floor, On-Demand above it, Spot for flexible capacity.
Best fit for each option
On-Demand
New or unpredictable workloads, short tests, and capacity above your committed baseline.
Savings Plans / Reserved Instances
Steady usage over one or three years: databases, core web tiers, always-on services.
Spot
Fault-tolerant, flexible jobs: batch processing, CI builds, rendering, big data, containers that can be rescheduled.
Dedicated Hosts
Bring-your-own licences tied to physical cores or sockets, and rules requiring dedicated physical servers.
Side by side
| On-Demand | Savings Plans / Reserved Instances | Spot | Dedicated Hosts | |
|---|---|---|---|---|
| Best for | Flexible, short, unpredictable | Steady 1- or 3-year usage | Interruptible work | Licensing and compliance |
| Cost | Full price, per second | Discount for a spend or attribute commitment | Deepest discount, varies with supply | Pay for the whole physical host |
| Availability | Runs until you stop it (capacity reservations optional) | A billing discount; zonal Reserved Instances can reserve capacity | Can be reclaimed with a two-minute notice | Runs until you release the host |
| Operational complexity | None | Plan and track commitments | Diversify types and zones; handle interruptions | Manage host placement and licences |
Scaling and topology
Limits and constraints
| Item | Value | Context | Source |
|---|---|---|---|
| Spot interruption notice | 2 minutes | Source checked |
Quotas and limits change. Check the linked source before designing around a number.
Cost trade-offs by scenario
| Scenario | What happens to cost |
|---|---|
| A database running 24/7 for three years | A three-year commitment saves the most; On-Demand pays full price every hour. |
| A nightly batch job that can restart | Spot runs it far cheaper; interruptions just delay it. |
| Unknown usage in a new product | Start On-Demand, then commit to the measured baseline. |
Prices differ by Region and change over time; see the pricing pages linked under Sources.
When to avoid each option
On-Demand
- 24/7 steady workloads, which cost more than with a commitment.
Savings Plans / Reserved Instances
- Workloads that may disappear or shrink sharply before the term ends.
Spot
- Databases and anything that cannot handle a two-minute interruption.
Dedicated Hosts
- Ordinary workloads: they cost more and add host management.
Example scenarios
| Situation | Choose | Why |
|---|---|---|
| A steady fleet that will move from x86 to Graviton next year. | Savings Plans / Reserved Instances | A Compute Savings Plan keeps the discount across instance families. |
| Rendering frames overnight. | Spot | Cheap, interruptible, easy to retry. |
| Windows Server licensed per physical core. | Dedicated Hosts | Dedicated Hosts expose cores and sockets for licensing. |
Exam cues
- Steady, predictable: Savings Plans or Reserved Instances. Flexible across families and services: Compute Savings Plans.
- Cheapest, can be interrupted: Spot. Cannot be interrupted, short term: On-Demand.
- Licences per socket or core: Dedicated Hosts. Capacity guaranteed in a zone: On-Demand Capacity Reservations (or zonal Reserved Instances).
Service pages
- Amazon EC2 · Resizable virtual servers in the cloud, with hundreds of instance types and several ways to pay: On-Demand, Savings Plans, Reserved and Spot.
- Savings Plans · Commit to a steady amount of compute spend per hour for one or three years in exchange for lower prices on EC2, Fargate, Lambda, databases or SageMaker AI.
Related
Courses and lessons
- EC2 purchasing options: On-Demand, Savings Plans, Reserved, Spot and Dedicated · AWS Solutions Architect – Associate (SAA-C03) · Members
- Cost-optimized architectures: compute, storage and databases · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon EC2 · Service
- Savings Plans · Service
- Amazon EC2 Auto Scaling · Service
- AWS Cost Explorer · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services.