Created
February 8, 2015 19:54
-
-
Save smereczynski/eccc2d19a090581473df to your computer and use it in GitHub Desktop.
NGINX on Azure (Azure CLI xplat tool commands)
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
| azure account affinity-group create -l 'West Europe' -e nginxtest-ag nginxtest-ag | |
| azure network vnet create -e 10.1.0.0 -i 20 -p 10.1.0.0 -n Subnet-1 -r 24 -a nginxtest-ag nginxtest-vn | |
| azure vm image list | |
| azure vm create -z 'Small' -n nginxtest1 -e 22 -t myCert.pem -P -w nginxtest-vn -S 10.1.0.4 -A nginxtest-as nginxtest1 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB michal | |
| azure vm create -c -a nginxtest-ag -z 'Small' -n nginxtest2 -e 2222 -t myCert.pem -P -w nginxtest-vn -S 10.1.0.5 nginxtest1 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB michal | |
| azure vm create -c -a nginxtest-ag -z 'Small' -n nginxtest3 -e 3322 -t myCert.pem -P -w nginxtest-vn -S 10.1.0.6 nginxtest1 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB michal | |
| azure vm endpoint create -n HTTP -b http-lb -t 80 -r TCP -o TCP nginxtest1 80 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment