- Newest
- Most votes
- Most comments
Hi
in this scenario where the customer runs an On-Demand Amazon Linux EC2 instance for 3 hours, 5 minutes, and 6 seconds: The customer will be billed for a minimum of 60 seconds, not for the entire duration (3 hours, 5 minutes, and 6 seconds).
Answer: 3 hours, 5 minutes
https://aws.amazon.com/ec2/pricing/ https://aws.amazon.com/ec2/faqs/?nc1=h_ls
EC2 per-second billing removes the cost of unused minutes and seconds from your bill. Focus on improving your applications instead of maximizing hourly usage, especially for instances running over irregular time periods such as dev/testing, data processing, analytics, batch processing, and gaming applications.
EC2 usage is billed in one-second increments, with a minimum of 60 seconds. Similarly, provisioned storage for Amazon Elastic Block Store (Amazon EBS) volumes is billed in per-second increments, with a 60-second minimum. Per-second billing is available for Amazon Linux, Windows, Red Hat Enterprise Linux, Ubuntu, and Ubuntu Pro instances across all Regions and AZs and is applicable across all EC2 purchase models.
EC2 is charged in 1-second increments. Therefore, the answer is B. 3 hours, 5 minutes, and 6 seconds.
Minimum of 60 seconds means that if the usage time is less than 60 seconds, you will be charged for 60 seconds. This question is for 3 hours, 5 minutes, and 6 seconds, and since more than 60 seconds are used, it is calculated in 1-second increments. The following FAQs may be helpful.
https://aws.amazon.com/ec2/faqs/?nc1=h_ls
Q: How will my monthly bill show per-second versus per-hour? Although EC2 charges in your monthly bill will now be calculated based on a per second basis, for consistency, the monthly EC2 bill will show cumulative usage for each instance that ran in a given month in decimal hours. For example, an instance running for 1 hour 10 minutes and 4 seconds would look like 1.1677. Read this blog for an example of the detailed billing report.
Relevant content
- asked a year ago
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Disagree. "minimum of 60 seconds" means that if an EC2 is started & then stopped after (say) 30 seconds, the customer will be billed for 60 seconds.
On-demand EC2 is billed per-second for durations more than 60 seconds. So if an EC2 is started and then stopped after 1m 30s, the customer will be billed for 1m 30s. And in the case here, if the EC2 is running for 3h 5m 6s the customer will be billed for 3h 5m 6s.