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.

🌐
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 ...
Discussions

Can anybody explain to me why Spot Instances would have better capabilities in the event of failure?
The gracefully/cost efficient/large amount is the key here for why it's spot vs any of the others. More on reddit.com
🌐 r/aws
12
3
September 15, 2023
Spot instance Vs On-Demand instance in AWS - General - Off topic - AWS Thinkbox Discussion Forums
Hello Everyone, I am new in this community, I am learning AWS and trying to get a job as AWS developer . I am confused about the difference between a Spot instance and an On-Demand instance. I know the basics about both spot instances and on-demand instances are pricing models. More on forums.thinkboxsoftware.com
🌐 forums.thinkboxsoftware.com
0
April 7, 2020
Spot Instances vs On-Demand vs Spot Block Instances (calculator)
Thanks, this is awesome! Is the source code published anywhere? I'm interested to potentially make use of this in my AutoSpotting Open Source project. More on reddit.com
🌐 r/aws
3
7
November 9, 2019
What happens if I set the spot bid at the on demand price?
You could still be pre-empted and have your instance killed in 2 minutes this way. More on reddit.com
🌐 r/aws
17
2
November 15, 2021
🌐
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....
🌐
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
4 days ago - Keep in mind: Standard Reserved ... Instance with new attributes, but cannot be bought and sold in the marketplace. Amazon EC2 Spot Instances are neither Reserved nor On-Demand Instances....
🌐
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 - I believe if you have designed your app to use spot instances ,you have thought that your app will shutdown anytime , this way you configure it to make sure no transaction or data will be lost if a spot instance stops. So in case of an ec2 instance failure , spot instance would be able to start the application not because it is spot (and aws stops them) ,but also in instance failures. Also It is cost-effectively! In case of On-Demand,dedicated,reserved ,you are fucked .
🌐
Spot.io
spot.io › home › spot instances › spot instances vs. on-demand instances: pros and cons
Spot Instances vs. On-Demand Instances: Pros and Cons
September 26, 2023 - They can be used for applications with short-term, spiky, or unpredictable workloads that cannot be interrupted. The key difference between spot instances and on-demand instances is the pricing model and their availability.
🌐
Finout
finout.io › blog › aws-spot-instances
What Are AWS Spot Instances, Pros/Cons, and 6 Ways to Save Even More
May 22, 2025 - Spot instances are a cost-effective option within Amazon Web Services (AWS) that allows users to bid on spare EC2 compute capacity. These instances can be up to 90% cheaper than regular on-demand instances, making them an attractive choice for ...
Find elsewhere
🌐
Hashnode
mayowaibitola.hashnode.dev › on-demand-vs-spot-vs-reserved-instances-on-aws
On-Demand vs Spot vs Reserved Instances on AWS
March 9, 2022 - On-Demand Instances offer the ... basis with no long-term commitment, while Reserved Instances and Spot Instances offer discounted pricing in exchange for a longer commitment....
🌐
Hokstadconsulting
hokstadconsulting.com › blog › spot-vs-on-demand-instances-cost-breakdown
Spot vs On-Demand Instances: Cost Breakdown
August 3, 2025 - Spot Instances: Offer up to 90% savings by using surplus capacity. Ideal for tasks that can handle interruptions, like batch processing or testing. However, they can be reclaimed with as little as 2 minutes’ notice, making them less reliable. On-Demand Instances: Provide guaranteed availability ...
🌐
AWS
calculator.aws
AWS Pricing Calculator
AWS Pricing Calculator lets you explore AWS services, and create an estimate for the cost of your use cases on 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 - AWS On-Demand instances offer the most flexibility. The flexibility comes at a price, though, as opposed to Spot instances (up to 90% off), Reserved Instances (up to 72% off), or Savings Plans (up to 72% off).
🌐
AWS Thinkbox Discussion Forums
forums.thinkboxsoftware.com › general - off topic
Spot instance Vs On-Demand instance in AWS - General - Off topic - AWS Thinkbox Discussion Forums
April 7, 2020 - Hello Everyone, I am new in this community, I am learning AWS and trying to get a job as AWS developer . I am confused about the difference between a Spot instance and an On-Demand instance. I know the basics about both spot instances and on-demand instances are pricing models.
🌐
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › amazon ec2 instances › amazon ec2 billing and purchasing options
Amazon EC2 billing and purchasing options - Amazon Elastic Compute Cloud
Reserved Instances – Reduce your Amazon EC2 costs by making a commitment to a consistent instance configuration, including instance type and Region, for a term of 1 or 3 years. Spot Instances – Request unused EC2 instances, which can reduce your Amazon EC2 costs significantly.
🌐
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 9, 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.

Top answer
1 of 4
7

There is a paper by folks from Israel Institute of Technology which analyzes the spot market. Their conclusion is that spot prices are not bid driven but rather generated with AR(1) function. So in such case it wouldn't be due to other's bids, but due to algorithm used.

http://www.cs.technion.ac.il/~ladypine/spotprice-ieee.pdf

Though, I guess it could have changed if spot market really reached the level where they could get nice prices from demand/supply. As Matt suggest it become a common practice to drive costs down with spot instances and many overbid on-demand prices to avoid down time. In longer run it was still cost effective ... but is it still? The real problem is that apart of Amazon nobody really knows how the prices are created.

2 of 4
9

This is not a bug, this is an priority / availability issue because on-demand instances have priority over spot-instances regardless of spot-bids. This stems from Amazon EC2 statement that you "bid on spare Amazon EC2 instances".

So when the demand for on-demand instances increases there are less spares available, and the availability of spot-instances decreases driving spot pricing higher according to competing spot-bids.

Many spot-bidders have failed to understand the higher priority of on-demand instances and have bid above on-demand pricing in an attempt to gain priority over on-demand instance requests, but this fails because on-demand instances have higher priority regardless of spot biding prices.

In turn these above-the-on-demand pricing bids have been competing against each other driving the highest prices multiple times higher than on-demand pricing when spot-instances availability is low.

Although the following was not asked, my recommendations for lowest-cost spot instances management of long-term workloads is:

  1. Design your application for failures (continuous backup / replication), and rapid recovery
  2. Set spot-instance bid price to that of on-demand pricing
  3. When a spot instance is terminated, restart it as an on-demand instance or in another region/zone where spot pricing is lower.
  4. Monitor spot-pricing until it goes lower than on-demand pricing
  5. Stop on-demand instance and goto 2. above
🌐
Visualpathblogs
visualpathblogs.com › aws-certified-solutions-architect › what-are-the-differences-between-on-demand-reserved-and-spot-instances
differences between On-Demand, Reserved, and Spot Instances?
July 7, 2025 - Spot Instances offer the lowest prices among the three models, often up to 90 percent cheaper than On-Demand Instances. They are made available from a cloud provider’s excess capacity and can be interrupted with little notice when that capacity ...
🌐
Reddit
reddit.com › r/aws › what happens if i set the spot bid at the on demand price?
r/aws on Reddit: What happens if I set the spot bid at the on demand price?
November 15, 2021 -

TLDR: I saw the historical spot pricing and it is almost always ~1/3 of the on demand pricing. And it appears I can set the bid price to the on demand price?

So wouldn't it just be smarter to never use on demand and always use a spot instance with the bid price as the on demand price?

Thanks in advance!!

Edit------

What I am trying to get at is that instead of paying the on demand price, it is possible to use spot instance pricing instead and of on demand at ~1/3 of the price.

But if you put the bid price as the on demand price, wouldn't likelihood of your VM being shut down would be very low and therefore you're just running at 1/3 of the VM costs constantly?

🌐
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › amazon ec2 instances › amazon ec2 billing and purchasing options › spot instances › best practices for amazon ec2 spot
Best practices for Amazon EC2 Spot - Amazon Elastic Compute Cloud
While running, Spot Instances are exactly the same as On-Demand Instances. However, Spot does not guarantee that you can keep your running instances long enough to finish your workloads. Spot also does not guarantee that you can get immediate availability of the instances that you are looking ...
🌐
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.
🌐
Quora
quora.com › What-is-the-difference-between-a-normal-instance-and-a-spot-instance-in-AWS-Amazon-EC2-Why-is-one-more-valuable-than-the-other
What is the difference between a normal instance and a spot instance in AWS/Amazon EC2? Why is one more valuable than the other? - Quora
Answer: Regular (“On Demand”) instance is not more valuable, it’s just more expensive, because it’s guaranteed. If you spin it up successfully you “own” it and if it fails, AWS will spin up another one. It’s like a car rental. As far as the car rental contract is valid, you drive ...