Load Balancer, Application Gateway or Front Door: which one?

Azure Portal, Hands On10 minutesLook onlySteps checked 25 October 2026By Cloud Hands On

In this task you'll compare Load Balancer, Application Gateway and Front Door.

When one server isn't enough, a load balancer shares the traffic between several and stops sending it to any that fail. Azure has a few, and the difference is what they look at.

Load Balancer works with ports and IP addresses, for any kind of traffic, inside one region. Application Gateway understands web traffic: it can send /images to one set of servers and /api to another, handle the HTTPS certificate, and add a web application firewall (WAF). Front Door does the same kind of web routing worldwide, at the edge of Microsoft's network, close to your visitors.

Example. Ironbridge Payments uses Front Door to send customers to the nearest region, an Application Gateway in each region to route web pages and API calls to different servers, and an internal Load Balancer in front of its database servers.

Before you start

You need: Any user (to look). Time: 10 minutes.

Where to look

  1. Home
  2. Search: load balancing

Steps

  1. Search for load balancing and open Load balancing and content delivery.Its menu groups them: Application gateways and Load balancers under Load balancing, Azure Front Door under Content delivery, and Traffic manager under DNS load balancing.
  2. Open Load balancers, then + Create, and read the Basics tab. Close it without creating anything.Notice the Type: Public for traffic from the internet, Internal for traffic inside your network.
  3. Open Application gateways, then + Create, and look at the Basics tab. Close it.It needs its own empty subnet, and the tier choice includes WAF V2.
  4. Decide which fits. Any protocol, one region: Load Balancer. Websites and APIs with paths, certificates or a WAF in one region: Application Gateway. Visitors around the world: Front Door.

Tip. Search for load balancing to find the Load balancing and content delivery page, which lists all of them side by side.

Commands

# What's sharing traffic in the current subscription
az network lb list --output table
az network application-gateway list --output table
az afd profile list --output table

Watch out for

Cost
Looking is free. A Standard Load Balancer costs a little per hour plus data processed. An Application Gateway costs much more: a fixed hourly charge from the moment it exists, so never create one just to look.
Security
A public load balancer puts your servers on the internet, so keep NSGs on the backend subnet. Only Application Gateway and Front Door can add a WAF.
Common mistakes
Picking Load Balancer for a website that needs path-based routing or HTTPS handling. Leaving an Application Gateway running after a test.

Clean up

Nothing to clean up, as long as you closed each Create page without creating anything.

Words to know

Layer 4
Working with IP addresses and ports only. Load Balancer works here.
Layer 7
Understanding web requests: addresses, paths and headers. Application Gateway and Front Door work here.
Health probe
A regular check that each server is answering. Servers that fail stop getting traffic.
WAF
Web application firewall: blocks common attacks such as SQL injection.

Tick off each step and track your progress in the guide.

Open this task in Azure Portal, Hands On

Keep going