AWS in 1 Min · Episode 63

EC2 On-Demand vs Reserved vs Spot Instances

Three ways to pay for EC2. Watch the one-minute video, then read the details.

David Gomez1:19 video · 3 min read

"A server on AWS has one price." It has several. The same EC2 instance, in the same Region, can cost very different amounts depending on how you buy it. Teams that run everything at the default price often pay far more than they need to. Teams that chase the cheapest option for everything get outages. The skill is matching each workload to the right option.

On-Demand: the default

With On-Demand you pay for compute by the hour or the second, with no commitment. Start an instance, stop it, and the charges stop.

  • Best for: new projects, short-lived environments, unpredictable traffic, anything you can't forecast yet.
  • Trade-off: it is the most flexible option and the most expensive per hour.

Reserved Instances: commit and save

A Reserved Instance (RI) is not a different server. It is a billing discount you get in exchange for committing to a specific instance configuration for one or three years.

  • Standard RIs give the largest discount, up to 72% off On-Demand according to AWS.
  • Convertible RIs give a smaller discount but can be exchanged for a different family, operating system or tenancy.
  • You can pay all upfront, partial upfront or no upfront; paying more upfront gives a bigger discount.
  • An RI scoped to an Availability Zone also reserves capacity there.

RIs fit steady workloads that run all day, every day, such as a database server. The risk is the commitment: if you stop needing that instance, you keep paying. For compute, many teams now use Savings Plans instead, which offer similar discounts with more flexibility.

Spot: spare capacity, big discount

Spot Instances use spare EC2 capacity at a discount of up to 90% compared with On-Demand. The catch: when AWS needs the capacity back, it interrupts your instance, with a two-minute warning.

  • Best for: work that can stop and resume, such as batch jobs, CI builds and tests, data processing, and stateless workers behind a queue.
  • Never for: a single database, or anything that can't tolerate losing a server.

Practical tips: be flexible about instance types and Availability Zones, so you draw from several capacity pools. Run Spot inside an Auto Scaling group that replaces interrupted instances. And handle the interruption notice, so work is saved before the instance goes away.

Mix them

Most real architectures combine all three:

  • Commitments (Reserved Instances or Savings Plans) for the steady base load.
  • On-Demand for peaks and anything new.
  • Spot for interruptible work.

A common mistake is buying commitments on day one, before you know your real usage. Run On-Demand for a few weeks, look at the pattern in Cost Explorer, and commit to the part that never goes away. More ways to cut the bill are in how to reduce your AWS bill.

Where AI fits

Training models on GPU instances is one of the most expensive things you can do on EC2, which makes it a natural candidate for Spot, on one condition: the job must save checkpoints. A checkpoint stores the training progress at regular intervals. When a Spot instance is interrupted, a new one loads the latest checkpoint and continues, instead of starting over.

Without checkpoints, an interruption can waste hours of GPU time and cancel the saving. Also be realistic: Spot capacity for the most popular GPU types can be scarce, so have an On-Demand fallback for deadlines.

Quick recap

  • On-Demand: no commitment, most flexible, highest price.
  • Reserved: a one- or three-year commitment for up to 72% off; for steady load.
  • Spot: up to 90% off, but can be interrupted with two minutes' notice; for work that can resume.
AWS in 1 Min #63 · 1:19

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS