IBM Cloud Docs
Why am I still seeing charges for block storage devices after deleting my cluster?

Why am I still seeing charges for block storage devices after deleting my cluster?

Virtual Private Cloud Classic infrastructure

You have already deleted your cluster but your account is still charged for the storage volumes associated with the cluster.

When you delete your cluster, you have the option to delete the storage volumes used by the cluster. If you select no, the storage volumes remain in your account, and continue incurring charges until they are deleted.

Delete the storage volumes from your account.

  1. Find the cluster ID of the deleted cluster. This ID will be used to remove associated block storage volumes. If you don't have the cluster ID of the deleted cluster, run ibmcloud ks cluster ls and a make a note of the cluster IDs whose block storage volumes you want to keep.

    ibmcloud ks cluster ls
    
  2. Find the remaining volumes that are associated with the deleted cluster.

    Classic clusters:

    ibmcloud ks storage volume ls --provider classic | awk '{print $1 " " $8}'
    

    Example output for Classic Block Storage volumes. Note the volume ID and the cluster ID.

    102413596 blntvemw0j6snjt04jr0
    

    VPC clusters:

    ibmcloud ks storage volume ls --provider vpc-gen2 | awk '{print $1 " " $8}'
    
  3. Remove the volumes.

    Classic clusters:

    ibmcloud sl block volume-cancel VOLUME_ID
    

    VPC clusters:

    ibmcloud is vold VOLUME_NAME_OR_ID
    
  4. Optional: Verify there are no more volumes associated with the deleted cluster.

    Classic clusters:

    ibmcloud ks storage volume ls --provider classic | awk '{print $1 " " $8}'
    

    VPC clusters:

    ibmcloud ks storage volume ls --provider vpc-gen2 | awk '{print $1 " " $8}'