Created
June 25, 2020 20:21
-
-
Save manoj-choudhari-git/20d8a9cd73ef6a830586a85434ef1314 to your computer and use it in GitHub Desktop.
Create VMSS using Azure CLI
This file contains 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
## Create resource group in your preferred location | |
az group create --name myResourceGroup --location westeurope | |
## Command to create VMSS | |
## provide resource group name, and vmss name | |
## Load balance would automatically be created | |
az vmss create \ | |
--resource-group myResourceGroup \ | |
--name my-first-vmss \ | |
--image UbuntuLTS \ | |
--upgrade-policy-mode automatic \ | |
--admin-username azureuser \ | |
--generate-ssh-keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment