Geo-mapping using Azure Traffic Manager


Microsoft Azure Traffic Manager allows you to control the distribution of user traffic for service endpoints in different datacenters and region. Traffic Manager support distribution of traffic for Azure VMs, Web Apps, cloud services and non-Azure endpoints.

Traffic Manager uses the Azure DNS to direct client requests to the most appropriate endpoint based on a traffic-routing method and the health of the endpoints.

Traffic Manager uses vanity domain name to direct traffic to desired endpoints based on geographic location of the user and nearest Azure Datacentre where endpoint is located.

Domain Name Vanity Domain Name Record Type
http://www.domain.com Domain.trafficmanager.net CNAME
Domain.trafficmanager.net Domain-us.cloudapp.net

Domain-au.cloudapp.net

CNAME
Domain-us.cloudapp.net Public IP Address of endpoint Host A
Domain-au.cloudapp.net Public IP Address of endpoint Host A

Traffic Manager act like a DNS routing system to direct clients to specific service endpoints based on the rules of the traffic-routing method. Clients connect to the selected endpoint directly. Traffic Manager is not a proxy or a gateway. Traffic Manager does not see the traffic passing between the client and the service.

To Create Traffic Manager Profile,

  1. From a browser, sign in to the Azure portal.
  2. Click Create a resource > Networking > Traffic Manager profile > Create
  3. In the Create Traffic Manager profile, Select Geographic Routing Method, Resource Group Location and create profile.
  4. Select the Profile, Navigate to Settings -> Endpoints in Traffic Manager.
  5. Click Add to show the Add Endpoint.
  6. Click Add and in the Add endpoint, Type the Name and Source Type then Add geo-mapping to the endpoint.
  7. To test the Geo-mapping and Traffic routing, you can use any free VPN service or subscribe a VPN service and connect to region using the VPN service and access your endpoint. You will be directed to the nearest endpoint you have configured in step 5 & 6.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.