Member-only story
The gcloud interactive shell provides a richer bash experience, simplifying command and documentation discovery with as-you-type autocompletion and help text snippets.
Core
Set default zone for compute engine
gcloud config set compute/zone us-east-1a
Enable compute engine API
gcloud services enable compute
Failed to negotiate an api version (error message)
gcloud auth application-default login
List all the deployments deployed on Google Cloud Deployment Manager
gcloud deployment-manager deployments list
Give details abount the components, libraries, system details and the log directory.
gcloud info …
Computing Services
A/B testing
gcloud app services set-traffic [APP_NAME] splits 1=.5,2=.5 split-by cookie
Move all traffic
gcloud app services set-traffic [APP_NAME] splits 2=1 — migrate