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....
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
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
Leveraging mispriced AWS spot instances
Kudos to the author on producing this · Quick, small fix: This instance is shown as having 0 GBs of memory, but in fact it has 0.5 GB. https://instances.vantage.sh/aws/ec2/t4g.nano More on news.ycombinator.com
🌐 news.ycombinator.com
74
184
September 3, 2022
🌐
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 ...
🌐
Spot.io
spot.io › resources › 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.
🌐
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 .
🌐
nOps
nops.io › blog › on-demand-vs-spot-vs-reserved-instances
On-Demand vs Spot vs Reserved Instances: Explained in [current_year] | nOps
1 week ago - Instead of paying On-Demand rates, you commit to a specific instance type and region for a one- or three-year term — and in return, you can save up to 75% compared to On-Demand pricing.
Find elsewhere
🌐
CloudOptimo
cloudoptimo.com › home › blog › on-demand vs spot instances
On-Demand vs Spot Instances
June 19, 2024 - Spot Instances: Bid on spare EC2 capacity for significantly lower prices, but with the possibility of interruption. On-demand instances are the foundation of AWS EC2 service.
🌐
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 ...
🌐
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....
🌐
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.
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
🌐
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 ...
🌐
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 this car and if ...
🌐
LinkedIn
linkedin.com › pulse › demand-spot-ec2-instances-aws-bhawna-chawla-k7n1e
On Demand and SPOT EC2 Instances in AWS
December 25, 2023 - You have full control over the instance's lifecycle you decide when to launch, stop, hibernate, start, reboot, or terminate it. ... Spot instances can give up to a 90% cost savings. The reason behind the discount is that AWS can optimize its ...
🌐
Hacker News
news.ycombinator.com › item
Leveraging mispriced AWS spot instances | Hacker News
September 3, 2022 - Kudos to the author on producing this · Quick, small fix: This instance is shown as having 0 GBs of memory, but in fact it has 0.5 GB. https://instances.vantage.sh/aws/ec2/t4g.nano
🌐
nOps
nops.io › blog › ec2-spot-instances
Understanding EC2 Spot Instances: Basics, Use Cases, and Pricing | nOps
May 2, 2024 - Easier Scaling: Spot Instances can be used to quickly scale up to meet demand during peak periods, providing greater availability and flexibility than on-demand instances. Great with testing applications: Spot Instances can also be used to test ...
🌐
AWS
docs.aws.amazon.com › aws batch › user guide › best practices for aws batch › amazon ec2 on-demand or amazon ec2 spot
Amazon EC2 On-Demand or Amazon EC2 Spot - AWS Batch
Most AWS Batch customers use Amazon EC2 Spot instances because of the savings over On-Demand instances. However, if your workload runs for multiple hours and can't be interrupted, On-Demand instances might be more suitable for you. You can always try Spot instances first and switch to On-Demand ...