There are three ways to pay for Amazon EC2 instances: On-Demand, Reserved Instances, and Spot Instances. You can also pay for Dedicated Hosts which provide you with EC2 instance capacity on physical servers dedicated for your use.

Launch an Amazon EC2 Instance for Free

Try Amazon EC2 for Free

AWS Free Tier includes 750 hours of Linux and Windows t2.micro instances each month for one year. To stay within the Free Tier, use only EC2 Micro instances.

View AWS Free Tier Details »

On-Demand instances let you pay for compute capacity by the hour with no long-term commitments or upfront payments. You can increase or decrease your compute capacity depending on the demands of your application and only pay the specified hourly rate for the instances you use. Amazon EC2 always strives to have enough On-Demand capacity available to meet your needs, but during periods of very high demand, it is possible that you might not be able to launch specific On-Demand instance types in specific Availability Zones for short periods of time.

On-Demand instances are recommended for:

  • Users that want the low cost and flexibility of Amazon EC2 without any up-front payment or long-term commitment
  • Applications with short term, spiky, or unpredictable workloads that cannot be interrupted
  • Applications being developed or tested on Amazon EC2 for the first time

Reserved Instances provide you with a significant discount (up to 75%) compared to On-Demand instance pricing. You are assured that your Reserved Instance will always be available for the operating system (e.g., Linux/UNIX or Windows) and Availability Zone in which you purchased it.

For applications that have steady state or predictable usage, Reserved Instances can provide significant savings compared to using On-Demand instances. Functionally, Reserved Instances and On-Demand instances perform identically. See How to Purchase Reserved Instances for more information.

Reserved Instances are recommended for:

  • Applications with steady state or predictable usage
  • Applications that require reserved capacity
  • Users able to make upfront payments to reduce their total computing costs even further

If your needs change, you can request to move your Reserved Instance to another Availability Zone within the same region, change its network platform, or, for Linux/UNIX Reserved Instances, modify the instance type of your reservation to another type in the same instance family at no additional cost. You can also sell your Reserved Instances if you have a US bank account.

Spot instances provide the ability for customers to purchase compute capacity with no upfront commitment and at hourly rates usually lower than the On-Demand rate. Spot instances allow you to specify the maximum hourly price that you are willing to pay to run a particular instance type. Amazon EC2 sets a Spot Price for each instance type in each Availability Zone, which is the price all customers will pay to run a Spot instance for that given period. The Spot Price fluctuates based on supply and demand for instances, but customers will never pay more than the maximum price they have specified. If the Spot Price moves higher than a customer’s maximum price, the customer’s instance will be shut down by Amazon EC2. Other than those differences, Spot instances perform exactly the same as On-Demand or Reserved Instances. See here for more details on Spot instances.

Spot instances are recommended for:

  • Applications that have flexible start and end times
  • Applications that are only feasible at very low compute prices
  • Users with urgent computing needs for large amounts of additional capacity

A Dedicated Host is a physical EC2 server with instance capacity fully dedicated for your use. Dedicated Hosts can help you reduce costs by allowing you to use your existing server-bound software licenses, including Windows Server, SQL Server, and SUSE Linux Enterprise Server (subject to your license terms), and can also help you meet compliance requirements. Dedicated Hosts can be purchased On-Demand (hourly). Reservations can provide up to a 70% discount compared to the On-Demand price. If you are interested in purchasing Reservations contact your account manager or customer support. Learn More.

Dedicated Hosts benefits:

  • Save Money on Licensing Costs: Dedicated Hosts can enable you to save money by using your own per-socket or per-core software licenses in Amazon EC2.
  • Help Meet Compliance and Regulatory Requirements: Dedicated Hosts allow you to place your instances in a VPC on a specific, physical server. This enables you to deploy instances using configurations that help address corporate compliance and regulatory requirements