Hurry! 20% Off Ends SoonRegister Now

Microsoft Azure Traffic Manager

 

Introduction to the Azure Traffic Manager

Microsoft Azure Traffic Manager allows users to manage the user traffic distribution of various service endpoints that are located in data centers around the world. The service endpoints, which are supported by the Azure Traffic Manager, incorporate cloud services, Web Apps, and Azure VMs.

Users can use the Azure Traffic Manager, as well as the non-Azure external endpoints as well.Azure Traffic Manager utilizes the DNS (Domain Name System) in order to direct the client requests through the most suitable endpoint by applying the traffic-routing method.

If you would like to become a Microsoft Azure certified professional, then visit Mindmajix - A Global online training platform: “Azure Training”  Course.  This course will help you to achieve excellence in this domain.

The Traffic Manager offers several endpoint monitoring alternatives and traffic-routing methodologies to suit unique application requirements with auto-failover models. Azure Traffic Manager is robust and resilient to failures, which also includes the failures of the whole Azure region.

Key Benefits of Azure Traffic Manager: 

  • Improves the accessibility of crucial applications.
  • Delivers exceptionally high availability of applications through endpoint monitoring and automatic failover, just in case any endpoint is down.
  • Enhances responsiveness for applications that need high-performance.

MS Azure Traffic Manager offers users to run websites or cloud services in data centers stationed across the globe. The Traffic Manager increases the responsiveness of applications by routing the traffic to an endpoint which has the lowest latency. 

Perform Maintenance and Service without Downtime:

Users can perform pre-planned maintenance services on applications without having to face downtimes. Azure Traffic Manager, during the maintenance, routes the traffic to an alternate endpoint, ensuring complete service availability. 

Consolidate Cloud-based and On-premises Applications:

Azure Traffic Manager can support non-Azure, external endpoints, enabling its convergence with on-premises and hybrid cloud deployments. This includes, "migrate-to-cloud," "failover-to-cloud", and the "burst-to-cloud," environments.

Microsoft Azure Tutorials

Distribution of Traffic for Complex, Large Deployments:

By applying nested Traffic Manager Profiles, the traffic-routing methods can be blended together to create more flexible as well as sophisticated rules which support the requirements of the complex and the large deployments.

MindMajix Youtube Channel

How Azure Traffic Manager operates

Azure's Traffic Manager allows users to control traffic distribution across various application endpoints. An endpoint can be referred to as an Internet-facing service, placed outside or inside the Azure.

Azure Traffic Manager offers three main benefits 

  • The Traffic Manager distributes the traffic using the best traffic-routing methodology applicable to the scenario.
  • Constant monitoring of the endpoint health.
  • Automatic failover in case the endpoints fail.

The most significant point that needs to be understood is that Azure Traffic Manager functions at the DNS level. It uses the DNS to route clients to precise service endpoints, according to the traffic-routing rules and methods. Clients can connect directly to the chosen endpoint. 

The Azure Traffic Manager, however, isn't a gateway, and neither a proxy. It cannot help the users to view the traffic between the service and the client.

Related Article: Azure DNS

Example of Azure Traffic Manager:

For instance, a company has newly launched a partner portal -

https://partners.contoso.com/login.aspx.  

To enhance global performance, and to optimize its availability, the company uses the Azure Traffic Manager for the distribution of traffic to an available endpoint.

The application, for example, is being hosted in 3 regions of this forum. To accomplish this particular configuration, the company performs the steps listed below:

  • Deploys three cases for the service. DNS names for the service deployments are - 'contoso-us.cloudapp.net', 'contoso-asia.cloudapp.net', and the 'contoso-eu.cloudapp.net'.
  • It creates an Azure Traffic Manager profile, titled as 'contoso.trafficmanager.net', and then it configures the same to use Azure's Performance traffic-routing across all the three endpoints.
  • It configures 'partners.contoso.com'- a vanity domain name to point it to 'contoso.trafficmanager.net', by applying the DNS CNAME record.  
Azure Traffic Manager Report

How to connect using the Azure Traffic Manager

Extending the previous discussion, when the client requests for the https://partners.contoso.com/login.aspx page, They execute the below-mentioned actions to resolve DNS name in order to set up the connection.

Azure Traffic Manager
  1. The client forwards a DNS query to the designated recursive DNS service in order to resolve the name 'partners.contoso.com'. The Recursive DNS service, also known as the Local DNS service. This does not directly host the DNS domains. Instead, the client sheds the major workload of contacting different authoritative DNS services over the Internet required to resolve the DNS name.
  2. To resolve a DNS name, the Local DNS service finds the name servers for 'contoso.com' domain. Subsequently, it contacts the name servers for DNS record of 'partners.contoso.com. As a result, the contoso.com DNS servers send back the CNAME record which further points to the contoso.trafficmanager.net.
  3. Next, recursive DNS service finds name servers for 'trafficmanager.net' domain, given by Azure Traffic Manager service. The Traffic Manager then forwards a request for 'contoso.trafficmanager.net' DNS record to the DNS servers.

 

Azure Interview Questions

 

The ATM (Azure Traffic Manager) servers get the request, and consequently, the name servers select an endpoint on the basis of 

  • The state of every configured endpoint (endpoints that are disabled aren't returned).
  • The present health of every endpoint, according to the health checks performed by the Azure Traffic Manager.
  • The selected traffic-routing method. (Please refer to Traffic Manager Routing Methods to know more).

The selected endpoint is then returned as the DNS CNAME record. For this particular case, let's assume contoso-us.cloudapp.net has been returned.

  • Accordingly, Local DNS service finds the name servers for 'cloudapp.net' domain. This service contacts the name servers to ask for the 'contoso-us.cloudapp.net' DNS record. A DNS 'A' record comprising the IP address of service endpoint based in the United States is returned.
  • The Local DNS service merges with all the results, and after that, it returns a consolidated DNS response to the client.
  • The client correspondingly receives the consolidated DNS results, with which they connect to the provided IP address. The client directly connects the application service endpoint, without going through the ATM. 

This being an HTTPS endpoint, the client does the required SSL/TLS handshake, following which they make an HTTP GET request for their '/login.aspx' page. The Local DNS service caches all the DNS responses received by it. The DNS resolver located on the client's device caches the received result as well. 

Caching enables DNS queries to be responded more speedily by utilizing the cache data, instead of performing queries for various name servers. The time duration of cache is typically determined by the 'time-to-live' (TTL) attribute of every DNS record. Shorter values lead to the quicker expiry of cache, and hence, more return trips to the Azure Traffic Manager name servers. Longer values essentially mean, it might need a longer time for directing the traffic elsewhere from an endpoint that has failed.

Azure Traffic Manager allows users to configure the 'time-to-live' used in Traffic Manager DNS feedbacks. It is typically 0 seconds on the lower side, and 2,147,483,647 seconds in the upper limit, compliant with the RFC-1035 maximum range. 

This enables the users to determine the ideal value that is suitable to meet the requirements of their applications.

If you are interested to learn Azure and build a career in Cloud Computing? Then check out our Microsoft Azure Certification Training Course at your near Cities

Microsoft Azure Course BangaloreMicrosoft Azure Course HyderabadMicrosoft Azure Course PuneMicrosoft Azure Course DelhiMicrosoft Azure Course ChennaiMicrosoft Azure Course NewyorkMicrosoft Azure Course WashingtonMicrosoft Azure Course DallasMicrosoft Azure Course Maryland

These courses are incorporated with Live instructor-led training, Industry Use cases, and hands-on live projects. This training program will make you an expert in Microsoft Azure and help you to achieve your dream job.

Explore Microsoft Azure Sample Resumes! Download & Edit for Free..!Download Now!

List of Other Microsoft Azure Courses:

 Microsoft Azure Infrastructure Solutions 70-533 Microsoft Azure Solutions 70-532
 Azure Solutions Architect Microsoft Azure Certification

 

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
Azure TrainingDec 24 to Jan 08View Details
Azure TrainingDec 28 to Jan 12View Details
Azure TrainingDec 31 to Jan 15View Details
Azure TrainingJan 04 to Jan 19View Details
Last updated: 03 Apr 2023
About Author

Anji Velagana is working as a Digital Marketing Analyst and Content Contributor for Mindmajix. He writes about various platforms like Servicenow, Business analysis,  Performance testing, Mulesoft, Oracle Exadata, Azure, and few other courses. Contact him via anjivelagana@gmail.com and LinkedIn.

read less
  1. Share:
Microsoft Azure Articles