Azure Application Gateway Overview

Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. It provides features like URL-based content routing, cookie-based session affinity, SSL termination, and more.

What is Azure Application Gateway?

Azure Application Gateway is a fully managed web application firewall (WAF) service that helps protect your web applications from common web exploits. It operates at the Layer 7 (HTTP/HTTPS) level and provides a variety of load-balancing functionalities.

Key Features

How it Works

When a client request arrives at Application Gateway, it performs several actions:

  1. Listens for Requests: Application Gateway listens for incoming traffic on a public or private IP address.
  2. Applies WAF Rules: If WAF is enabled, it inspects the request for malicious patterns.
  3. Routes Based on Rules: Based on configured listeners, rules, and backend health, it determines which backend server should receive the request.
  4. Performs SSL Termination: If SSL is configured, it decrypts the request before forwarding it to the backend.
  5. Forwards to Backend: The request is sent to a healthy backend server in the appropriate backend pool.
  6. Receives Response: The backend server processes the request and sends a response back to Application Gateway.
  7. Sends Response to Client: Application Gateway may re-encrypt the response if SSL is configured for the backend, and then sends it back to the client.

Common Use Cases

Note:

Application Gateway is an OSI layer 7 load balancer, meaning it understands HTTP and HTTPS traffic. For layer 4 load balancing, consider Azure Load Balancer.

Related Services