Load balancing | Traffic Manager
Azure Traffic Manager is a DNS-based traffic load balancer. This service allows you to distribute traffic to your public facing applications across the global Azure regions.
Traffic Manager also provides your public endpoints with high availability and quick responsiveness.
Also called as Global load balancer.
Requires DNS to be configure for servers.
- First, build the servers in two seperate regions.
- Search for Traffic Manager profiles in portal
- create traffic manager profile and provide the details.
- Goto End points — Add Azure end point — select IP address — select servers.
- check traffic manager link in browser.
- Configure alias name in DNS for traffic manager link
We have 3 types of endpoints.
- Azure Endpoint
- External Endpoint
- Nested Endpoint
The following traffic routing methods are available in Traffic Manager:
- Priority: Select Priority routing when you want to have a primary service endpoint for all traffic. You can provide multiple backup endpoints in case the primary or one of the backup endpoints is unavailable.
- Weighted: Select Weighted routing when you want to distribute traffic across a set of endpoints based on their weight. Set the weight the same to distribute evenly across all endpoints.
- Performance: Select Performance routing when you have endpoints in different geographic locations and you want end users to use the “closest” endpoint for the lowest network latency.
- Geographic: Select Geographic routing to direct users to specific endpoints (Azure, External, or Nested) based on where their DNS queries originate from geographically. With this routing method, it enables you to be in compliance with scenarios such as data sovereignty mandates, localization of content & user experience and measuring traffic from different regions.
- Multivalue: Select MultiValue for Traffic Manager profiles that can only have IPv4/IPv6 addresses as endpoints. When a query is received for this profile, all healthy endpoints are returned.
- Subnet: Select Subnet traffic-routing method to map sets of end-user IP address ranges to a specific endpoint. When a request is received, the endpoint returned will be the one mapped for that request’s source IP address.