gcloud config set compute/region us-central1

Category: Google Cloud & Workspace

gcloud config set compute/region us-central1

Set the default Compute Engine region

Makes us-central1 the region gcloud uses for new resources when you omit --region, saving typing and preventing mistakes. A region is a geographic area, here Iowa, that contains several zones. Related: gcloud config set compute/zone pins a specific zone inside the region.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.