FREE STUDY NOTES · AZ-305

Azure load balancing: Front Door vs Application Gateway vs Load Balancer vs Traffic Manager

Choosing between Azure's global and regional, layer 4 and layer 7 load-balancing services.

From Ultra Transcenders AZ-305 by Tony Rough (publishing soon)

Azure’s load-balancing services differ along two axes: global versus regional scope, and the layer they work at (DNS, layer 4 or layer 7 HTTP). Most designs combine a global service with a regional one, so start with the comparison and then look at common patterns.

Figure 12.3 turns those two axes into a decision tree.

A decision tree. If the traffic is HTTP(S) and global, use Azure Front Door; HTTP(S) in one region, Application Gateway; non-HTTP and global, Traffic Manager (DNS-based); non-HTTP in one region, Load Balancer. Common combinations are Front Door in front of Application Gateway, Traffic Manager in front of Application Gateway, and Gateway Load Balancer chained to a Standard Load Balancer to insert NVAs.
Figure 12.3: Choosing a load-balancing service
Service Scope Layer WAF / rate limiting TLS termination Session affinity, URL routing
Azure Front Door Global (anycast, fast failover) 7 Yes / Yes Yes (managed certificates) Yes
Traffic Manager Global (DNS, any protocol) DNS No / No No No
Application Gateway Regional 7 Yes (OWASP CRS) / WAF custom rules Yes (SSL offload) Yes
Azure Load Balancer (Standard) Regional (zone-redundant); the cross-region tier fronts only regional Standard load balancers 4 No / No No Source-IP session persistence; no URL routing
Gateway Load Balancer Chained to a Standard Load Balancer frontend Inline (VXLAN) — — —

Traffic Manager routing methods

Traffic Manager answers DNS queries with the endpoint chosen by its routing method, and it automatically fails away from unhealthy endpoints.

Placing VMs in two regions behind Traffic Manager with priority routing meets a region-redundancy requirement.

Multi-region patterns

Common trap: Counting two Traffic Manager profiles and one Application Gateway for two regions — Traffic Manager is global (one profile) and Application Gateway is regional (one per region), so the answer is one profile and two gateways.

Common trap: Concluding that no single service meets rate limiting, all-region balancing and regional failover for a multi-region web app — Azure Front Door with WAF rate-limit rules meets all three.

Common trap: Using the cross-region Load Balancer as the global entry point for multi-region AKS — it is layer 4 and can front only regional Standard load balancers, not Application Gateway; use Front Door.

Web application firewall

A WAF inspects HTTP requests for attacks such as SQL injection and XSS, and it runs on Front Door or Application Gateway.

Inserting network virtual appliances

To place a pool of third-party NVAs transparently in the traffic path, use Gateway Load Balancer. It preserves flow symmetry, health-probes the appliances and needs no route tables or VNet changes.

Common trap: Using Front Door to insert NVAs — Front Door is a global entry point for HTTP traffic; transparent NVA insertion is the job of Gateway Load Balancer.

Get the whole book

This note is one section of Ultra Transcenders AZ-305: Designing Microsoft Azure Infrastructure Solutions, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Publishing soon on Amazon in Kindle and paperback editions.

About the book · Free AZ-305 glossary · All AZ-305 study notes

More AZ-305 study notes