What is Azure Traffic Manager?
Microsoft Azure Traffic Manager allows you to control the distribution of user traffic to your specified endpoints, which can include Azure cloud services, websites, and other endpoints. Traffic Manager works by applying an intelligent policy engine to Domain Name System (DNS) queries for the domain names of your Internet resources. Your Azure cloud services or websites can be running in different datacenters across the world.
Where does Azure Traffic Manager help?
Traffic manager improves the availability of the applications by providing automatic failover capabilities when an Azure cloud service, Azure website, or other location goes down.
Traffic manager improves the responsiveness of your application and content delivery by directing end-users to the endpoint with the lowest network latency from the client.
Scaling up across globe
Traffic manager help you application to scale across various Azure datacentre across the globe and load balance traffic across the varied region endpoints
Traffic distribution for large, complex deployments
Traffic manager supports the nested profile, which you would need to create configurations to optimize performance and distribution for larger, more complex deployments
How Azure Traffic Manager work?
This figure explain the how the Traffic Manager works in the action. Follow the number in the blue bubble to the interaction in action.
This is typical network architecture looks like. Note, this is just sample architectural splice, and do not that this as definite exclusive.
How do you create one?
Here, how you create Traffic Manager on the Web
Here, you need to give the DNS name for the traffic manager.
It would be whateveryouname.trafficmanager.net, and you choose the load balancing method.
Performance – Shortest latency between the region
Round Robin – Equal distribute traffic across the region
Failover – DR scenarios
Performance – When you choose Performance, Microsoft maintains the latency table in the routes, which guides the latency with various data center. It not real time, but pretty quick to find the shortest latency from the point.
Failover – All connection to one set of server, and if failover, then it send connections to second set of server
This can be change later on, once you define the traffic manager
Click on the Configure Tab
You can configure the Endpoints for the Traffic Manager, where you can add websites, or add Webapps to the site.
In Configuration tab, you can change the load balacing method, you you can use PowerShell to create nested Traffic manager profile.
You can mask the DNS with the CNAME, which mask the *.trafficmanger.net URL with you DNS url.