How to change Region / Zone in Google Cloud?

后端 未结 4 1893
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 05:15

I am very new to Google Cloud. I was able to setup a wordpress site and am working on it now. However, it appears that my vm instance is using the following asia-east1-a for i

4条回答
  •  心在旅途
    2021-02-05 05:51

    Use commands below at cloud shell.

    To check your preferred region:

    $ gcloud compute regions list
    

    To change compute regions, I select us-east4 region:

    $ gcloud config set compute/region us-east4
    

    Updated property [compute/region].

    $ gcloud config list compute/region 
    

    [compute]

    region = us-east4
    

    In a similar way, you can change compute/zone.

提交回复
热议问题