Why it matters
Unattached disks do nothing but cost money, and premium SSD disks left behind after a VM is deleted can be expensive.How nOps finds it
This recommendation comes from Azure Advisor, which nOps imports daily. nOps keeps only disks billed on at least 6 of the last 7 days. Advisor gives no saving for unattached disks, so the saving shown is what the disk actually cost.Before you start
Confirm the disk is not needed, for example as a backup of a deleted VM or for a VM that will be recreated.How to implement
- In the Azure portal, open Disks and filter the Disk state column to Unattached.
- Check the disk’s tags and owner to make sure it is not needed.
- If the data might be needed later, take a snapshot first (snapshots cost much less than the disk).
- Delete the disk.
Risks and considerations
- Deleting a disk is permanent. Take a snapshot first if there is any chance the data is needed.
- Some tools detach disks temporarily; make sure the disk is not about to be reattached.