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

🌐
Jayendra's Cloud Certification Blog
jayendrapatil.com › tag › spot-vs-on-demand-instances
Spot vs On-Demand Instances Archives - Jayendra's Cloud Certification Blog
However, if the spot instance is terminated by you, you will be charged for the partial hour · Spot instances with a predefined duration use a fixed hourly price that remains in effect for the Spot instance while it runs. EC2 can interrupt the Spot instance when the Spot price rises above ...
🌐
Runpod
runpod.io › home › blog › spot vs. on-demand instances: what's the difference on runpod?
Spot vs. On-Demand Instances: What's the Difference on Runpod? | Runpod Blog
Spot instances are originally a ... interrupted if that compute is needed elsewhere. On-demand instances are a type of AWS EC2 instance that allows you to pay for compute capacity by the hour with no long-term commitments....
Find elsewhere
🌐
Pump
pump.co › home › blog › aws spot instances vs on-demand instances explained
AWS Spot Instances vs On-Demand Instances Explained
They have Spot Instances (interruptible but affordable), On-Demand Instances (no long-term contracts, pay-as-you-go) and Reserved Instances (discount prices on long-term contracts).
🌐
CloudOptimo
cloudoptimo.com › home › blog › on-demand vs spot instances
On-Demand vs Spot Instances
June 19, 2024 - On-Demand Instances: Pay per hour (or second) for the instance you use. Spot Instances: Bid on spare EC2 capacity for significantly lower prices, but with the possibility of interruption.
🌐
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
Now for the most exciting pricing option: spot. With spot instances, the commitment concept gets reversed. Instead, the lack of a commitment benefiting you, it applies the other way to AWS.
🌐
Hivenet
compute.hivenet.com › post › whats-the-difference-between-on-demand-and-spot-instances
On-Demand vs. Spot Instances | Compute with Hivenet Explained
High-performance GPUs – Compute with Hivenet provides on-demand access to GPUs like the RTX 4090. Spot instances offer access to unused computing capacity at a lower cost—sometimes up to 90% cheaper than on-demand instances.
🌐
Cast AI
cast.ai › cast ai › blog › spot instances vs on-demand: reduce your costs using automation
Spot Instances vs On-Demand: Save with Smart Automation - Cast AI
July 1, 2025 - But what if you could stay on that beach chair and know exactly when it’s time to move, or better yet, have another one waiting for you? On-Demand Instances offer guaranteed availability and predictable pricing at a premium cost.
🌐
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....
🌐
Virtana
virtana.com › home › aws pricing – dedicated, on-demand, reserved and spot. demystifying the terminology of aws instances
AWS Pricing - Dedicated, On-Demand, Reserved and Spot. Demystifying the Terminology of AWS Instances
May 12, 2023 - The benefit of on-demand pricing is that you don’t have to plan in advance how many instances you need. This gives you maximum flexibility. However, it comes at a cost. On-demand pricing is the highest of the lot. With Spot Instances, users ...
🌐
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.
🌐
LinkedIn
linkedin.com › pulse › what-difference-between-on-demand-instance-spot-anurudha-kumar
What is the difference between on-demand instance and spot instance.
December 26, 2018 - Tasks that require extra computing capacity to improve performance. On-demand instances are made available whenever you require them and you need to pay for the time you use them on an hourly basis.
🌐
Novita AI
blogs.novita.ai › spot vs on-demand instances: quick decision guide
Spot vs On-Demand Instances: Quick Decision Guide - Novita
September 1, 2025 - Rates may fluctuate over time; instances may be terminated if capacity is needed · Key Trade-off: On-Demand = stable and reliable; Spot = cheaper but volatile.
🌐
Quora
quora.com › What-is-the-difference-between-a-spot-instance-and-a-demand-instance-on-EC2
What is the difference between a spot instance and a demand instance on EC2? - Quora
Answer (1 of 7): On-Demand instances let you pay for compute capacity by the hour with no long-term commitments. This frees you from the costs and complexities of planning, purchasing, and maintaining hardware and transforms what are commonly ...
🌐
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 ...