Skip to main content

AWS Orphans: EBS, Snapshots, Elastic IPs, Keys and Secrets

The proof behind each AWS orphan finding, and how much of the cleanup ZopNight is allowed to run for you.

AWS makes it easy to leave things behind. Terminating an instance can leave its volumes; deleting a volume leaves its snapshots; releasing an application leaves its Elastic IP, its secrets and its KMS key. ZopNight’s AWS orphan rules look for these, but each rule has to prove its case from a control-plane field or measured activity, and the cleanup mode depends on how strong that proof is.

The AWS orphan rules, by proof and cleanup mode

RuleWhat proves itCleanup
Orphaned EBS VolumeVolume status available, not Kubernetes-managed, at least 7 days old (no true detach time yet)Advisory
Orphaned EBS SnapshotSource volume provably gone and no AMI of yours references itGuided
Unassociated Elastic IPUnassociated for 7 days, derived from CloudTrail activityEvidence-backed delete
Unused KMS KeyCustomer-managed, enabled, zero aliases, no crypto requestsGuided
Unused Secrets Manager SecretA real last-access signal showing non-useGuided
CloudWatch Dashboard ReviewLast viewed 45 or more days ago, with a real billed costGuided
ECR Unused Images (Not Pulled)Images not pulled, keyed on last pull time rather than tag statusPrune images, repository stays
S3 Incomplete Multipart Uploads AccumulatingNo abort rule and a measured count of incomplete uploadsAdd a lifecycle rule

Other AWS orphan rules cover unused internet gateways, inactive VPC peering connections, WAF web ACLs with nothing associated, idle CodeCommit repositories and orphaned Bedrock custom models, all as guided deletes.

Why the EBS volume stays advisory

The auto-delete path for block storage requires a real “detached since” time held for at least seven days. For EBS, ZopNight’s dwell gate currently keys on the volume’s creation time, so an old volume detached a moment ago could still pass. Until a true last-detach signal is captured, the finding stays advisory and a person decides. The Orphaned EBS Snapshot rule ships as guided for a related reason: snapshot deletion is irreversible, so it always gets a type-to-confirm review.

Stopped instances are not orphans here

An instance stopped for 30 days with volumes still attached is handled by Idle EC2 Instance, which prices the residual storage and Elastic IP. See AWS idle findings.

Where to go next

Fact sheets for the resources above: EBS volume, EBS snapshot, Elastic IP, KMS key, ECR. The cleanup workflow is on orphan cleanup, the storage angle on AWS EBS, and every AWS rule is listed in AWS recommendations. Deletes need a read + write account and pass an admin approval step when started by a non-admin.

Stop watching the waste.
Start cutting it.

See. Find. Fix. Automatic.

Connect your first cloud account in under 5 minutes. See your first remediation in under 7. No credit card required.

CDCR connect detect classify remediate
full audit every action traceable
read-only default access
Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console·