Created
February 19, 2018 20:37
-
-
Save philippeback/bf0e292c527116e1ee0b4d78c5b95921 to your computer and use it in GitHub Desktop.
Create FW rule Gcloud
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gcloud compute instances remove-tags someinstance --tags=low-tcp-5601