Will I be charged while the EC2 is in stopping status?

0

Recently one of my EC2 encountered a problem and becomes unavailable. I stopped it and it takes about 1 hour to complete with a stopping status. I'm wondering whether I will be charged the expense during this time period.

One more question, as this is the EC2 life cycle: Start ACTION -> Health Check 1/2 In-progress -> Health Check 2/2 OK -> Running -> Stop ACTION -> Stopping -> Stopped. What is the checkpoint regarding the expense charging? From when to when?

Thank you!

已提問 8 年前檢視次數 895 次
2 個答案
0
已接受的答案

The billing Period ends in the hour when the instance transitions into the stopping state.

  • enter stopping state at 55min you pay 1h
  • enter stopping state at 65min you pay 2h

https://aws.amazon.com/ec2/faqs/

Instance-hours are billed for any time your instances are in a "running" state. If you no longer wish to be charged for your instance, you must "stop" or "terminate" the instance to avoid being billed for additional instance-hours. Billing starts when an instance transitions into the running state.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html

You stop incurring charges for an instance as soon as its state changes to stopping. Each time an instance transitions from stopped to pending, we start a new instance billing hour.

You stop incurring charges for an instance as soon as its state changes to shutting-down.

AWS
已回答 8 年前
profile picture
專家
已審閱 1 年前
0

I'd like to note, since we launched per-second billing for EC2: https://aws.amazon.com/blogs/aws/new-per-second-billing-for-ec2-instances-and-ebs-volumes/ in the second example you are charged only for 1h 5min (instead of 2h) for instances to which per-second billing applies.

profile pictureAWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南