How accurately is AWS EC2 calculated hourly?

Simple question:

If I had six identical EC2 instances to process data for exactly ten minutes and shutdown, would I be charged for six hours or one hour?

+5
source share
2 answers

The granularity of the changes depends on the hour.

From the AWS pricing site http://aws.amazon.com/ec2/pricing/ :

The price per instance-hour consumed for each instance, from the moment the instance is launched until it is completed or stopped. Each Partial instance used in the watch will be billed for the full hour.

If you do not calculate the time that is under the threshold for the free level, the second you use an instance of EC2, which you charge the entire hour. If you go one second in the first hour, you pay for the full second hour.

One caveat: instances of Spot.

If random instances are interrupted by AWS (not you), before you start using the full hour, you will not pay at all. If you interrupt a spot instance, you pay for partial hourly use (this is the full hour, rounded off by instance on request).

+5
source

AWS introduced billing for EC2 / EBS per second since October 2, 2017.

New Payment EC2

+1
source

Source: https://habr.com/ru/post/1204681/


All Articles