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-DemandSavings Plans / Reserved InstancesSpotDedicated Hosts
Best forFlexible, short, unpredictableSteady 1- or 3-year usageInterruptible workLicensing and compliance
CostFull price, per secondDiscount for a spend or attribute commitmentDeepest discount, varies with supplyPay for the whole physical host
AvailabilityRuns until you stop it (capacity reservations optional)A billing discount; zonal Reserved Instances can reserve capacityCan be reclaimed with a two-minute noticeRuns until you release the host
Operational complexityNonePlan and track commitmentsDiversify types and zones; handle interruptionsManage host placement and licences

Scaling and topology

more flexiblebigger discountOn-Demandno commitmentSavings Plans$/hour for 1 or 3 yrsReserved Inst.specific type, 1 or 3 yrsSpot≤90% off, interruptibleDedicated Hosts / Instancesfor licensing or compliance, not discountsOn-Demand Capacity Reservationsguaranteed capacity in an AZ, no discount
EC2 purchasing options: trade flexibility for discount

Limits and constraints

ItemValueContextSource
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

ScenarioWhat happens to cost
A database running 24/7 for three yearsA three-year commitment saves the most; On-Demand pays full price every hour.
A nightly batch job that can restartSpot runs it far cheaper; interruptions just delay it.
Unknown usage in a new productStart 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

SituationChooseWhy
A steady fleet that will move from x86 to Graviton next year.Savings Plans / Reserved InstancesA Compute Savings Plan keeps the discount across instance families.
Rendering frames overnight.SpotCheap, interruptible, easy to retry.
Windows Server licensed per physical core.Dedicated HostsDedicated 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

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake