AzureStack-QuickStart-Templ.../Bicep/201-vmss-windows-extension
Rakesh Kumar 9a5fff4670 update readme 2021-10-12 13:08:07 -07:00
..
scripts base 201-vmss-windows-extension ARM template 2021-09-17 15:15:41 -07:00
README.md update readme 2021-10-12 13:08:07 -07:00
azuredeploy.bicep bicep update for 201-vmss-windows-extension 2021-09-17 17:57:31 -07:00
azuredeploy.json bicep update for 201-vmss-windows-extension 2021-09-17 17:57:31 -07:00
azuredeploy.parameters.json base 201-vmss-windows-extension ARM template 2021-09-17 15:15:41 -07:00
metadata.json base 201-vmss-windows-extension ARM template 2021-09-17 15:15:41 -07:00

README.md

Deploy a VM Scale Set of Windows VMs with a custom script extension

This template allows you to deploy a VM Scale Set of Windows VMs with a custom script run on each VM. It uses the latest patched version of several Windows versions. To connect from the load balancer to a VM in the scale set, you would go to the AzureStack Portal, find the load balancer of your scale set, examine the NAT rules, then connect using the NAT rule you want. For example, if there is a NAT rule on port 50000, you could RDP on port 50000 of the public IP to connect to that VM. Similarly if something is listening on port 80 we can connect to it using port 80:

Parameter Restriction

vmssName must be 3-10 characters in length. It should also be globally unique across all of AzureStack. If it isn't globally unique, it is possible that this template will still deploy properly, but we don't recommend relying on this pseudo-probabilistic behavior. instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.

Deploy using Az CLI

# update parameters values in azuredeploy.parametrs.json file and run below commands
# create resource group if it doesn't exist
az group create --name testrg --location "local"
# ARM template deployment
az deployment group create --resource-group testrg --template-file .\azuredeploy.json
# Bicep deployment
az deployment group create --resource-group testrg --template-file .\azuredeploy.bicep