$ gcloud beta emulators datastore start ... [datastore] To connect, set host to http://localhost:8967/datastore [datastore] Admin console is running at http://localhost:8851/_ah/admin
$ $(gcloud beta emulators datastore env-init) $ echo $DATASTORE_HOST http://localhost:8967
$ gcloud compute instances list \ --format='csv(zone:sort=1,name:sort=2,networkInterfaces[0].networkIP)' > list.csv
PS> (gcloud compute instances list --format=json | Out-String | ConvertFrom-Json) | ?{$_.zone -match 'asia'} | select name name ---- asia-ops-1 asia-ops-2
PS> (gcloud compute instances list --format=json | Out-String | ConvertFrom-Json) | ?{$_.zone -match ’asia’} | %{gcloud compute instances reset $_.name --zone $_.zone}
$ gcloud compute ssh my-instance-name
$ gcloud compute config-ssh
$ ssh myvm.asia-east1-c.myproject
$ sftp myvm.asia-east1-c.myproject
0 件のコメント :
コメントを投稿