This tutorial describes how to use Traffic Manager to create a highly responsive website by directing user traffic to the website with the lowest latency. Typically, the datacenter with the lowest latency is the one that is closest in geographic distance.
Steps to follow for this purpose:
Create two Virtual network (one in East-Us and other in India)
Now Create two VM in each vnet.
Install IIS in both the VM. Create Index.html file within wwwroot folder in both VM.
Now create two more VM in both Vnet (one in each) for testing the website.
Now configure the DNS name in both VM server. (vmserver-eastUS, vmserver-india)
I provided the name vmserverus.eastus.cloudapp.azure.com in configuration. Same way create DNS for India server also.
Now create traffic manager profile. This time select Routing method as 'Performance'.
Now add endpoints for bothVM in Traffic manager profile.Now all steps are completed. This is the time for testing.
Go to testing server of US and open the above url in IE. You will see web page from US server. same try to do with India testing server you will see data from India server.
Reference: https://docs.microsoft.com
0 comments:
Post a Comment