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
🌐
TechTarget
techtarget.com › searchaws › definition › AWS-On-Demand-Instances-Amazon-Web-Services-On-Demand-Instances
What is AWS On-Demand Instances (Amazon Web Services On-Demand Instances)? – TechTarget Definition
AWS on-demand instances are virtual servers that run on Amazon EC2 and offer secure and resizable compute capacity with no upfront costs. Learn more here.
🌐
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › amazon ec2 instances › amazon ec2 billing and purchasing options › purchasing on-demand instances for amazon ec2
Purchasing On-Demand Instances for Amazon EC2 - Amazon Elastic Compute Cloud
You have full control over the instance's lifecycle—you decide when to launch, stop, hibernate, start, reboot, or terminate it. There is no long-term commitment required when you purchase On-Demand Instances. You pay only for the seconds that your On-Demand Instances are in the running state, with a 60-second minimum.
Discussions

When is it better to purchase an On-Demand Capacity Reservation for EC2 instances, rather than just run an on-demand EC2 instance?
Your input can influence how we create and update our content to better support your AWS journey. ... Let's say that you want to ensure that a particular type of EC2 instance is available at a specific time to run some task. You can either 1) set up an On-Demand Capacity Reservation, or 2) ... More on repost.aws
🌐 repost.aws
6
0
March 19, 2024
Amazon EC2-what is the difference between on demand and on spot instances other than pricing that spot is more cheaper than on demand - Stack Overflow
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). More on stackoverflow.com
🌐 stackoverflow.com
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
Modeling EC2 on-demand vs reserved instance pricing
Well, thanks! Switching to a reserved instance just saved my small nonprofit $240 a year. More on reddit.com
🌐 r/devops
1
0
May 16, 2023
🌐
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 - No long-term commitments – You are not required to sign up for a one- or three-year contract to use On-Demand instances. No upfront payment required – You will receive a monthly bill based on your usage per hour or per second. 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.
🌐
AWS re:Post
repost.aws › questions › QUV_190TzkRa61F_jJR54A5g › when-is-it-better-to-purchase-an-on-demand-capacity-reservation-for-ec2-instances-rather-than-just-run-an-on-demand-ec2-instance
When is it better to purchase an On-Demand Capacity Reservation for EC2 instances, rather than just run an on-demand EC2 instance? | AWS re:Post
March 19, 2024 - So in summary, Reservations provide better availability guarantees for steady workloads, while On-Demand works better for unpredictable or short-term needs. Regional Reserved Instances can reduce costs for long-term, stable capacity requirements. ... [3] Selecting cost effective capacity reservations for your business-critical workloads on Amazon EC2 | AWS Compute Blog
🌐
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
3 days ago - On-Demand and Reserved Instances are two pricing models for Amazon Elastic Compute Cloud (EC2) instances you can provision in the AWS cloud. Functionally, both types are the same. You can choose from several different compute and memory configurations for different workloads.
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.

Find elsewhere
🌐
Quora
quora.com › What-is-the-on-demand-instance-in-AWS
What is the on-demand instance in AWS? - Quora
Answer: On-demand is a pricing method for EC2 instances(others are reserved instances and spot instances) With on-demand, you can get a server at any time and there’s no commitment from you.
🌐
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › amazon ec2 instances › amazon ec2 billing and purchasing options › on-demand capacity reservations and capacity blocks for ml › reserve compute capacity with ec2 on-demand capacity reservations
Reserve compute capacity with EC2 On-Demand Capacity Reservations - Amazon Elastic Compute Cloud
You can reserve capacity for as many instances as that quota allows, minus the number of instances that are already running. Capacity Reservations in the assessing, scheduled, pending , active, and delayed state count towards your On-Demand Instance quota.
🌐
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 - With that in mind, we’re ready ... you choose will greatly decide your TCO. With on-demand pricing, you pay by the hour for usage of an AWS instance....
🌐
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 | Spot.io
January 13, 2025 - This is part of a series of articles about Spot Instances · On-demand instances allow you to pay for compute capacity by the hour with no long-term commitments.
🌐
GeeksforGeeks
geeksforgeeks.org › cloud computing › aws-ec2-on-demand-and-spot-instances
AWS EC2 On Demand and Spot Instances - GeeksforGeeks
July 23, 2025 - On Demand, customers can launch EC2 instances of different sizes and only pay for the compute resources they use, without any upfront costs or long-term commitments. However, prices for On Demand instances can be higher than other pricing models, ...
🌐
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 if necessary.
🌐
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.
🌐
Reddit
reddit.com › r/devops › modeling ec2 on-demand vs reserved instance pricing
r/devops on Reddit: Modeling EC2 on-demand vs reserved instance pricing
May 16, 2023 -

Managing cloud costs can be quite complex. You've got to predict the future while understanding how pricing structures impact all possible load patterns. In this post I discuss a how re-framing on-demand instances as a "premium" instead of reserved instances as a "discount" can shift your thinking. There's a break even point at around 15 hours per day when on-demand and reserved instance pricing meet (across almost all instance types). I walk through how to calculate costs and model costs in a formal way. This can help you save the most money when auto-scaling.

🌐
AWS
docs.aws.amazon.com › aws elastic beanstalk › developer guide › configuring elastic beanstalk environments › auto scaling your elastic beanstalk environment instances › spot instance support for your elastic beanstalk environment › managing on-demand instances and spot instances
Managing On-Demand instances and Spot instances - AWS Elastic Beanstalk
Only MinSize determines your environment’s initial capacity—the number of instances you want running at a minimum. SpotFleetOnDemandBase doesn't affect initial capacity. When Spot is enabled, this option determines how many On-Demand Instances are provisioned before any Spot Instances are considered.
Top answer
1 of 1
2

Amazon EC2 servers are charged for each hour you use them. So a Small server in the us-east zone will cost 13 cents/hour or .13 * 24 * 30 = $93.60/month. It doesn't matter if you're using 10% of the CPU or 100%, it's the same hourly rate. If you have a long-term need for compute resources, you can save money by purchasing a one year or three year reserved instance. (by paying an upfront fee to "reserve" the instance, you can pay a lower hourly rate).

You'll also pay 12 cents per GB of outbound bandwidth (first GB is free, prices get cheaper above 10TB of data transfer)

Additionally, you'll pay for storage, if you have 100GB of storage allocated for the server, you'll pay 10 cents/GB-month, or 100 * .10 = $10/month for that storage.

You also pay $0.10 per million I/O requests. That's a bit harder to estimate, but tends to be minimal unless your server is doing a lot of I/O. You can minimize this cost by moving high I/O files to ephemeral block storage or even a tempfs memory based filesytem to reduce EBS disk I/O's.

The pricing is detailed here: http://aws.amazon.com/ec2/pricing/

And they have a usage cost calculator here: http://calculator.s3.amazonaws.com/calc5.html


If you have well defined peak and off-peak usage hours, you can save money by scaling your server usage to meet demand.

For example, one simple way to do this if you can stand some downtime, is to restart your server as a larger instance in the morning to cover peak demand, then restart it again as a smaller instance in the evening to handle the slow, off-peak hours. You can script this by using the AWS API.

To avoid downtime, you could use an AWS load balancer (there is a fee for this) and have 2 server instances - start up the big one during peak time and then shut down the small server, then during off-peak, start up your small server and then shut down the big one.

AWS also provides ways to monitor your server load and automatically scale your servers up and down to meet load, but this is probably overkill for a small site.

🌐
Amazon EC2
instances.vantage.sh
Amazon EC2 Instance Comparison
A free and easy-to-use tool for comparing EC2 Instance features and prices.
🌐
AWS
aws.amazon.com › amazon ec2 › pricing › on-demand pricing
EC2 On-Demand Instance Pricing
3 days ago - When you launch an Amazon EC2 instance with AMD SEV-SNP turned on, you are charged an additional hourly usage fee that is equivalent to 10 percent of the On-Demand hourly rate for the selected instance type. This AMD SEV-SNP usage fee is a separate charge to your Amazon EC2 instance usage. Reserved Instances, Savings Plans, and operating system usage don't impact this fee ... There are several ways to get started with Amazon EC2 for free. Learn more about EC2 ... Instantly get access to the AWS Free Tier.
🌐
AWS
aws.amazon.com › compute › amazon ec2 › pricing
Amazon EC2 – Secure and resizable compute capacity – AWS
3 days ago - On-Demand Instances offer pay-as-you-go compute capacity by the hour or second.
🌐
AWS
aws.amazon.com › compute › amazon ec2 › instance types
Instance Types
3 days ago - These instances are good for applications such as web servers, code repositories, and small-to-medium databases.