Actually there are three allocation types:

  • on demand - kind of "default" mode. You request an instance, if there is free capacity, you will get the instance. No long term commitment, but once you get an instance, it's yours. It may happen that you will get a message that there is no free capacity for the specific instance type and AZ (so far it happened to me only once with AWS).

  • reserved - AWS reserves the capacity for you. You have guarantee that you will get the instance type in the selected region or AZ.

  • spot instance - it's kind of auction / bidding of unused capacity. You ask for an instance, you provide your maximum price and if there is free capacity and your price is at the current price or higher, you will get an instance. The difference is - if the free capacity is exhausted, or the current price is higher than your maximum bid price, your spot instance is terminated . You can get a termination warning event upfront.

Answer from gusto2 on Stack Overflow
Top answer
1 of 2
27

Actually there are three allocation types:

  • on demand - kind of "default" mode. You request an instance, if there is free capacity, you will get the instance. No long term commitment, but once you get an instance, it's yours. It may happen that you will get a message that there is no free capacity for the specific instance type and AZ (so far it happened to me only once with AWS).

  • reserved - AWS reserves the capacity for you. You have guarantee that you will get the instance type in the selected region or AZ.

  • spot instance - it's kind of auction / bidding of unused capacity. You ask for an instance, you provide your maximum price and if there is free capacity and your price is at the current price or higher, you will get an instance. The difference is - if the free capacity is exhausted, or the current price is higher than your maximum bid price, your spot instance is terminated . You can get a termination warning event upfront.

2 of 2
3

The resources for both are the same, spot instances utilise the spare compute capacity within the AWS availability zone (those that are not reserved or launched on-demand).

Depending on the demand for that instance class in the availability zone the spot price will increase or decrease (even surpassing the on-demand price).

When you use a spot instance you are taking a risk that if demand increases you will lose access to the spot instance (you are given a 2 minute warning before termination). For his reason it is common to use a mixture of on-demand/reserved instances and spot instances so that you can withstand instance terminations.

Commonly in EC2 applications you would use an autoscaling group with a configured proportion between on-demand/reserved nodes and spot instances.

For more information take a look at the Requesting Spot Instances for fault-tolerant and flexible applications documentation.

🌐
CloudZero
cloudzero.com › home › blog › on-demand vs. spot instances: what’s the difference?
On-Demand Vs. Spot Instances: What’s The Difference?
September 10, 2025 - In addition, you can use On-Demand ... and deployments. A Spot Instance is a type of compute capacity that a cloud service provider offers at a steep discount whenever it has excess compute capacity....
🌐
Reddit
reddit.com › r/aws › spot instances vs on-demand vs spot block instances (calculator)
r/aws on Reddit: Spot Instances vs On-Demand vs Spot Block Instances (calculator)
November 3, 2019 -

Determining when it is best to use spot instances versus on-demand instances can be very complex when you have a large number of tasks that need to run for a decently long duration.

I need to factor in the potential for interruptions and retries on the overall estimated cost. Some of the tasks I run can save their progress and others can't and so I needed to figure those implications out as well.

Taking all of those requirements I've written a spot instance simulator that lets me compare metrics around simulated cost and estimated time to completion for a group of tasks.

https://observablehq.com/@rustyconover/aws-ec2-spot-instance-simulator

I hope some of you also find it helpful.

🌐
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › amazon ec2 instances › amazon ec2 billing and purchasing options › spot instances
Spot Instances - Amazon Elastic Compute Cloud
A Spot Instance is an instance that uses spare EC2 capacity that is available for less than the On-Demand price. Because Spot Instances enable you to request unused EC2 instances at steep discounts, you can lower your Amazon EC2 costs significantly. The hourly price for a Spot Instance is called ...
🌐
Reddit
reddit.com › r/aws › can anybody explain to me why spot instances would have better capabilities in the event of failure?
r/aws on Reddit: Can anybody explain to me why Spot Instances would have better capabilities in the event of failure?
September 15, 2023 - Reserved instances are also not ... the changing needs of a distributed application. On-Demand instances can also be more costly in the long run compared to Spot instances, as they charge a higher hourly rate with no guaranteed ...
🌐
Boltops
blog.boltops.com › 2018 › 07 › 13 › on-demand-vs-reserved-vs-spot-aws-ec2-pricing-comparison
On-Demand vs Reserved vs Spot AWS EC2 Pricing Comparison - BoltOps Blog
July 13, 2018 - With spot instances, the commitment concept gets reversed. Instead, the lack of a commitment benefiting you, it applies the other way to AWS. With on-demand, you do not commit to AWS.
🌐
CloudZero
cloudzero.com › home › blog › what are on-demand instances and when should you use them?
What Are On-Demand Instances And When Should You Use Them?
August 8, 2024 - Interruption-free – Unlike Spot instances, which AWS can reclaim at any time with a two-minute notice, you are in charge of deciding when to start, run, pause, stop, reboot, or terminate an On-Demand instance.
🌐
in28minutes Cloud
cloud.in28minutes.com › aws-certification-ec2-pricing-models
EC2 - Pricing Models - On Demand vs Spot vs Reserved vs Savings Plans - AWS Certification Cheat Sheet – in28minutes Cloud
On Demand is all about “On demand resource provisioning” · Use and Throw! This provides highest flexibility at highest cost. ... In the older Spot instance model, you bid for spot instances and the highest bidder wins.
Find elsewhere
🌐
DoiT
doit.com › home › aws spot instance pricing
AWS Spot Instance Pricing | DoiT
February 22, 2023 - Amazon EC2 Spot Instances allow you to leverage unused EC2 capacity in the Amazon Web Services (AWS) cloud. Available at up to a 90% discount compared with on-demand pricing, Spot Instances have a wide range of applications.
🌐
Binadox
binadox.com › home › blog › aws spot instances in cloud computing: benefits and pitfalls
AWS Spot Instances in Cloud Computing: Benefits and Pitfalls - Binadox
March 18, 2025 - While Reserved Instances deployment implies the usage of reserved capacity that you commit to for a long-term period (1-3 years), the Spot Instances means usage of a spare EC2 capacity with no time limit.
🌐
Google Cloud
cloud.google.com › products › compute
Compute Engine | Google Cloud
Manually adjust your resources using historical data with rightsizing recommendations, or guarantee capacity for planned demand spikes with future reservations. All of our latest compute instances (including C4A, C4, C4D, N4, C3D, X4, and Z3) run on Titanium, a system of purpose-built microcontrollers and tiered scale-out offloads to improve your infrastructure performance, life cycle management, and security.
🌐
AWS re:Post
repost.aws › questions › QUezAlgpQFSNuDMPycP7a9rQ › spot-fleet-for-on-demand-instance
spot fleet for on demand instance | AWS re:Post
June 14, 2025 - If you still prefer the Fleet approach, EC2 Fleet with type "instant" can be used to launch On-Demand Instances and provides more capabilities than the RunInstances API. Remember that the main benefit of Spot Fleet is the ability to combine On-Demand and Spot Instances to optimize for cost and availability.
🌐
Cloudforecast
cloudforecast.io › home › aws pricing & cost optimization › when should you use aws spot instances?
When Should You Use AWS Spot Instances? | CloudForecast
May 25, 2023 - While they are frequently used to supplement On-Demand Instances, they aren’t meant to handle 100% of your workload due to the potential for service disruption with very little notice. The price of a Spot Instance varies depending on supply and demand at any given time, but discounts of up to 90% off of On-Demand Instances aren’t unusual.
🌐
AWS
aws.amazon.com › what is cloud computing? › cloud comparisons hub › compute › what’s the difference between on-demand instances and reserved instances?
On-Demand Instances vs Reserved Instances - Instance Types Comparison - AWS
1 week ago - Amazon EC2 Spot Instances are neither Reserved nor On-Demand Instances. Instead, Spot Instances are EC2 instances you can request for increased savings. These Spot Instances will be interrupted if a request for a Reserved or On-Demand Instance exceeds the current Availability Zone capacity.
🌐
Amazon EC2
instances.vantage.sh
Amazon EC2 Instance Comparison
A free and easy-to-use tool for comparing EC2 Instance features and prices.
🌐
Northflank
northflank.com › blog › spot-instances
What are AWS Spot Instances? Guide to lower cloud costs and avoid downtime | Blog — Northflank
That’s understandable because Spot Instances (on AWS and other clouds) are cheaper than regular ones. AWS claims it is up to 90% cheaper than On-Demand, and similar pricing models exist on Google Cloud and Azure.
🌐
Incredibuild
incredibuild.com › home › what’s the difference between on-demand, reserved, and spot instances?
On-Demand vs Reserved vs Spot Instances | Incredibuild
February 13, 2025 - That way, you can relax knowing that you have all of the capacity you need, and you’re not wasting money on instances that you only end up using once or twice. Cloud providers need to keep some space capacity available, in case there’s a huge surge in demand from customers — but for much of the time that spare capacity just sits unused. When you buy a Spot Instance, you’re essentially borrowing excess capacity from your cloud provider for a certain period of time.
🌐
CloudZero
cloudzero.com › home › blog › spot instances explained: how they can lower cloud costs
Spot Instances Explained: How They Can Lower Cloud Costs
July 9, 2024 - As Spot Instances focus on spare EC2 capacity, Reserved Instances offer the benefit of booking ahead of time. You can pay in advance and commit to the Reserved Instances for one to three years. In return, AWS applies a favorable pricing discount, which could save up to 72% of the amount you’d otherwise use up on regular On-Demand Instances.
🌐
GeeksforGeeks
geeksforgeeks.org › cloud computing › aws-ec2-on-demand-and-spot-instances
AWS EC2 On Demand and Spot Instances - GeeksforGeeks
July 23, 2025 - Unknown workloads: You don't know ... is suitable for short term workloads. As per AWS Spot Instance uses spare EC2 capacity that is available for less than the On-Demand price....