Skip to content

Instantly share code, notes, and snippets.

@philippeback
Created February 19, 2018 20:37
Show Gist options
  • Select an option

  • Save philippeback/bf0e292c527116e1ee0b4d78c5b95921 to your computer and use it in GitHub Desktop.

Select an option

Save philippeback/bf0e292c527116e1ee0b4d78c5b95921 to your computer and use it in GitHub Desktop.
Create FW rule Gcloud
gcloud compute firewall-rules create rule-allow-tcp-80 --source-ranges 0.0.0.0/0 --target-tags allow-tcp-80 --allow tcp:80
gcloud compute instances add-tags someinstance --tags allow-tcp-80
@philippeback
Copy link
Copy Markdown
Author

gcloud compute instances remove-tags someinstance --tags=low-tcp-5601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment