Unused Volumes#

The Unused volumes policy deletes disks that are no longer attached to any machine. These orphans remain after a VM is deleted and keep generating cost.

What it deletes#

Provider

Volumes

Azure

Managed disks in Unattached state

AWS

EBS volumes in available state

GCP

Persistent disks with no users

Attached volumes are never touched. Two options narrow the candidates further:

Option

Default

Effect

Minimum age (days)

30

Only disks created more than N days ago

No activity period (days)

14

Only disks with no read/write activity for N days

Create it#

  1. Open Automation → Policy Catalog and select Use on Unused volumes.

  2. Choose the groups, version and a schedule (see Automation Policies).

  3. Adjust the options and consider Require approval before executing actions.

  4. Select Create.

Warning

Deletion is permanent. Without a snapshot or backup, deleted volumes cannot be recovered.

Permissions#

The connection must be ReadWrite and allowed to delete disks:

Provider

Permission

Azure

Microsoft.Compute/disks/delete

AWS

ec2:DeleteVolume

GCP

compute.disks.delete

A Failed result usually means this permission is missing or the disk is locked. See Troubleshooting.