Skip to main content
A managed disk is billed for its size whether or not it is attached to a virtual machine. Disks are often left behind when a VM is deleted. Azure Advisor flags unattached disks, and nOps shows those that are still on your bill, with the disk’s full monthly cost as the saving.

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

  1. In the Azure portal, open Disks and filter the Disk state column to Unattached.
  2. Check the disk’s tags and owner to make sure it is not needed.
  3. If the data might be needed later, take a snapshot first (snapshots cost much less than the disk).
  4. 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.