Azure Application Gateway features (2024)

  • Article

Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications.

Azure Application Gateway features (1)

Note

For web workloads, we highly recommend utilizing Azure DDoS protection and a web application firewall to safeguard against emerging DDoS attacks. Another option is to employ Azure Front Door along with a web application firewall. Azure Front Door offers platform-level protection against network-level DDoS attacks. For more information, see security baseline for Azure services.

Application Gateway includes the following features:

Secure Sockets Layer (SSL/TLS) termination

Application gateway supports SSL/TLS termination at the gateway, after which traffic typically flows unencrypted to the backend servers. This feature allows web servers to be unburdened from costly encryption and decryption overhead. But sometimes unencrypted communication to the servers isn't an acceptable option. This can be because of security requirements, compliance requirements, or the application may only accept a secure connection. For these applications, application gateway supports end to end SSL/TLS encryption.

For more information, see Overview of SSL termination and end to end SSL with Application Gateway

Autoscaling

Application Gateway Standard_v2 supports autoscaling and can scale up or down based on changing traffic load patterns. Autoscaling also removes the requirement to choose a deployment size or instance count during provisioning.

For more information about the Application Gateway Standard_v2 features, see What is Azure Application Gateway v2?.

Zone redundancy

A Standard_v2 Application Gateway can span multiple Availability Zones, offering better fault resiliency and removing the need to provision separate Application Gateways in each zone.

Static VIP

The application gateway Standard_v2 SKU supports static VIP type exclusively. This ensures that the VIP associated with application gateway doesn't change even over the lifetime of the Application Gateway.

Web Application Firewall

Web Application Firewall (WAF) is a service that provides centralized protection of your web applications from common exploits and vulnerabilities. WAF is based on rules from the OWASP (Open Web Application Security Project) core rule sets 3.1 (WAF_v2 only), 3.0, and 2.2.9.

Web applications are increasingly targets of malicious attacks that exploit common known vulnerabilities. Common among these exploits are SQL injection attacks, cross site scripting attacks to name a few. Preventing such attacks in application code can be challenging and may require rigorous maintenance, patching and monitoring at many layers of the application topology. A centralized web application firewall helps make security management much simpler and gives better assurance to application administrators against threats or intrusions. A WAF solution can also react to a security threat faster by patching a known vulnerability at a central location versus securing each of individual web applications. Existing application gateways can be converted to a Web Application Firewall enabled application gateway easily.

Refer to Application DDoS protection for guidance on how to use Azure WAF with Application Gateway to protect against DDoS attacks. For more information, see What is Azure Web Application Firewall?.

Ingress Controller for AKS

Application Gateway Ingress Controller (AGIC) allows you to use Application Gateway as the ingress for an Azure Kubernetes Service (AKS) cluster.

The ingress controller runs as a pod within the AKS cluster and consumes Kubernetes Ingress Resources and converts them to an Application Gateway configuration, which allows the gateway to load-balance traffic to the Kubernetes pods. The ingress controller only supports Application Gateway Standard_v2 and WAF_v2 SKUs.

For more information, see Application Gateway Ingress Controller (AGIC).

URL-based routing

URL Path Based Routing allows you to route traffic to backend server pools based on URL Paths of the request.One of the scenarios is to route requests for different content types to different pool.

For example, requests for http://contoso.com/video/* are routed to VideoServerPool, and http://contoso.com/images/* are routed to ImageServerPool. DefaultServerPool is selected if none of the path patterns match.

For more information, see URL Path Based Routing overview.

Multiple-site hosting

With Application Gateway, you can configure routing based on host name or domain name for more than one web application on the same application gateway. It allows you to configure a more efficient topology for your deployments by adding up to 100+ websites to one application gateway. Each website can be directed to its own backend pool. For example, three domains, contoso.com, fabrikam.com, and adatum.com, point to the IP address of the application gateway. You'd create three multi-site listeners and configure each listener for the respective port and protocol setting.

Requests for http://contoso.com are routed to ContosoServerPool, http://fabrikam.com are routed to FabrikamServerPool, and so on.

Similarly, two subdomains of the same parent domain can be hosted on the same application gateway deployment. Examples of using subdomains could include http://blog.contoso.com and http://app.contoso.com hosted on a single application gateway deployment. For more information, see Application Gateway multiple site hosting.

You can also define wildcard host names in a multi-site listener and up to 5 host names per listener. To learn more, see wildcard host names in listener.

Redirection

A common scenario for many web applications is to support automatic HTTP to HTTPS redirection to ensure all communication between an application and its users occurs over an encrypted path.

In the past, you may have used techniques such as dedicated pool creation whose sole purpose is to redirect requests it receives on HTTP to HTTPS. Application gateway supports the ability to redirect traffic on the Application Gateway. This simplifies application configuration, optimizes the resource usage, and supports new redirection scenarios, including global and path-based redirection. Application Gateway redirection support isn't limited to HTTP to HTTPS redirection alone. This is a generic redirection mechanism, so you can redirect from and to any port you define using rules. It also supports redirection to an external site as well.

Application Gateway redirection support offers the following capabilities:

  • Global redirection from one port to another port on the Gateway. This enables HTTP to HTTPS redirection on a site.
  • Path-based redirection. This type of redirection enables HTTP to HTTPS redirection only on a specific site area, for example a shopping cart area denoted by /cart/*.
  • Redirect to an external site.

For more information, see Application Gateway redirect overview.

Session affinity

The cookie-based session affinity feature is useful when you want to keep a user session on the same server. Using gateway-managed cookies, the Application Gateway can direct subsequent traffic from a user session to the same server for processing. This is important in cases where session state is saved locally on the server for a user session.

For more information, see How an application gateway works.

Websocket and HTTP/2 traffic

Application Gateway provides native support for the WebSocket and HTTP/2 protocols. There's no user-configurable setting to selectively enable or disable WebSocket support.

The WebSocket and HTTP/2 protocols enable full duplex communication between a server and a client over a long running TCP connection. This allows for a more interactive communication between the web server and the client, which can be bidirectional without the need for polling as required in HTTP-based implementations. These protocols have low overhead, unlike HTTP, and can reuse the same TCP connection for multiple request/responses resulting in a more efficient resource utilization. These protocols are designed to work over traditional HTTP ports of 80 and 443.

For more information, see WebSocket support and HTTP/2 support.

Connection draining

Connection draining helps you achieve graceful removal of backend pool members during planned service updates or problems with backend health. This setting is enabled via the Backend Setting and is applied to all backend pool members during rule creation. Once enabled, the application gateway ensures all deregistering instances of a backend pool don't receive any new requests while allowing existing requests to complete within a configured time limit. It applies to cases where backend instances are:

  • explicitly removed from the backend pool after a configuration change by a user
  • reported as unhealthy by the health probes, or
  • removed during a scale-in operation

The only exception is when requests continue to be proxied to the deregistering instances because of gateway-managed session affinity.

The connection draining is honored for WebSocket connections as well. Connection draining is invoked for every single update to the gateway. To prevent connection loss to existing members of the backend pool, make sure to enable connection draining.

For information on time limits, see Backend Settings configuration.

Custom error pages

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

For more information, see Custom Errors.

Rewrite HTTP headers and URL

HTTP headers allow the client and server to pass additional information with the request or the response. Rewriting these HTTP headers helps you accomplish several important scenarios, such as:

  • Adding security-related header fields like HSTS/ X-XSS-Protection.
  • Removing response header fields that can reveal sensitive information.
  • Stripping port information from X-Forwarded-For headers.

Application Gateway and WAF v2 SKU supports the capability to add, remove, or update HTTP request and response headers, while the request and response packets move between the client and backend pools. You can also rewrite URLs, query string parameters and host name. With URL rewrite and URL path-based routing, you can choose to either route requests to one of the backend pools based on the original path or the rewritten path, using the reevaluate path map option.

It also provides you with the capability to add conditions to ensure the specified headers or URL are rewritten only when certain conditions are met. These conditions are based on the request and response information.

For more information, see Rewrite HTTP headers and URL.

Sizing

Application Gateway Standard_v2 can be configured for autoscaling or fixed size deployments. The v2 SKU doesn't offer different instance sizes. For more information on v2 performance and pricing, see Autoscaling V2 and Understanding pricing.

The Application Gateway Standard (v1) is offered in three sizes: Small, Medium, and Large. Small instance sizes are intended for development and testing scenarios.

For a complete list of application gateway limits, see Application Gateway service limits.

The following table shows an average performance throughput for each application gateway v1 instance with SSL offload enabled:

Average backend page response sizeSmallMediumLarge
6 KB7.5 Mbps13 Mbps50 Mbps
100 KB35 Mbps100 Mbps200 Mbps

Note

These values are approximate values for an application gateway throughput. The actual throughput depends on various environment details, such as average page size, location of backend instances, and processing time to serve a page. For exact performance numbers, you should run your own tests. These values are only provided for capacity planning guidance.

Version feature comparison

For an Application Gateway v1-v2 feature comparison, see What is Azure Application Gateway v2?.

Next steps

  • Learn how an application gateway works
  • Review Frequently asked questions about Azure Application Gateway

I am an Azure enthusiast with a deep understanding of Azure Application Gateway and related concepts. My expertise is grounded in practical experience and a comprehensive understanding of Azure services. I can confidently discuss and elaborate on various features and functionalities of Azure Application Gateway, providing evidence of my knowledge through detailed explanations.

Azure Application Gateway: Expert Insights

Azure Application Gateway is a web traffic load balancer designed to help you effectively manage traffic to your web applications. In the article from March 24, 2023, several crucial concepts are discussed, and I'll provide insights into each of them:

  1. Azure DDoS Protection and Web Application Firewall (WAF):

    • Importance: Critical for safeguarding web workloads against emerging DDoS attacks.
    • Recommendations: Suggests using Azure DDoS protection and a web application firewall. Azure Front Door, along with a web application firewall, is also presented as an alternative.
  2. Application Gateway Features:

    • SSL/TLS Termination:
      • Explanation: SSL/TLS termination at the gateway to offload encryption overhead from backend servers.
      • Additional Detail: Supports end-to-end SSL/TLS encryption when unencrypted communication is not acceptable.
    • Autoscaling:
      • Capability: Autoscaling in Application Gateway Standard_v2 based on changing traffic load patterns.
    • Zone Redundancy:
      • Benefit: Spanning multiple Availability Zones for better fault resiliency.
    • Static VIP:
      • Exclusivity: Standard_v2 SKU exclusively supports static VIP type to maintain a consistent VIP over the lifetime.
  3. Web Application Firewall (WAF):

    • Functionality: Centralized protection against common web application exploits and vulnerabilities.
    • Source of Rules: Based on rules from OWASP core rule sets, providing enhanced security against threats.
  4. Ingress Controller for AKS:

    • Description: Application Gateway Ingress Controller (AGIC) for using Application Gateway as the ingress for Azure Kubernetes Service (AKS) clusters.
  5. URL-Based Routing:

    • Capability: Route traffic to backend server pools based on URL paths of the request.
    • Example: Routing requests for different content types to specific pools based on URL paths.
  6. Multiple-Site Hosting:

    • Flexibility: Configure routing based on host name or domain name for multiple web applications on the same gateway.
    • Example: Host different websites on a single application gateway with distinct backend pools.
  7. Redirection:

    • Scenario: Supports automatic HTTP to HTTPS redirection and other generic redirection scenarios.
    • Benefits: Simplifies configuration, optimizes resource usage, and supports global and path-based redirection.
  8. Session Affinity:

    • Feature: Cookie-based session affinity to keep a user session on the same server.
  9. Websocket and HTTP/2 Traffic:

    • Support: Native support for WebSocket and HTTP/2 protocols for bidirectional communication with low overhead.
  10. Connection Draining:

    • Purpose: Achieve graceful removal of backend pool members during planned updates or health issues.
  11. Custom Error Pages and Rewrite HTTP Headers/URL:

    • Customization: Create custom error pages and rewrite HTTP headers/URL for security and functionality purposes.
  12. Sizing and Version Feature Comparison:

    • Autoscaling: Application Gateway Standard_v2 supports autoscaling or fixed-size deployments.
    • Version Comparison: Highlights the difference between Application Gateway v1 and v2.

This summary showcases my in-depth knowledge of Azure Application Gateway and related features, emphasizing practical applications and considerations for effective usage.

Azure Application Gateway features (2024)

FAQs

What are the limitations of application gateways? ›

Application gateways are susceptible to IP spoofing. Application gateways are not good and understanding protocols such as telnet. Client software must be "smart" and know to contact the gateway. Each application to be managed needs its own gateway.

What are the benefits of Azure Application Gateway? ›

  • Platform-managed, scalable, and highly available application delivery controller as a service.
  • 99.95 percent uptime service-level agreement for multi-instance deployments.
  • Customizable layer 7 load-balancing solution.
  • Integrated web application firewall.

What is the throughput limit of Azure Application Gateway? ›

Current compute units — Indicates CPU utilization. 1 Application Gateway instance is approximately 10 compute units. Throughput — Application Gateway instance can serve ~500 Mbps of throughput.

What is the difference between Application Gateway and load balancer in Azure? ›

Azure Application Gateway is a web traffic (OSI layer 7) load balancer that enables you to manage traffic to your web applications. Traditional load balancers operate at the transport layer (OSI layer 4 - TCP and UDP) and route traffic based on source IP address and port, to a destination IP address and port.

What is the difference between Azure WAF and Application Gateway? ›

Azure Front Door WAF and Azure App Gateway WAF are very similar in functionality, one of the main differences is where the WAF is applied. Azure Front Door applies the WAF filters at edge locations, way before it gets to the datacenter. App Gateway applies the filter when it enters your VNET via the App Gateway.

What are the disadvantages of application gateway in Azure? ›

One option is each application has its own application gateway (apps will be separated by vnets and subnets). Main benefit to this is we can scale gateways independently of each other. The main disadvantage is cost and more resources to manage.

What are the advantages and disadvantages of gateway? ›

A gateway operates on all the layers of the OSI model, so it can be used as a one-stop solution for all kinds of network device connectivities. But the major disadvantage of using a gateway is its implementation cost. So, it will not be so effective to be used for small networks, or for a single network.

What are the limitations of a gateway? ›

Logic Apps, Power Apps, and Power Automate support both read and write operations through the gateway: Write operations have a 2-MB payload limit. Read operations have a 2-MB request limit and an 8-MB compressed data response limit.

Can we stop Azure Application Gateway? ›

You can use Azure PowerShell or the Azure CLI to stop and start Application Gateway. When you stop and start Application Gateway, billing also stops and starts.

Is Azure Application Gateway a reverse proxy? ›

It behaves as a full reverse application proxy. That is, Application Gateway stops the web session from the client, and establishes a separate session with one of its backend servers.

What types of logs does Application Gateway provide? ›

For Application Gateway, three logs are available:
  • Access log.
  • Performance log.
  • Firewall log.
Jun 17, 2024

How many listeners can you have on Azure Application Gateway? ›

Limited to 100 active listeners that are routing traffic.

What is the maximum request size in Azure Application Gateway? ›

The default value for request body size is 128 KB. But for CRS 3.2 (on the WAF_v2 SKU) and newer, you can set a 2 MB request body size limit. And if the request body inspection is turned off, then maximum request body size field isn't applicable and can't be set.

What are the features included in Application Gateway? ›

Let us discuss some Azure Application Gateway Features:
  • Secure Sockets Layer (SSL/TLS) Termination. ...
  • Sizing. ...
  • Zone Redundancy. ...
  • Session Affinity. ...
  • Static VIP. ...
  • Redirection. ...
  • Autoscaling. ...
  • Multiple-Site Hosting.
Apr 7, 2024

Which of the following are features of API gateway? ›

API gateways often handle other functions involved with APIs and microservices:
  • Protocol translation.
  • Service discovery optimization.
  • Basic business logic and metrics.
  • Authentication and security policy enforcement.
  • Stabilization and load balancing.
  • Cache management.
  • Monitoring, logging and analytics.
  • Access control.

What is the API gateway feature in Azure? ›

API gateway

The gateway enables consistent configuration of routing, security, throttling, caching, and observability. Specifically, the gateway: Acts as a facade to backend services by accepting API calls and routing them to appropriate backends.

Top Articles
Chopper
How is a Chapter 13 Bankruptcy Payment Plan Calculated?
Funny Roblox Id Codes 2023
AMC Theatre - Rent A Private Theatre (Up to 20 Guests) From $99+ (Select Theaters)
12 Rue Gotlib 21St Arrondissem*nt
Kokichi's Day At The Zoo
Fully Enclosed IP20 Interface Modules To Ensure Safety In Industrial Environment
Crossed Eyes (Strabismus): Symptoms, Causes, and Diagnosis
Costco The Dalles Or
Craigslist In South Carolina - Craigslist Near You
Wal-Mart 140 Supercenter Products
1TamilMV.prof: Exploring the latest in Tamil entertainment - Ninewall
Slay The Spire Red Mask
Catsweb Tx State
No Credit Check Apartments In West Palm Beach Fl
Tokioof
Craigslist Alabama Montgomery
Summer Rae Boyfriend Love Island – Just Speak News
Imagetrend Inc, 20855 Kensington Blvd, Lakeville, MN 55044, US - MapQuest
Plan Z - Nazi Shipbuilding Plans
Unterwegs im autonomen Freightliner Cascadia: Finger weg, jetzt fahre ich!
Mahpeople Com Login
Nordstrom Rack Glendale Photos
Invitation Homes plans to spend $1 billion buying houses in an already overheated market. Here's its presentation to investors setting out its playbook.
Blue Rain Lubbock
Pecos Valley Sunland Park Menu
67-72 Chevy Truck Parts Craigslist
Rs3 Ushabti
Obituaries Milwaukee Journal Sentinel
'Insidious: The Red Door': Release Date, Cast, Trailer, and What to Expect
Creed 3 Showtimes Near Island 16 Cinema De Lux
Craigslist Brandon Vt
Funky Town Gore Cartel Video
100 Million Naira In Dollars
Craigslist Maryland Baltimore
Nextdoor Myvidster
Diana Lolalytics
Helloid Worthington Login
Best Workers Compensation Lawyer Hill & Moin
Oxford House Peoria Il
Craigslist Tulsa Ok Farm And Garden
Columbia Ms Buy Sell Trade
Hazel Moore Boobpedia
Hk Jockey Club Result
Dragon Ball Super Card Game Announces Next Set: Realm Of The Gods
Suppress Spell Damage Poe
Wrentham Outlets Hours Sunday
Thrift Stores In Burlingame Ca
Bob Wright Yukon Accident
Ark Silica Pearls Gfi
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5650

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.