Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active October 19, 2018 23:30
Show Gist options
  • Select an option

  • Save b0noI/998832e5f10dd98408fcd20519896feb to your computer and use it in GitHub Desktop.

Select an option

Save b0noI/998832e5f10dd98408fcd20519896feb to your computer and use it in GitHub Desktop.
export INSTANCE_GROUP_NAME="deeplearning-instance-group"
export WEB_BACKED_SERVICE_NAME="tensorflow-backend"
gcloud compute backend-services add-backend $WEB_BACKED_SERVICE_NAME \
--balancing-mode UTILIZATION \
--max-utilization 0.8 \
--capacity-scaler 1 \
--instance-group $INSTANCE_GROUP_NAME \
--instance-group-region us-west1 \
--global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment