Azure Traffic Manager VM example with Availability Zones

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


This template shows how to create an Azure Traffic Manager profile to load-balance across 3 virtual machines distributed across Availability Zones. Each endpoint has an equal weight but different weights can be specified to distribute load non-uniformly.

The accompanying PowerShell script shows how to create a resource group from the template and read back the Traffic Manager profile details. Before running the script, edit azuredeploy.parameters.json and replace the values marked with '#####'.

See also:

Tags: Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworks, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, extensions, CustomScript, Microsoft.Network/trafficManagerProfiles, Microsoft.Network/trafficManagerProfiles/azureEndpoints, Microsoft.Network/networkSecurityGroups