Deploy a Linux VMSS wth primary/secondary architecture

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov

Visualize

Description

This template allows you to deploy a VM Scale Set of Linux VMs and create a new virtual network at the same time. These VMs have a custom script extension for customization and are behind a load balancer with NAT rules for SSH connections. This allows to specify the master node number and data node number, adapt to any primary / secondary architecture

Using new features

To enable Accelerated Networking feature ( SR-IOV ) which is a free feature, using the following example :

In network profile of VMSS , set "enableAcceleratedNetworking" to true, to have more information, please go to https://docs.microsoft.com/azure/virtual-network/create-vm-accelerated-networking-cli

If availability zone is available in your region, adding the following in your template to improve the availability of your VMSS :

      "zones": [
        "1",
        "2",
        "3"
      ]
}

Note that your Load Balancer should be STANDARD tier as well as your public IP ( if you're using it ), check here to know more about it : https://docs.microsoft.com/azure/load-balancer/load-balancer-standard-availability-zones

More information at https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-use-availability-zones

Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/loadBalancers, Microsoft.Compute/virtualMachineScaleSets, Microsoft.Compute/virtualMachines/extensions, CustomScriptForLinux