Add multiple VMs into a Virtual Machine Scale Set
This template will provision N number of virtual machines with your choice in a single VNET. Every VM will be provisioned with a Network Interface and a Public IP resource. All the VMs will be provisioned in a Virtual Machine Scale Set in Flexible Orchestration Mode. If you provision 3 VM’s with this template, your resources will look similar to this in the resource group.
Tags: Managed Disks, Azure VMs, VMSS, Microsoft.Network/networkSecurityGroups, Microsoft.Network/virtualNetworks, Microsoft.Compute/virtualMachineScaleSets, Microsoft.Compute/virtualMachines, Microsoft.Network/networkInterfaces, Microsoft.Network/publicIPAddresses