How to find size of cloud storage

I recently created a new bucket for 10 GB and uploaded few files ~ 6 GB.

How can i find the size of the cloud bucket? so that i can adjust the storage space for billing accordingly

Hi @veda

You can use below gsutil command to check size consumed by storage bucket.

Open cloud shell and execute below by replacing your bucket name.

gsutil du -s -a gs://your-bucket/

Hi @veda .

With the below command, you can get the output in human readable format.

gsutil du -sh gs://bucket-name/

1 Like