Do you get charged for a 'stopped' instance on EC2?

Amazon Web-ServicesAmazon Ec2

Amazon Web-Services Problem Overview


Bit confused here, I have an on-demand instance but do I get charged even when I stop the instance?

Amazon Web-Services Solutions


Solution 1 - Amazon Web-Services

No.

You get charged for:

  1. Online time
  2. Storage space (assumably you store the image on S3 [EBS])
  3. Elastic IP addresses
  4. Bandwidth

So... if you stop the EC2 instance you will only have to pay for the storage of the image on S3 (assuming you store an image ofcourse) and any IP addresses you've reserved.

Solution 2 - Amazon Web-Services

This may have changed since the question was asked, but there is a difference between stopping an instance and terminating an instance.

If your instance is EBS-based, it can be stopped. It will remain in your account, but you will not be charged for it (you will continue to be charged for EBS storage associated with the instance and unused Elastic IP addresses). You can re-start the instance at any time.

If the instance is terminated, it will be deleted from your account. You’ll be charged for any remaining EBS volumes, but by default the associated EBS volume will be deleted. This can be configured when you create the instance using the command-line EC2 API Tools.

Solution 3 - Amazon Web-Services

When you stop an instance, it is 'deleted'. As such there's nothing to be charged for. If you have an Elastic IP or EBS, then you'll be charged for those - but nothing related to the instance itself.

Solution 4 - Amazon Web-Services

Short answer - no.

You will only be charged for the time that your instance is up and running, in hour increments. If you are using other services in conjunction you may be charged for those but it would be separate from your server instance.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMantorokView Question on Stackoverflow
Solution 1 - Amazon Web-ServicesWolphView Answer on Stackoverflow
Solution 2 - Amazon Web-ServicesNateView Answer on Stackoverflow
Solution 3 - Amazon Web-ServicesLeeView Answer on Stackoverflow
Solution 4 - Amazon Web-ServicesmwrightView Answer on Stackoverflow