Spot Instances
What are Spot Instances?
Spot instances are spare cloud compute capacity offered at large discounts compared with on-demand prices, which the provider can reclaim with short notice when it needs the capacity back.
Updated November 2026 · 1 min read
Spot instances are spare cloud compute capacity sold at large discounts compared with on-demand prices, in exchange for the risk that the provider takes the capacity back with little warning when it needs it. AWS calls them Spot Instances and describes savings of up to 90% compared with on-demand rates. Google Cloud offers Spot VMs and Azure offers Spot Virtual Machines on similar terms. For workloads that can handle interruptions, spot can cut compute costs dramatically.
How interruptions work
- The provider can reclaim spot capacity when it needs it for on-demand or reserved customers.
- Notice is short: AWS gives a two-minute warning, and other providers give similar or shorter notice.
- Prices and availability vary by instance type, region and time.
What workloads suit spot instances?
- Batch processing and data pipelines that can resume from checkpoints.
- Continuous integration and testing.
- Rendering and media processing.
- Stateless web services behind load balancers, running alongside on-demand capacity.
- Containerized workloads on clusters that can reschedule interrupted pods.
- Some machine learning training, with frequent checkpoints.
When not to use spot
- Databases and other stateful systems that cannot tolerate sudden loss.
- Long-running jobs that cannot checkpoint.
- Workloads with strict, uninterrupted capacity needs.
Using spot well
- Diversify: use several instance types and availability zones, so interruptions in one pool do not take everything down.
- Checkpoint long jobs regularly.
- Handle interruption notices by draining work gracefully.
- Mix with on-demand: run a baseline on on-demand or committed capacity and scale out with spot.
- Use managed tools, such as autoscaling groups or Kubernetes node pools that replace interrupted instances automatically.
An example
Consider a hypothetical media company that runs video transcoding jobs on on-demand instances, costing about $60,000 a month. The jobs process files in segments and can restart from the last completed segment. It moves the jobs to spot instances across several instance types. Monthly costs fall to about $18,000, a 70% saving. Occasional interruptions add a few minutes to some jobs, which does not affect delivery deadlines.
Spot capacity is one of the main options in cloud cost optimization, alongside savings plans and autoscaling.
Frequently asked questions
What kinds of jobs can safely run on spot instances?
Work that tolerates interruption: batch jobs and data pipelines that resume from checkpoints, continuous integration and testing, rendering and media processing, stateless web services behind load balancers, containerized work on clusters that reschedule pods, and some machine learning training with frequent checkpoints. Databases, other stateful systems and long jobs that cannot checkpoint are poor fits for spot.
How much warning do you get before a spot instance is reclaimed?
Very little. AWS gives a two-minute warning before reclaiming a Spot Instance, and other providers give similar or shorter notice. Applications should watch for interruption notices and drain work gracefully, checkpoint long jobs regularly and run in autoscaling groups or node pools that replace lost instances automatically, so an interruption costs minutes rather than lost work.
How much cheaper are spot instances than on-demand instances?
Discounts are large but vary. AWS describes savings of up to 90% compared with on-demand rates, and prices and availability shift by instance type, region and time. Real savings depend on how often work is interrupted and rerun. Spreading requests across several instance types and availability zones, while keeping a baseline on on-demand or committed capacity, keeps savings steadier.
Related terms
Cloud Cost Optimization
Cutting cloud waste and getting more value from every dollar spent.
Savings Plans
A fixed hourly spend commitment in exchange for discounted cloud rates.
Autoscaling
Adds or removes cloud capacity automatically as demand rises and falls.
Reserved Instances
A one- or three-year compute commitment in exchange for a lower rate.