$ gcloud compute zones list | awk 'NR==1 || /us-west1/'
NAME REGION STATUS NEXT_MAINTENANCE TURNDOWN_DATE
us-west1-b us-west1 UP
us-west1-c us-west1 UP
us-west1-a us-west1 UP
$ gcloud compute instances list
NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
vm-test01 us-west1-a f1-micro 10.138.xxx.xxx 35.199.xxx.xxx RUNNING
gcloudコマンドでSSHログインしてみる。(初回はSSH鍵の作成が要求される)
$ gcloud compute ssh --zone "us-west1-a" "vm-test01" --project "xxxxxxx-xxxxx-xxxxxx"
Updating project ssh metadata…⠹Updated [https://www.googleapis.com/compute/v1/projects/xxxxxxx-xxxxx-xxxxxx].
Updating project ssh metadata…done.
Waiting for SSH key to propagate.
Warning: Permanently added 'compute.xxxxxxxxxxxxxxxxxxx' (ECDSA) to the list of known hosts.
Enter passphrase for key '/Users/*****/.ssh/google_compute_engine':
Enter passphrase for key '/Users/*****/.ssh/google_compute_engine':
[*****@vm-test01 ~]$