How are Amazon EC2 instance-hours billed?
Last updated: 2021-07-19
I want to know how I am billed for my Amazon Elastic Compute Cloud (Amazon EC2) instances.
Your Amazon EC2 usage is calculated by either the hour or the second based on the size of the instance, operating system, and the AWS Region where the instances are launched. Pricing is per instance-hour consumed for each instance, from the time an instance is launched until it is terminated or stopped.
- Each partial instance-hour consumed is billed per-second for instances launched in Linux, Windows, SQL Server, and Ubuntu.
- Each partial instance-hour is billed as a full hour for all other instance types.
When reviewing your Amazon EC2 usage, consider the following:
- If your instance is billed by the hour, then you're billed for a minimum of one hour each time a new instance is started—that is, when it enters the running state.
- If your instance is billed by the second, then you're billed for a minimum of 60 seconds each time a new instance is started—that is, when it enters the running state.
- An instance stays in the running state while being rebooted.
- Instances that are in any other state aren't billed.
For more information on instance pricing based on purchase options, see Amazon EC2 pricing.
If you purchase an Amazon EC2 Reserved Instance, the terms of your Reserved Instance contract can modify the way you're billed. For more information, see What is an Amazon EC2 Reserved Instance?
If you have signed up for Savings Plans, see Savings Plans FAQ.