Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create VMSS using Azure CLI
## 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