How are Amazon EC2 instance hours billed?
Last updated: 2020-09-18
How am I billed for Amazon Elastic Compute Cloud (Amazon EC2) instance hours?
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 Linux instances and 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.
- 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.