Home › Studies › Azure Service Comparisons › Azure Load Balancing Options Compared

Azure Load Balancing Options Compared

Load Balancer, Application Gateway, Front Door and Traffic Manager compared by layer, scope and failover for AZ-104, AZ-305 and AZ-700.

By tools4free.dev · Last reviewed 4 December 2026

tools4free.dev is not affiliated with, endorsed by or sponsored by Microsoft. Facts below come from Microsoft Learn pages checked on 4 December 2026, linked in Sources. Confirm details on Learn before you rely on them.

The short answer

Ask two questions: is the traffic web traffic (HTTP or HTTPS), and does it stay in one region or span several? Azure Load Balancer is the Layer 4 service for TCP and UDP traffic to virtual machines or scale sets. Application Gateway is the regional Layer 7 service: URL-path routing, TLS termination and a web application firewall (WAF) in front of web servers in your virtual network. Azure Front Door is the global Layer 7 service: edge delivery, caching, acceleration and fast failover for web applications across regions. Traffic Manager is DNS-based global routing that works with any internet-facing endpoint but never sees the traffic itself. Real designs often layer them, for example Front Door in front of Application Gateway in front of the web tier, and exam answers frequently ask for exactly that combination.

The four services side by side

FeatureLoad BalancerApplication GatewayFront DoorTraffic Manager
OSI layerLayer 4 (TCP, UDP)Layer 7; also Layer 4 TCP and TLS proxyLayer 7DNS
ScopeRegional, with a cross-region (global) tierRegionalGlobalGlobal
Recommended traffic (Learn)Non-HTTP(S)HTTP(S), TCP and TLSHTTP(S)Non-HTTP(S)
Handles the traffic itself?Yes, pass-throughYes, terminating proxyYes, terminating at the edgeNo, it answers DNS queries
Routing decision based onFlows, rules and health probesURL path, host header, other HTTP attributesOrigins, health probes, rules engine, latency and accelerationRouting method: Priority, Weighted, Performance, Geographic, Multivalue, Subnet
TLS offloadNo (Layer 4 only)YesYes, at the edgeNo (DNS only)
WAFNo (Layer 4 only)YesYesNo (DNS only)
Caching and CDNNoNot in its feature listYesNo
BackendsVMs and scale setsVMs, scale sets, PaaS, remote FQDNs or IPsOrigins in Azure or anywhereAny internet-facing endpoint, including non-Azure
Failover speedHealth probes remove unhealthy instancesRegional; add a global service for multiregionFast global failoverSlower, because DNS caching and TTLs delay clients

Learn's architecture guide also lists API Management (a gateway for HTTP APIs whose load balancing is optional) and Application Gateway for Containers (Layer 7 for Kubernetes workloads). Neither is a general-purpose answer to a "which load balancer" question.

Choose Load Balancer when

The traffic is not HTTP, or you need the highest throughput and lowest latency inside a virtual network. Learn describes a pass-through Layer 4 service for TCP and UDP that scales to millions of flows, supports public and internal (private) frontends, outbound connectivity for VMs, port forwarding and high-availability ports, and distributes across availability zones. Its health probes keep traffic on healthy instances. Standard load balancers and public IPs are closed to inbound traffic until a network security group allows it. Basic Load Balancer was retired on 30 September 2025, so Standard is the baseline. A cross-region (global) Load Balancer adds a static anycast global IP address and sends clients to the closest healthy regional load balancer; its health probe checks each regional load balancer every 5 seconds. Words that point here: "TCP or UDP", "internal load balancer", "VMs", "all ports", "outbound".

Choose Application Gateway when

The requirement is web-aware routing or protection inside a region. Learn lists URL path-based routing, multiple-site hosting, redirection, header and URL rewrite, cookie-based session affinity, TLS termination and end-to-end TLS, a WAF, autoscaling, zone redundancy, a static VIP and the Application Gateway Ingress Controller for AKS. A gateway is a dedicated deployment that needs its own subnet, which cannot contain other resource types. Application Gateway also supports Layer 4 TCP and TLS proxying through the same frontend; Learn notes that WAF does not inspect traffic on TCP and TLS listeners. The v1 SKUs retired on 28 April 2026, so v2 (Standard_v2 and WAF_v2) is the one to know. Words that point here: "URL path", "host header", "TLS termination", "WAF", "regional", "web servers in a virtual network".

Choose Front Door when

The application is a global web application that needs to be fast and resilient across regions. Learn describes Front Door as an advanced content delivery network with global and local points of presence on Microsoft's network, split TCP, SSL offload at the edge, caching, a rules engine, a WAF, Layer 3 and 4 DDoS protection, and Private Link to origins. Its origins can be hosted in Azure or anywhere. Words that point here: "global", "performance acceleration", "CDN", "edge", "fast failover", "multi-region web app".

Choose Traffic Manager when

DNS-level routing is enough, or the endpoints are not web traffic or not in Azure. Traffic Manager returns an endpoint in the DNS response according to one of six routing methods and monitors endpoint health with automatic failover. Priority gives primary and backup endpoints. Weighted splits traffic, which suits gradual upgrades and migration to Azure. Performance sends users to the closest endpoint for the lowest latency. Geographic maps DNS query locations to endpoints for data sovereignty or localisation. Multivalue returns all healthy endpoints and requires IPv4 or IPv6 addresses as endpoints. Subnet maps source IP ranges to endpoints. Endpoints can be external, which supports hybrid, burst-to-cloud, migrate-to-cloud and failover-to-cloud scenarios. Because it balances at the domain level, it cannot fail over as quickly as Front Door. Words that point here: "DNS-based", "geographic routing", "weighted", "non-Azure endpoint", "priority failover".

How Learn's decision flow works

Treat the flow as a starting point. Learn itself says to evaluate each service in the workload separately, and that a good design often uses more than one load balancing service.

Worked scenarios

Scenario 1

Requirement: A regional web application serves /images from one VM pool and /api from another. TLS must end at the load balancer and a WAF must inspect requests. All backends are in one virtual network.

Answer: Application Gateway (WAF v2) with path-based routing.

Why the others fail: Load Balancer works at Layer 4 and cannot route on URL paths or terminate TLS. Traffic Manager only answers DNS queries and never sees paths. Front Door is global and unnecessary for a single-region app, and path-based routing inside the virtual network is Application Gateway's job.

Scenario 2

Requirement: A game server cluster of VMs receives UDP traffic from the internet and must distribute it with very low latency.

Answer: Azure Load Balancer (Standard, public).

Why the others fail: Application Gateway and Front Door are recommended for HTTP(S), and Learn lists TCP and TLS, not UDP, for Application Gateway. Traffic Manager would only return an IP address through DNS and not distribute the UDP flows.

Scenario 3

Requirement: A company runs an e-commerce site in West Europe and East US. Users worldwide must reach the closest healthy region, static assets must be cached at the edge, and failover must be quick. A WAF is required.

Answer: Azure Front Door, with Application Gateway behind it if routing inside each virtual network is also needed.

Why the others fail: Traffic Manager cannot cache and fails over more slowly because of DNS caching. Application Gateway alone is regional. Learn gives reasons to put Application Gateway behind Front Door: path-based balancing inside the virtual network, connection draining, and moving all TLS processing to the gateway.

Scenario 4

Requirement: An application has an on-premises endpoint and an Azure endpoint. During migration, 10% of users should reach Azure first and the share should rise over several weeks. No web-layer features are needed.

Answer: Traffic Manager with the Weighted routing method.

Why the others fail: Learn lists gradual upgrade and migration to Azure as Weighted scenarios, and says endpoints can be external. Load Balancer distributes to Azure VMs, not on-premises endpoints. Application Gateway and Front Door add web features the requirement did not ask for.

Common traps

Quick reference for the exam

FAQ

Can Application Gateway load balance non-web traffic?

Yes, through its Layer 4 TCP and TLS proxy, which uses one frontend for HTTP and non-HTTP workloads. Learn still lists Load Balancer as the pass-through option for TCP and UDP, and the WAF does not inspect TCP and TLS listeners.

Should I use Front Door and Traffic Manager together?

Learn says end-to-end scenarios can combine these services as needed, and lists a multiregion design that pairs Traffic Manager with Application Gateway. Choose by requirement: Front Door for web applications that need edge features, and Traffic Manager when DNS-level routing or non-web endpoints are the requirement.

What is the difference between Load Balancer and Application Gateway?

Load Balancer is a pass-through Layer 4 device where the client connects to the backend selected by the load balancer. Application Gateway is a terminating proxy: the client connects to the gateway, which opens a separate connection to the backend.

Does a regional PaaS service need a load balancer?

Learn says PaaS services provide integrated load balancing within a region. Add an external router such as Front Door or Traffic Manager for multiregion designs.

Related study pages

Sources