gcloud storage buckets create gs://my-bucket --location us-central1

Category: Google Cloud & Workspace

gcloud storage buckets create gs://my-bucket --location us-central1

Create a bucket with gcloud storage

Provisions my-bucket in the us-central1 region using the unified tool; bucket names must be globally unique across Google Cloud. Add --public-access-prevention to block accidental public exposure, or -c nearline for colder storage. Equivalent to gsutil mb.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.