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!

gefragt vor 8 Jahren921 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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
beantwortet vor 8 Jahren
profile picture
EXPERTE
überprüft vor einem Jahr
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
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen