Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to find size of cloud storage

veda
New Member

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

0 2 2,443
2 REPLIES 2

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/