Designing Traffic Delivery and Network Security: Load Balancing Choices, Front Door, WAF, Firewall and Private Link
The Four Load Balancing Services
| Service | Layer | Scope | Notes |
|---|---|---|---|
| Load Balancer | 4 (TCP/UDP) | Regional (cross-region tier exists) | Very fast, any protocol, internal or public |
| Application Gateway | 7 (HTTP/S) | Regional | WAF, TLS offload, path and host routing, cookie affinity |
| Front Door | 7 (HTTP/S) | Global | Anycast edge, CDN caching, WAF, global failover, acceleration |
| Traffic Manager | DNS | Global | DNS routing for any endpoint type, no traffic passes through it |
Decision Tree
- Non-HTTP traffic (SQL, game, custom TCP)? Load Balancer
- HTTP in one region? Application Gateway
- HTTP across regions or global users? Front Door
- Need DNS-based routing for non-web or legacy endpoints? Traffic Manager
- Combine: Front Door (global) to Application Gateway (regional) to apps
Routing Methods
- Traffic Manager: priority (failover), weighted, performance (lowest latency), geographic, multivalue, subnet
- Front Door: latency, priority, weighted, session affinity, path routing, rules engine
- Application Gateway: URL path-based, multi-site host headers, rewrite rules, autoscaling v2
Protection Layers
| Layer | Service | Protects |
|---|---|---|
| Edge | DDoS Protection (network or IP tier) | Volumetric and protocol attacks on public IPs |
| Web | WAF on Front Door or Application Gateway | SQL injection, XSS, bots (OWASP rules) |
| Network | Azure Firewall (Standard, Premium) | Outbound filtering, FQDN rules, threat intelligence, TLS inspection and IDPS (Premium) |
| Subnet or NIC | NSG | Basic allow and deny rules |
| PaaS | Private endpoint and firewalls | Remove public exposure |
Put the WAF at the edge Use Front Door WAF for global apps. Use Application Gateway WAF for regional or private apps. Lock backends so they accept traffic only from the front service (for example Front Door ID header or private link).
Private Link Design
- Private endpoint: a private IP in your VNet for a service
- Private Link service: expose your own service behind a Standard Load Balancer to other customers privately
- Plan DNS (
privatelinkzones) and network policies for private endpoints - Disable public access on the target service
Reference Design: Global Web App
text
Users -> Front Door (WAF, CDN, TLS) -> Origin: Application Gateway (region A, WAF) -> App Service / AKS (private)
-> Origin: Application Gateway (region B) -> App Service / AKS (private)
App -> Private endpoints -> Azure SQL, Storage, Key Vault Outbound -> Azure Firewall in hub
Practice
- Choose a load balancing service for five scenarios
- Draw WAF and firewall placement for an internet-facing app with private backends
- Explain how to make a backend accept traffic only from Front Door
Conclusion
Use Load Balancer for layer 4, Application Gateway for regional HTTP, Front Door for global HTTP and Traffic Manager for DNS routing. Layer defenses with DDoS, WAF, firewall, NSGs and private endpoints.
Quick Summary: services; decision tree; routing; protection; Private Link; reference.

