Skip to content
Draft: this topic has not been reviewed yet. Check facts against the linked AWS documentation before relying on them.

EC2 pricing models compared

Difficulty
Confidence

The same EC2 instance can cost very different amounts depending on how you buy it. Choosing well depends on three questions: How long will it run? Can it be interrupted? Are there licensing or compliance rules about the hardware?

The purchasing options

Option Commitment Discount vs On-Demand Good for Watch out for
On-Demand None None Short, unpredictable or new workloads; trying things out Highest price per hour
Savings Plans 1 or 3 years of a steady spend per hour ($/hour) Large Steady usage that may change instance type, size or Region You pay the commitment even if you use less
Reserved Instances (RIs) 1 or 3 years for a specific instance configuration Large Steady, well-known workloads Less flexible than Savings Plans
Spot Instances None The largest Flexible, fault-tolerant work: batch jobs, data analysis, testing AWS can take the capacity back with a two-minute warning
Dedicated Hosts On-Demand or reserved Varies Licenses tied to physical cores or sockets; strict compliance The most expensive option
Dedicated Instances On-Demand or reserved Varies Rules that require hardware not shared with other customers No control over the physical host
On-Demand Capacity Reservations Any duration, no term None by itself Guaranteed capacity in a specific AZ, for example for a launch or disaster recovery You pay for the reserved capacity whether you use it or not

Savings Plans in more detail

You commit to spending a fixed amount per hour (for example $10/hour) for one or three years, and get a lower price on usage up to that amount.

  • Compute Savings Plans are the most flexible: they apply to EC2 across any instance family, size, operating system or Region, and also to AWS Fargate and AWS Lambda.
  • EC2 Instance Savings Plans give a bigger discount but apply to one instance family in one Region.

AWS now recommends Savings Plans over Reserved Instances for most customers, because they are simpler and more flexible.

Reserved Instances in more detail

A Reserved Instance is a billing discount for a specific configuration (instance type, platform, Region or AZ) for one or three years.

  • Payment options: All Upfront (biggest discount), Partial Upfront, or No Upfront.
  • Standard vs Convertible: Standard RIs give the larger discount; Convertible RIs can be exchanged for a different instance family, operating system or tenancy.
  • Regional vs zonal: a regional RI applies to matching usage in any AZ in the Region, and for many Linux instances to any size in the same family (size flexibility). A zonal RI applies to one AZ and also reserves capacity there.
  • In AWS Organizations, RI and Savings Plans discounts are shared across all accounts in the organization by default, so unused discounts in one account can apply to another.

Spot Instances

Spot uses AWS’s spare capacity at a steep discount. When AWS needs the capacity back, it gives a two-minute warning and stops or terminates the instance.

Good for work that can pause and resume: big data jobs, image rendering, CI tests, stateless web servers behind a load balancer. Never use Spot for something that must not be interrupted, like a single production database.

Dedicated Hosts vs Dedicated Instances

Both run on hardware that is not shared with other AWS customers.

  • Dedicated Host: you get a whole physical server and can see its sockets and cores, so you can use per-socket or per-core licenses (BYOL) and control placement.
  • Dedicated Instance: your instances run on hardware dedicated to your account, but you do not see or control the physical host.

How to choose: a quick decision guide

  1. Can the job be interrupted and restarted? → Spot.
  2. Will it run steadily for a year or more? → Savings Plans (or Reserved Instances).
  3. Do licenses or compliance require a physical server for you? → Dedicated Host (licenses) or Dedicated Instances (no sharing).
  4. Do you need guaranteed capacity in an AZ for a short period? → Capacity Reservation.
  5. Otherwise, or while you learn the workload’s pattern → On-Demand.

Most real companies mix options: Savings Plans for the steady base, On-Demand for normal variation, and Spot for flexible batch work.

Putting it together: a video platform

  • The website’s minimum of 10 servers runs all year: covered by a Compute Savings Plan.
  • Extra servers during evening peaks: On-Demand, added by Auto Scaling.
  • Overnight video encoding that can restart if interrupted: Spot Instances.
  • A licensed media server whose license counts physical cores: a Dedicated Host.
  • A big live event next month: a Capacity Reservation to be sure the instances are available.

Common mix-ups

  • Savings Plans vs RIs. Both need a 1- or 3-year commitment; Savings Plans commit to spend per hour and are more flexible; RIs commit to a configuration.
  • Spot is not “cheap On-Demand”. It can be interrupted.
  • Capacity Reservations give no discount on their own; they guarantee capacity. Combine them with Savings Plans or regional RIs for a discount.
  • Dedicated Host vs Dedicated Instance. Only a Dedicated Host gives you visibility of the physical server for licensing.

Check yourself

A batch job can run any time overnight and can restart if stopped. What is the cheapest option?

Spot Instances.

A company’s usage is steady for three years but it may switch instance families and Regions. What fits best?

A Compute Savings Plan.

Which option lets you use existing per-core software licenses?

Dedicated Hosts.

How much warning do you get before a Spot Instance is interrupted?

Two minutes.

A company has several accounts in AWS Organizations. One account has unused Reserved Instances. What happens?

By default the RI discount is shared and can apply to matching usage in other accounts in the organization.

Key takeaways

  • On-Demand: no commitment, highest price. Savings Plans and RIs: 1- or 3-year commitment, big discounts. Spot: biggest discount, can be interrupted.
  • Dedicated Hosts (licensing, physical server) and Dedicated Instances (no shared hardware) serve compliance needs.
  • Capacity Reservations guarantee capacity; RI and Savings Plans discounts are shared across an organization.

Cloud Study Lab is an independent study site. It is not affiliated with or endorsed by Amazon Web Services. AWS and the names of AWS certifications are trademarks of Amazon.com, Inc. or its affiliates.