Lesson 6 of 6 Network Solutions

Choosing a Load Balancing Service

This lesson explains the four main services, and how to choose or combine them.

Learning outcomes

After completing this lesson, you will be able to:

  • Classify load balancing services by layer and scope.
  • Compare Front Door Standard with Premium.
  • Choose a Traffic Manager routing method.
  • Identify when to combine services.

Two questions decide most choices

Two questions narrow the choice. First, is the traffic HTTP or HTTPS, or is it another protocol? Layer 7 services understand HTTP, so they can route by path and host name, and terminate TLS. Layer 4 services see only addresses and ports. Second, is the service global or regional? A global service distributes traffic among regions, and a regional service distributes it within one region.

Sort into groups

Choose the load balancer

Exam skills 4.4.5

Use the two deciding questions to choose a load-balancing service.

Log in to try this activity Interactive activities are free with an account.

Azure Load Balancer

Azure Load Balancer is a regional layer 4 service, for any TCP or UDP traffic, with very high throughput and low latency. A public load balancer accepts internet traffic, and an internal load balancer distributes private traffic between tiers. The Standard SKU has a 99.99% SLA, supports zone redundancy and HA ports, and is secure by default. Basic Load Balancer was retired on 30 September 2025.

The Global tier of Standard Load Balancer provides cross-region load balancing for non-HTTP traffic, with a single static IP in front of regional load balancers. Gateway Load Balancer inserts third-party network virtual appliances into a traffic path transparently.

Azure Application Gateway

Application Gateway is a regional layer 7 load balancer for web traffic. It offers URL path and host-based routing, TLS termination, session affinity, autoscaling and a web application firewall. It suits web applications that need these features within a region, particularly those in a private network, as it can use a private frontend. Application Gateway v1 was retired on 28 April 2026, so all designs must use v2.

Application Gateway for Containers is a layer 7 load balancing product for workloads running in Kubernetes clusters, using the Gateway API, and it supports traffic splitting.

Azure Front Door

Azure Front Door is a global layer 7 service that combines load balancing, a content delivery network and security at the edge. Users connect to a nearby edge location, and Front Door selects a healthy origin according to priority, weight or latency, and it can fail over between regions in seconds. It offers TLS offload, URL rewriting, caching and a WAF.

The Standard tier focuses on content delivery, with custom WAF rules. The Premium tier adds Microsoft-managed WAF rule sets, bot protection and Private Link origins, which means that an origin such as App Service can have no public access. Front Door (classic) retires on 31 March 2027, and Azure CDN from Microsoft (classic) retires on 30 September 2027, so new designs should use Standard or Premium.

True or false

Front Door tiers

Exam skills 4.4.5

Check the Front Door tiers and lifecycle.

Log in to try this activity Interactive activities are free with an account.

Azure Traffic Manager

Azure Traffic Manager is a DNS-based traffic routing service. It answers DNS queries with the address of a healthy endpoint, and the client then connects directly to it. Traffic Manager never sees the traffic itself, so it works for any protocol, and it can include external endpoints. Because it relies on DNS, failover depends on the DNS TTL, and clients may keep using cached answers.

Traffic Manager has several routing methods. Priority supports active-passive failover. Weighted distributes traffic in chosen proportions. Performance sends users to the closest endpoint in terms of latency. Geographic routes users according to their location, which can meet data sovereignty rules. Multivalue and subnet methods support more specific cases.

Match the pairs

Traffic Manager routing methods

Exam skills 4.4.5

Match each Traffic Manager routing method with its use.

Log in to try this activity Interactive activities are free with an account.

Choosing a service

Microsoft's load balancing guidance can be reduced to the following comparison.

Azure Load Balancer
ScopeRegional (Global tier available)
Layer4
TrafficAny TCP or UDP
WAFNo
Choose when Non-web traffic and internal tiers
Application Gateway
ScopeRegional
Layer7
TrafficHTTP(S)
WAFYes
Choose when Regional web routing and private frontends
Azure Front Door
ScopeGlobal
Layer7
TrafficHTTP(S)
WAFYes
Choose when Global web applications
Traffic Manager
ScopeGlobal
LayerDNS
TrafficAny, through DNS
WAFNo
Choose when DNS-based routing for any protocol

Services are often combined. A global web application might use Front Door for users, with an Application Gateway or a Load Balancer in each region. A key rule is to avoid unnecessary layers, because each one adds latency, cost and a point to manage. Front Door with Application Gateway is justified where regional private frontends or regional path-based routing are required.

The following diagram shows the load-balancing choice for each of two workloads.

Two load-balancing choices. The two-region web application uses Azure Front Door Premium for fast failover, edge caching, WAF rules and Private Link to App Service origins, which Standard lacks. The single-region TCP service uses a zone-redundant Standard Load Balancer, because it carries non-HTTP traffic.
The scenario is illustrative.
Worked example

Choosing load balancing

A company runs a web application in two regions, and a TCP-based legacy service in one region. The web application must fail over within seconds, cache images at the edge and block common web attacks, and its App Service origins must not be publicly reachable. The legacy service needs high availability across zones. What should you recommend?

Azure Front Door Premium suits the web application: it offers global load balancing with fast failover, edge caching, managed WAF rules, and Private Link to App Service origins, which Standard does not support. Traffic Manager would not provide caching or a WAF, and its failover would depend on DNS TTLs.

The legacy TCP service suits a zone-redundant Standard Load Balancer, as it handles non-HTTP traffic. Application Gateway would be unsuitable, as it is designed for web traffic, and Front Door does not carry arbitrary TCP protocols.

Check yourself

Why can a Traffic Manager failover take longer than a Front Door failover?

Show answer

Traffic Manager works through DNS, so clients may keep cached answers until the TTL expires.

Exam Tips

Remember for the exam

  • Ask two questions: HTTP or not, and global or regional.
  • Load Balancer: layer 4. Application Gateway: regional layer 7. Front Door: global layer 7. Traffic Manager: DNS.
  • Front Door Premium adds Private Link origins, managed WAF rules and bot protection.
  • Traffic Manager failover depends on DNS TTL; it never sees the traffic.
  • Front Door (classic) retires on 31 March 2027; Application Gateway v1 is retired.