- Client request hits the Application Gateway front-end IP.
- A configured HTTP/HTTPS listener accepts the request and inspects Layer 7 attributes.
- Routing rules evaluate the request and forward it to the appropriate backend pool using configured HTTP settings.
- Backend pools consist of Azure VMs, VM scale sets, App Services, or on-premises endpoints; health probes monitor them and the gateway keeps traffic directed to healthy targets.
- Front-end listeners accept incoming HTTP/HTTPS requests.
- Rules (path- or host-based) map listeners to backend pools.
- HTTP settings control protocol, ports, timeouts, session affinity, and client/backend certificate handling.
- WAF integration protects applications from common web attacks when required.

- Path-based routing: Route requests for specific URL paths to distinct backend pools. Example:
/images→ image servers,/video→ video-optimized pool. This lets you scale and tune resources per content type. - Multi-site (host-based) routing: Host multiple domains behind a single Application Gateway. The gateway inspects the Host header and routes traffic to separate backend infrastructures (for example,
example.comandapi.example.comon the same public IP).
Choosing a SKU
Selecting the correct SKU matters for performance, autoscaling, SLA, and available features (WAF, autoscale, etc.). The most common SKUs are Basic (for simple or dev/test workloads) and Standard_v2 (recommended for production).
Standard_v1 is deprecated. If you run Standard_v1, plan migration to Standard_v2. See the official migration guide: https://learn.microsoft.com/en-us/azure/application-gateway/migrate-v1-to-v2
Core configuration concepts
Deploying Application Gateway requires planning the following building blocks so your gateway meets access, security, and performance requirements.
Sample Azure CLI snippets for common tasks
Create a public IP for Application Gateway:
az network application-gateway subcommands to script advanced configuration including path-based rules, host-based routing, WAF policy attachment, and custom health probes. For detailed reference, see the Azure Application Gateway docs: https://learn.microsoft.com/azure/application-gateway/
This lesson includes deeper configuration guidance for listeners, routing rules, HTTP settings, health probes, and WAF policies with examples and best practices for production deployments.