EC2 waste check
Stopped EC2 with EBS
stopped_ec2_with_ebs
What it finds
Finds stopped instances whose attached volumes still bill every month.
One of the EC2 checks, in the compute optimization group.
How it is detected
Stopped instance with EBS volumes, priced per attached volume
Detection confidence: MEDIUM. This is the criterion from our public docs. It runs in a local scan with your own read-only credentials.
- Signal
- DescribeInstances state of stopped, plus the block device mappings of the instance
- Monthly figure
- For each attached volume, its size in GB multiplied by the per-GB monthly price of its volume type, adjusted for the region, summed over the volumes.
- How to fix
- Create an AMI of the instance first, then terminate it only if it is no longer needed. Termination can't be undone; restoring means launching a new instance from the AMI.
- In the docs
- This check in the detector reference
AWS's own tools
AWS flags this too, under "Amazon EC2 instances stopped".
Checked against the AWS documentation.
Run it yourself
Nothing leaves your machine unless you choose to share a summary at the end.