简体   繁体   中英

Problems deleting GCP storage bucket

I have two buckets that I can't delete on GCP, tried through the UI. I can't find any support info from GCP and can't delete them. They are relatively large and I want to avoid the cost as well. Do I need to delete the project?

Thanks for any help!

As previously posted here , this process may actually take a while, so perhaps just wait a little bit.

But, if it still doesn't work than perhaps you can follow what was suggested.

As a workaround to the UI being unclear, you can use gsutil to remove all files in a bucket, followed by the bucket itself, using gsutil rm -r gs://bucket .

Or perhaps gsutil rm -m gs://bucket for a parallel deletion.

Try to delete GCP bucket using UI (Check you have access to delete GCP bucket )

Otherwise, you can delete the GCP bucket using gsutil

// Set Project name

gcloud config set project <Project_Name>

// Delete Bucket

gsutil rm -m gs://<Bucket-Name>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM