What is Application gateway ?

Info

Azure Application Gateway is a load balancer for web traffic. Administrators implement an application gateway to manage traffic to their web apps. An application gateway listens for incoming traffic to web apps and checks for messages sent via protocols like HTTP. Gateway rules direct the traffic to resources in a back-end pool.

Routing

Reference resource

You can have some options for config your Application gateway

  • Azure Application Gateway offers two primary methods for routing traffic:

    • Path-based routingΒ sends requests with different URL paths to different pools of back-end servers.

    • Multi-site routingΒ configures more than one web application on the same application gateway instance.

  • You can configure your application gateway toΒ redirectΒ traffic.

    Application Gateway can redirect traffic received at one listener to another listener, or to an external site. This approach is commonly used by web apps to automatically redirect HTTP requests to communicate via HTTPS. The redirection ensures all communication between your web app and clients occurs over an encrypted path.

  • You can implement Application Gateway toΒ rewrite HTTP headers.

    HTTP headers allow the client and server to pass parameter information with the request or the response. In this scenario, you can translate URLs or query string parameters, and modify request and response headers. Add conditions to ensure URLs or headers are rewritten only for certain conditions.

  • Application Gateway allows you to create custom error pages instead of displaying default error pages. You can use your own branding and layout by using a custom error page.

You have some type for routing, like

  • Path-based routing
  • Multi-site routing

Components

Reference resources

You have some components to applying with application gateway, such as

  • Front-end IP
  • WAF
  • Listeners
  • Routing Rules
  • Back-end pool
  • Health probes (Create default probe wait 30s)

Summary and resources, you can follow in https://learn.microsoft.com/en-us/training/modules/configure-azure-application-gateway/6-summary-resources