gce/BP/2022_003

GCE unattached bootable disk.

Product: Compute Engine
Rule class: BP - Something that is possibly wrong

Description

Unattached bootable disks are abandoned or orphaned resources that are detached from a instance or service.

You might want to delete abandoned and unused bootable disks and lowers your overall costs.

Remediation

Find an unattached disk:

gcloud compute disks list --filter="-users:*"

Delete unattached disk:

gcloud compute disks delete <DISK_NAME> --zone=<ZONE>

Further information