Azure Traffic Manager VM example with Availability Zones
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:
- Traffic Manager routing methods for details of the different routing methods available.
- Create or update a Traffic Manager profile for details of the JSON elements relating to a Traffic Manager profile.
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