
Stopped Your EC2 Instance? Why AWS Charges May Continue
Stopping an Amazon EC2 instance doesn't necessarily stop all AWS costs. Discover how EBS volumes, snapshots, and public IPv4 addresses can continue generating charges, and learn how to manage unused resources effectively.
Imagine launching an Amazon EC2 instance for a development project. You finish your work, stop the instance, and assume your AWS expenses have stopped too.
A few days later, you notice that your AWS bill is still increasing.
What happened?
The reason is simple: Stopping an EC2 instance does not automatically stop every resource associated with it.
Let's understand where these additional costs can come from.
1. What Happens When You Stop an EC2 Instance?
When you stop an EC2 instance, AWS stops charging for its instance compute usage while it remains in the stopped state.
However, resources associated with that instance may continue to exist.
For example:
- Attached Amazon EBS volumes can continue to incur storage charges.
- Existing EBS snapshots can continue consuming snapshot storage.
- Public IPv4 addresses can incur charges even when associated with a stopped instance.
This is why stopping an instance is not the same as deleting every resource connected to it.

2. Three Resources That May Continue Generating Costs
A. Amazon EBS Volumes
Amazon Elastic Block Store (EBS) provides persistent block storage for EC2 instances.
When an instance is stopped, its EBS volumes generally remain available.
Even though the instance is no longer running, the storage provisioned for those volumes can continue generating charges.
B. EBS Snapshots
Snapshots help protect data and support recovery.
However, creating a snapshot does not mean its storage is free.
If you keep multiple unnecessary snapshots, your storage-related expenses can accumulate over time.
C. Public IPv4 Addresses
A public IPv4 address can also contribute to your AWS bill.
AWS charges for public IPv4 addresses, including addresses associated with running resources and idle addresses, subject to applicable pricing rules.
Therefore, an address associated with a stopped instance should not be overlooked when reviewing costs.

3. Stop vs. Terminate: Understand the Difference
These two EC2 actions have different consequences.
Feature | Stop | Terminate |
|---|---|---|
Instance state | Stopped | Terminated |
Compute usage | Stops | Stops |
EBS volumes | Usually retained | Depends on DeleteOnTermination |
Snapshots | Retained | Retained |
Recovery | Instance can be restarted | Instance cannot be restarted |
An important detail: when an instance is terminated, EBS volumes configured with DeleteOnTermination are deleted, while other volumes may remain.
Always check your storage configuration before terminating an instance.
4. Four Practical Ways to Control These Costs
1. Review unused EBS volumes
Identify unattached volumes and delete only those that are no longer required.
2. Clean up unnecessary snapshots
Review your backup retention strategy and remove snapshots that are no longer needed.
3. Review public IPv4 addresses
Check whether you still need allocated public IPv4 addresses and release unused ones where appropriate.
4. Monitor your AWS spending
Use AWS Cost Explorer to understand where your costs are coming from. AWS Budgets can also help you configure spending alerts.

5. A Simple Habit for Every Developer
Before finishing an AWS development session, take a minute to review:
- EC2 instance state.
- Attached EBS volumes.
- Existing snapshots.
- Allocated public IPv4 addresses.
- Other resources created during experimentation.
This small habit can help prevent unexpected charges.
Conclusion
Amazon EC2 makes it easy to launch and manage virtual servers, but understanding the resources around an instance is equally important.
Remember:
Stopping an EC2 instance stops its compute usage, not necessarily all associated AWS costs.
A good cloud developer doesn't just build applications efficiently; they also understand how to manage the infrastructure behind them.
Let's Discuss
Have you ever received an unexpected AWS charge after stopping an EC2 instance?
Which resource do you think developers most commonly forget to clean up?
Share your experience and help other AWS learners avoid unnecessary cloud expenses.
#AWS #AmazonEC2 #AWSCostOptimization #CloudComputing #AmazonEBS
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article