Skip to content

Commit 6f4d296

Browse files
authored
Merge pull request #108567 from mscatyao/master
AppGW COVID-19 Docs
2 parents cfe12ad + f56ea04 commit 6f4d296

File tree

4 files changed

+53
-0
lines changed

4 files changed

+53
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Application Gateway COVID-19 update
3+
description: This article provides an update given the current COVID-19 situation and guidelines on how to set up your Application Gateway.
4+
services: application-gateway
5+
author: caya
6+
ms.service: application-gateway
7+
ms.topic: article
8+
ms.date: 03/21/2020
9+
ms.author: caya
10+
---
11+
12+
# Application Gateway COVID-19 update
13+
14+
This article describes a few suggested guidelines to help you set up your Application Gateway to handle extra traffic due to the COVID-19 pandemic. You can use Application Gateway with Web Application Firewall (WAF) for a scalable and secure way to manage traffic to your web applications.
15+
16+
The following suggestions help you set up Application Gateway with WAF to handle extra traffic .
17+
18+
## Use the v2 SKU over v1 for its autoscaling capabilities and performance benefits
19+
The v2 SKU offers autoscaling to ensure that your Application Gateway can scale up as traffic increases. It also offers other significant performance benefits, such as 5x better SSL offload performance, quicker deployment and update times, zone redundancy, and more when compared to v1. For more information, see our [v2 documentation](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant).
20+
21+
## Set maximum instance count to the maximum possible (125)
22+
Assuming you have an Application Gateway v2 SKU, setting the maximum instance count to the maximum possible value of 125 allows the Application Gateway to scale out as needed. This allows it to handle the possible increase in traffic to your applications. You will only be charged for the Capacity Units (CUs) you use.
23+
24+
## Set your minimum instance count based on your average CU usage
25+
Assuming you have an Application Gateway v2 SKU, autoscaling takes six to seven minutes to scale out. With a higher minimum instance count, the Application Gateway can better handle your traffic when the load is increased, because a spike in traffic doesn't require an autoscaling operation.
26+
27+
## Alert if a certain metric surpasses 75% of average CU utilization
28+
See the [Application Gateway Metrics documentation](https://docs.microsoft.com/azure/application-gateway/application-gateway-metrics#metrics-visualization) for a detailed explanation of our metrics and other walkthroughs.
29+
30+
### Example: Setting up an alert on 75% of average CU usage
31+
This example shows you how to use the Azure portal to set up an alert when 75% of average CU usage is reached.
32+
1. Navigate to your **Application Gateway**.
33+
2. On the left panel, select **Metrics** under the **Monitoring** tab.
34+
3. Add a metric for **Average Current Compute Units**.
35+
![Setting up WAF metric](./media/application-gateway-covid-guidelines/waf-setup-metrics.png)
36+
4. If you've set your minimum instance count to be your average CU usage, go ahead and set an alert when 75% of your minimum instances are in use. For example, if your average usage is 10 CUs, set an alert on 7.5 CUs. This alerts you if usage is increasing and gives you time to respond. You can raise the minimum if you think this traffic will be sustained to alert you that traffic may be increasing.
37+
![Setting up WAF alert](./media/application-gateway-covid-guidelines/waf-setup-monitoring-alert.png)
38+
39+
> [!NOTE]
40+
> You can set the alert to occur at a lower or higher CU utilization percentage depending on how sensitive you want to be to potential traffic spikes.
41+
42+
## Set up WAF with geofiltering and bot protection to stop attacks
43+
If you want an extra layer of security in front of your application, use the Application Gateway WAF_v2 SKU for WAF capabilities. You can configure the v2 SKU to only allow access to your applications from a given country or countries. You set up a WAF custom rule to explicitly allow or block traffic based on the geolocation. For more information, see [geofiltering custom rules](https://docs.microsoft.com/azure/web-application-firewall/ag/geomatch-custom-rules) and [how to configure custom rules on Application Gateway WAF_v2 SKU through PowerShell](https://docs.microsoft.com/azure/web-application-firewall/ag/configure-waf-custom-rules).
44+
45+
Enable bot protection to block known bad bots. This should reduce the amount of traffic getting to your application. For more information, see [bot protection with set up instructions](https://docs.microsoft.com/azure/web-application-firewall/ag/configure-waf-custom-rules).
46+
47+
## Turn on diagnostics on Application Gateway and WAF
48+
Diagnostic logs allow you to view firewall logs, performance logs, and access logs. You can use these logs in Azure to manage and troubleshoot Application Gateways. For more information, see our [diagnostics documentation](https://docs.microsoft.com/azure/application-gateway/application-gateway-diagnostics#diagnostic-logging).
49+
50+
## Set up an SSL policy for extra security
51+
Ensure you're using the latest SSL policy version ([AppGwSslPolicy20170401S](https://docs.microsoft.com/azure/application-gateway/application-gateway-ssl-policy-overview#appgwsslpolicy20170401s)). This enforces TLS 1.2 and stronger ciphers. For more information, see [configuring SSL policy versions and cipher suites via PowerShell](https://docs.microsoft.com/azure/application-gateway/application-gateway-configure-ssl-policy-powershell).
88 KB
Loading
90 KB
Loading

articles/application-gateway/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
href: application-gateway-components.md
4848
- name: Configuration overview
4949
href: configuration-overview.md
50+
- name: COVID-19 Guidelines
51+
href: application-gateway-covid-guidelines.md
5052
- name: Autoscaling v2 SKU
5153
href: application-gateway-autoscaling-zone-redundant.md
5254
- name: Routing

0 commit comments

Comments
 (0)