Cloud service · Azure · Updated

Azure Traffic Manager - Azure Traffic Manager is a global DNS-based load balancer that directs clients to public application endpoints using routing policies and endpoint health.

In short

Azure Traffic Manager distributes connections across Internet-facing services hosted in Azure, other clouds, or on-premises environments. It supports global availability, regional traffic distribution, and migration scenarios without proxying application traffic or terminating client connections.

Cloud Services Hub →

9 key features of Azure Traffic Manager

01
Six DNS routing methods

Choose Priority, Weighted, Performance, Geographic, Subnet, or MultiValue routing for each profile. Select the method around the required DNS decision rather than expecting per-request or connection-aware balancing.

02
Endpoint health monitoring

Probe public endpoints using HTTP, HTTPS, or TCP and use the results in endpoint selection. Configure a readiness path and probe thresholds that distinguish genuine application failure from short-lived dependency issues.

03
Azure and external endpoints

Route to supported Azure resources, external public endpoints, or nested Traffic Manager profiles. External endpoints support hybrid deployments and services hosted by other cloud providers.

04
Nested routing policies

Combine routing methods through parent and child profiles, with support for up to 10 nesting levels and no loops. For example, use a Geographic parent and Priority children to provide failover within each geographic assignment.

05
Configurable DNS caching

Set the profile's DNS TTL to balance cache efficiency against responsiveness to routing changes. Short TTLs increase DNS query volume and do not force applications to close existing connections or refresh cached addresses.

06
Direct Azure DNS linked records

Associate an Azure DNS record set directly with a Traffic Manager profile to return endpoint IP addresses without the intermediate trafficmanager.net CNAME. Strictly typed profiles enforce endpoint consistency, and removing that CNAME hop supports preservation of the DNSSEC chain for signed zones.

07
MultiValue IPv4 and IPv6 responses

Return multiple healthy IP addresses so compatible clients can select or retry alternative destinations. Nested MultiValue configurations support minimum healthy endpoint requirements, including address-family-specific thresholds.

08
Always Serve endpoint control

Disable native health checks for an endpoint and keep it eligible for selection through Always Serve. When using external health assessment, automate endpoint enablement or disablement separately; Always Serve does not itself import third-party health results.

09
Globally distributed DNS service

Traffic Manager operates as a nonregional service with infrastructure distributed across multiple regions and availability zones. This resilience applies to the routing service and does not replace redundancy or recovery planning for your application endpoints.

Where Azure Traffic Manager is used

  1. 01
    Active-passive regional failover

    Use Priority routing to direct clients to a primary region and select a prepared secondary region when health checks detect failure. Include DNS caching, secondary capacity, and data readiness in recovery-time testing.

  2. 02
    Latency-oriented global deployment

    Use Performance routing for equivalent application instances deployed in multiple Azure regions. The routing decision uses network-latency data and DNS request information, so validate results from the resolver locations your users actually use.

  3. 03
    Gradual migration and controlled rollout

    Use Weighted routing to shift DNS selections between an existing deployment and a replacement environment. Monitor application outcomes rather than assuming a configured weight equals the same percentage of users or HTTP requests.

  4. 04
    Geographically assigned application delivery

    Map geographic areas to designated deployments for localization or regional operating requirements. Use nested profiles for failover within an assignment, and enforce access and data-residency requirements separately from DNS routing.

  5. 05
    Hybrid and multicloud continuity

    Combine public Azure and external endpoints to support migration, cloud bursting, or recovery from an on-premises outage. Ensure destination environments have compatible certificates, application configuration, and replicated data.

  6. 06
    Planned endpoint maintenance

    Disable an endpoint before maintenance so new DNS answers select other eligible destinations. Allow time for cached answers and long-lived connections to expire, and verify that remaining endpoints can absorb the load.

How Azure Traffic Manager is priced

Metered DNS queries

Charges are based on DNS queries received by Traffic Manager, with volume-based pricing tiers. Resolver caching means query volume differs from application request volume; reducing TTL can increase this charge.

Endpoint health monitoring

Monitored endpoints incur charges, with pricing differentiated by Azure versus external endpoints and basic versus fast probing. More aggressive monitoring can improve detection time but increases monitoring cost.

Optional Traffic View

Traffic View incurs additional usage-based charges when enabled. It provides aggregated visibility into DNS resolver locations and routing behavior rather than individual application requests.

Optional Real User Measurements

Real User Measurements are charged per reported measurement. Remove the measurement JavaScript from application pages when collection is no longer required to stop further reporting and associated charges.

Services Azure Traffic Manager works with

A common architecture places Traffic Manager above regional application entry points. Azure DNS publishes the application hostname, and linked records can connect that hostname directly to the routing profile. Each region then exposes either an App Service application, an Application Gateway frontend, or a public Load Balancer frontend. Traffic Manager selects a destination during DNS resolution; the regional component handles the subsequent application connection.

Choose regional components according to protocol and security requirements. Application Gateway can terminate TLS, enforce web application firewall policies, and route HTTP requests by host or path. Load Balancer distributes supported transport-layer traffic across regional backends. Every destination must accept the same client-facing hostname where applicable, and probe configuration must match its listeners and readiness behavior.

Integrate Azure Monitor alerts with application telemetry to distinguish endpoint degradation from broader dependency failures. For disaster recovery, Site Recovery can restore virtual-machine workloads while Traffic Manager provides a preconfigured DNS routing policy. Recovery remains dependent on workload startup, data availability, health detection, and DNS caching. Test these components together, including failback and the capacity of surviving regions, rather than validating DNS responses alone.

Azure DNS

Use Azure DNS to publish the application hostname and connect its record set to a Traffic Manager profile through linked records. For example, associate a supported record set for api.example.com directly with a profile to return selected endpoint IP addresses without the trafficmanager.net CNAME hop. Follow strictly typed profile requirements and configure destination services to accept api.example.com.

App Service

Deploy equivalent web applications in separate regions and register them as Azure endpoints in a Traffic Manager profile. For example, use Priority routing between West Europe and North Europe applications, with a readiness path that checks required dependencies. Configure custom-domain bindings and TLS on both applications; a profile supports only one App Service endpoint per region.

Azure Application Gateway

Use Traffic Manager for global DNS selection and public Application Gateway frontends for regional HTTP routing, TLS termination, and optional web application firewall enforcement. For example, direct clients to gateways in two regions while each gateway routes /api and /web requests to separate backend pools. Set Traffic Manager probe headers and paths so the intended gateway listener and application readiness route respond correctly.

Azure Load Balancer

Place regional public Load Balancer frontends behind Traffic Manager for applications that need TCP or UDP distribution to virtual machines. For example, select a regional service through Performance routing, then distribute connections among healthy virtual machines using Standard Load Balancer. Traffic Manager probes use HTTP, HTTPS, or TCP, so a UDP-only service needs an appropriate separate health endpoint.

Azure Monitor

Use Azure Monitor metrics and alerts to track endpoint health and DNS query activity alongside application telemetry. For example, alert when a primary endpoint becomes degraded and correlate the event with backend availability and dependency failures. DNS routing metrics alone cannot establish whether client requests are succeeding.

Azure Site Recovery

Combine Site Recovery workload replication and recovery plans with Traffic Manager DNS selection for public application endpoints. For example, preconfigure a recovery-region endpoint and allow it to become eligible after recovered virtual machines and application dependencies pass readiness checks. Traffic Manager does not initiate Site Recovery failover or recover application data, so test recovery orchestration and DNS behavior together.

API Management

Azure Traffic Manager provides the default DNS routing for public gateways in a multi-region API Management deployment. It directs clients to a regional gateway based on network latency.

Azure Blob Storage

Azure Traffic Manager can archive endpoint probe health logs in Azure Blob Storage through a diagnostic setting. This lets you review past probe results when investigating a failover.

Azure Firewall

Azure Traffic Manager health probes can be allowed through Azure Firewall network rules using the AzureTrafficManager service tag. The tag tracks the probe source addresses so firewall rules do not need a manually maintained IP list.

Azure Front Door

Azure Traffic Manager can use an Azure Front Door hostname as an external endpoint in a priority profile. It can return a standby ingress endpoint in DNS when health probes show that the application is no longer reachable through Front Door.

Alternatives to Azure Traffic Manager in other clouds

AWS

Amazon Route 53Amazon Route 53

Amazon Route 53 and Azure Traffic Manager both use DNS routing policies and endpoint health checks to distribute traffic and support failover. Route 53 hosts public and private DNS zones, while Traffic Manager routes to public endpoints and uses a separate DNS provider to publish custom hostnames.

Compare fact by fact
Azure Traffic ManagerAmazon Route 53
Health check billingCharged per monitored endpointUp to 50 qualifying checks free
Amazon Application Recovery Controller (ARC)

Both services support DNS-based regional failover: Amazon Application Recovery Controller (ARC) uses routing controls tied to Route 53 health checks, while Azure Traffic Manager uses its Priority routing policy and endpoint health probes. ARC can also orchestrate recovery steps through Region switch plans, while Traffic Manager operates alongside separate regional recovery procedures.

Compare fact by fact
Azure Traffic ManagerAmazon Application Recovery Controller (ARC)
DNS failover controlPriority policy with health probesOperator or automation via switches
Routing billingPer DNS query, with volume tiersPer provisioned cluster-hour

What is Azure Traffic Manager

2 min read

Azure Traffic Manager controls endpoint selection during DNS resolution. A profile defines the available endpoints, routing method, DNS time to live (TTL), and health-monitoring settings. When a recursive resolver queries the profile, Traffic Manager selects an endpoint according to that configuration. The client then connects directly to the selected service; application requests and responses do not pass through Traffic Manager.

This separation makes Traffic Manager suitable for public-facing applications using HTTP, HTTPS, or other application protocols. It does not provide TLS termination, HTTP path routing, caching, a web application firewall, or connection-level load balancing. Configure those capabilities on the destination services or on regional components such as Azure Application Gateway and Azure Load Balancer. Traffic Manager is not a private endpoint load balancer.

Each profile uses one of six routing methods. Priority selects the highest-priority available endpoint for active-passive designs. Weighted distributes DNS selections according to configured relative weights. Performance uses network-latency measurements to choose an appropriate Azure region rather than measuring every individual client connection. Geographic maps DNS request origins to geographic assignments. Subnet maps source IP address ranges to endpoints. MultiValue returns multiple healthy IPv4 or IPv6 endpoint addresses in a DNS response. Nested profiles combine methods, such as geographic selection followed by priority-based regional failover.

Health monitoring supports HTTP, HTTPS, and TCP probes. For web applications, expose a lightweight readiness path that reports whether the instance can serve meaningful requests, including critical dependencies where appropriate. Configure the monitoring port, path, interval, timeout, and failure tolerance deliberately. Permit probe traffic through endpoint firewalls using the AzureTrafficManager service tag where supported, and maintain equivalent rules on external firewalls. HTTPS probing should not be treated as certificate validation.

Failover is not instantaneous. Detection time, DNS caching, application DNS behavior, and existing connections all affect recovery. Lower TTL values can reduce the time that compliant resolvers retain an old answer, but increase authoritative DNS query volume. Disabling an endpoint prevents its selection in subsequent responses; it does not terminate established connections or invalidate cached answers. If all eligible endpoints are degraded, Traffic Manager can return degraded endpoints rather than treating DNS resolution as a guarantee of application health.

Publish a custom hostname through your DNS provider and configure every destination to accept that hostname with the required TLS certificate. Azure DNS linked records can associate a record set directly with a Traffic Manager profile, avoiding an intermediate trafficmanager.net CNAME lookup. Where linked records are used, follow the endpoint consistency requirements of strictly typed profiles.

Operate the service alongside application-level monitoring and regional recovery procedures. Geographic assignments are not a security boundary or proof of user location, and weighted routing does not guarantee exact request percentages because resolvers cache answers. Keep configuration in infrastructure as code, restrict modification permissions, and test regional failure, recovery, and failback with realistic clients. Application state replication, backend capacity, and data recovery remain separate architectural responsibilities.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.