A visual guide illustrating unattached persistent disks and cloud waste in Google Cloud infrastructure

Leftover block storage is one of the easiest ways to leak budget in Google Cloud. When engineering teams tear down test environments, scale down clusters, or pause temporary workloads, they often leave unattached persistent disks behind. Furthermore, teams frequently leave disks attached to virtual machines (VMs) that have been stopped for weeks or months. In both cases, compute charges stop, yet block storage billing continues every single day. Cleaning up these orphaned volumes requires more than a quick deletion script. Instead, your team must verify workload needs, weigh backup costs, and confirm ownership before removing anything.

Key takeaways

  • Google Cloud bills persistent disks for their full provisioned capacity whether they are attached to a running VM, linked to a stopped VM, or completely unattached.
  • Safe cleanup follows a 3-step workflow: verify workload and retention needs with the owner, take a snapshot if data must stay, and check subsequent billing days after deletion.
  • Replacing a disk with a snapshot lowers storage volume, but retaining that backup carries its own separate charge on your invoice.

How unattached persistent disks are billed

In Compute Engine, block storage lives independently of the virtual machines that use it. According to the Google Cloud Compute Engine pricing documentation, persistent disks are billed by the amount of provisioned space in gibibytes (GiB), the storage tier, and the region where the volume resides. Therefore, you pay for the entire size you allocate, not the actual file system usage inside the volume.

Consequently, unattached persistent disks incur their full daily storage charge for every day they remain provisioned in your project. When you review the Google Cloud Billing export, you will see ongoing gross costs for these volumes across all complete billed days. How do detached volumes accumulate? First, an engineer might delete a VM without selecting the option to delete its boot or data disks. Second, Kubernetes clusters dynamically provision PersistentVolumeClaims (PVCs) that often keep the underlying disk alive after a pod or namespace is removed.

However, the Google Cloud Billing export only shows that a disk exists and generates a daily storage charge. Billing data cannot prove whether a detached disk is completely abandoned or waiting for a quarterly batch job. As a result, you must combine billing exports with Compute Engine API queries and Cloud Monitoring metrics to see how many days a volume has sat unattached.

Disks held only by stopped VMs

Completely detached disks are easy to spot with a basic command-line filter. By contrast, disks attached to stopped VMs often hide in plain sight during a routine storage audit. When you query the Compute Engine API for disks with an empty users array, those attached to a stopped VM will not appear. After all, the cloud provider still considers them attached to an instance.

Nevertheless, the billing impact is identical. As detailed in the Google Cloud documentation on stopping instances, a VM in the TERMINATED (stopped) state does not incur charges for vCPUs or memory. Instead, you continue to pay full price for all attached persistent disks and any reserved static IP addresses.

When a disk is attached only to one or more VMs that have been stopped for a long time, it racks up gross storage costs over every complete billed day. Developers frequently stop an instance as a quick safety fallback during a migration and forget to return. Therefore, your audit must check both detached disks and disks tied solely to long-stopped instances.

Confirm no workload needs the disk

You should never delete an unattached persistent disk or a stopped VM solely because it looks idle in your billing report. First, you must investigate the resource context and get explicit approval from the owner. Native metrics and billing records show historical inactivity, but they cannot predict future schedules or legal mandates.

What requires further investigation

Before you alter or remove any block storage volume, investigate these four areas:

  1. Resource ownership and intent: Check resource labels, project IAM roles, and Cloud Audit Logs to find out who created the disk or stopped the VM. For a stopped instance, ask the owner a direct question: will anything start this VM again?
  2. Hidden workload dependencies: Verify that no active automation relies on the volume. For example, check Terraform state files, disaster recovery runbooks, and Google Kubernetes Engine (GKE) storage manifests. A disk might sit unattached until a failover script mounts it.
  3. Existing backup coverage: Inspect whether the disk is already covered by a snapshot schedule or a backup vault.
  4. Compliance and retention rules: Confirm whether corporate governance, tax laws, or customer contracts require your team to keep the raw volume intact for a set period.

Only after you confirm that no workload needs the disk—and the owner approves removal—should you proceed to the next step.

Snapshot first when the data must stay, and what that costs

Sometimes an owner confirms that a stopped VM will never start again, or that an unattached disk has no active workload, yet the data inside must stay for historical reference. In that scenario, keeping a provisioned persistent disk (especially an SSD tier) is an expensive way to store cold files. Instead, you should review whether a replacement backup meets your retention needs before deleting the resource.

For a stopped VM whose data must be preserved, take a snapshot of the disk first, and then delete both the VM and the disk. Similarly, if an unattached disk holds data you cannot discard, snapshot the volume before removing it.

However, do not treat snapshots as free storage. Retaining a replacement backup has its own cost, and a snapshot is billed apart from the source disk. Even so, snapshots handle capacity differently than live disks. While a persistent disk charges you for the entire provisioned GiB size, snapshots only bill for the actual data blocks stored, using incremental compression. Still, multi-region snapshot locations or frequent automated snapshot policies carry ongoing storage charges. Always verify that your backup retention policy does not accidentally maintain dozens of redundant snapshots for a deleted disk.

Delete and check the billing days that follow

Once you have confirmed workload independence, checked retention rules, created any required snapshots, and received owner approval, you can execute the cleanup. For an orphaned volume, delete the disk via the Google Cloud Console, the gcloud compute disks delete command, or your infrastructure-as-code pipeline. For a disk held by a dormant instance, delete both the stopped VM and its attached disk so neither resource lingers in your project.

Your workflow does not end at deletion. Next, check the following billing days in your Google Cloud Billing export to verify that the disk charge stops as expected. Tracking the post-deletion invoice is important for two reasons:

  • Credits affect net savings: Your Google Cloud account may apply promotional credits, negotiated discounts, or committed use adjustments to your invoice. Consequently, the gross cost a disk accrued on previous complete billed days does not always equal the net reduction on your final bill.
  • Separate snapshot charges appear: If you took a snapshot before deleting a stopped VM and its disk, that snapshot is billed under a separate SKU. Reviewing the next few billing days lets you confirm that the persistent disk charge dropped to zero while accounting for the new snapshot cost.

How Binadox helps identify unattached persistent disks

Auditing projects manually across an entire organization takes constant effort. Binadox is a cloud cost visibility and optimization tool that flags block storage and compute waste across your Google Cloud projects so your team can review and verify the right resources.

First, for block storage, Binadox flags when a specific persistent disk in a given project has remained unattached for a tracked number of days at the time of the scan. It shows the gross cost that the disk’s storage usage generated over the complete billed days. Alongside this data, it recommends reviewing whether the disk is still needed before deleting it, noting that retaining a replacement backup carries its own cost. It then guides your team to confirm no workload needs the disk, check backup and retention requirements, delete the volume only after owner approval, and monitor the following billing days since credits can affect the net saving.

Second, for compute resources, Binadox flags when a persistent disk in a project is attached only to one or more VMs that have been stopped for a tracked number of days at the scan, along with the disk’s gross cost on the complete billed days. In this case, it recommends deleting the stopped VM and its disk if nothing will start it again, or snapshotting the disk first if its data must stay. Finally, it outlines the steps to confirm with the owner whether the VM will restart, snapshot the disk if needed before deleting the VM and disk, and check the following billing days for the disk charge to stop while accounting for separate snapshot billing.

Conclusion

Leaving unattached persistent disks or long-stopped VMs in your Google Cloud projects is a bit like paying monthly rent on a self-storage unit full of empty cardboard boxes. The compute engine is off, nobody is visiting, yet the invoice arrives on schedule. By checking your billing exports and provider metrics, confirming workload dependencies and retention rules with resource owners, snapshotting data that must stay, and verifying the billing days after deletion, you can clean up abandoned disks safely without breaking production.

To stop leaking budget on orphaned storage across your multi-cloud environment, you can start your free Binadox trial or book a demo with our team to uncover hidden cloud waste today.