Azure Traffic Manager Routing Methods

Azure Traffic Manager Routing Methods

Watch the video to deepen your understanding.

Subscribe

Complete the full lesson to earn 25 points — 50 with Pro

Work through each section, then tap “Mark as Complete” on the last one.

Section 1 of 3

✦ Skip the page breaks, the wait, and see fewer ads — read each lesson on a single page with Pro

Module: Design Business Continuity Solutions

Lesson: Azure Traffic Manager Routing Methods

Introduction

In the world of cloud architecture, high availability is not just a luxury—it is a requirement. Azure Traffic Manager is a DNS-based traffic load balancer that enables you to distribute traffic optimally to services across global Azure regions, while providing high availability and responsiveness.

Unlike a traditional load balancer that operates at the transport layer (OSI layer 4), Traffic Manager operates at the DNS layer. It uses DNS queries to direct client requests to the most appropriate service endpoint based on the routing method you select. Understanding these routing methods is critical for designing systems that can withstand regional outages and provide low-latency experiences for a global user base.


Understanding Traffic Manager Routing Methods

Traffic Manager offers six distinct routing methods. Choosing the right one depends on your business goals—whether you prioritize geographic proximity, system health, or even distribution.

1. Priority Routing

Use this method when you have a primary service endpoint and want to designate "failover" endpoints.

  • How it works: Each endpoint is assigned a priority number (1 is the highest). Traffic is always sent to the highest-priority endpoint that is healthy.
  • Use Case: Active-Passive disaster recovery setups.

2. Weighted Routing

Use this method to distribute traffic across a set of endpoints based on their assigned weight.

  • How it works: You assign a weight (1–1000) to each endpoint. Traffic is distributed proportionally. If Endpoint A has a weight of 10 and Endpoint B has a weight of 90, 90% of traffic goes to B.
  • Use Case: Canary deployments or A/B testing where you want to gradually shift traffic to a new version.

3. Performance Routing

This is the "go-to" for global applications.

  • How it works: Traffic Manager directs the user to the endpoint with the lowest network latency. It constantly monitors the latency between the user's DNS resolver and Azure regions.
  • Use Case: Global web applications where performance is the primary KPI.

4. Geographic Routing

This method maps requests based on the physical location of the user.

  • How it works: Users are routed to specific endpoints based on their geographic origin (Country, Region, or Continent).
  • Use Case: Content localization or complying with data sovereignty laws (e.g., ensuring EU user data stays in EU regions).

5. Multivalue Routing

This method returns multiple healthy endpoints to the DNS query.

  • How it works: It provides a list of all healthy endpoints to the client. The client (or the browser) then decides which one to connect to.
  • Use Case: High-scale applications that require multiple healthy endpoints for load balancing at the client level.

6. Subnet Routing

This method maps sets of end-user IP address ranges to specific endpoints.

  • How it works: If a request comes from an IP range defined in your configuration, it is routed to the specific endpoint mapped to that range.
  • Use Case: Internal enterprise applications where specific office locations need to hit specific regional endpoints.

Section 1 of 3

Reach the last section to complete this lesson and earn points — you're on section 1 of 3.