Implementing Azure Traffic Manager
When you wish to protect VMs or web apps across regions, for example, East US and West US, you cannot use an Azure load balancer. Instead we can use Azure Traffic Manager. Azure Traffic Manager is essentially a DNS router.
What this means is that, unlike a load balancer, which directs the flow of IP traffic from one address to another, Traffic Manager works by resolving a DNS entry, such as a web address, so a different backend IP address depending on the rules.
This enables us to direct users to the closest server available. Hence, traffic is distributed based on the user's location. If a particular region becomes unavailable, then all traffic will be directed to the healthy region.
With Azure Traffic Manager, we have a number of different options available for defining how to direct traffic as well as the two just mentioned. These are as follows:
- Weighted: Each endpoint is given a weight between 1 and 1,000. Endpoints are randomly...