Buckets are the basic containers that hold your data in Cloud Storage. Here's how you can create a bucket using gsutil commands
To create a bucket:
-
Open a terminal window.
-
Use the gsutil mb command and a unique name to create a bucket:
gsutil mb -l us-east1 gs://my-awesome-bucket/
This uses a bucket named "my-awesome-bucket." You must choose your own, globally-unique, bucket name
-
You've just created a bucket where you can store your stuff!
-
If successful, the command returns:
Creating gs://my-awesome-bucket/...
Hope it helps!!
If you need to know more about Google Cloud, We recommend joining GCP Certification course today.
Thanks!