Skip to content

Commit f8c1d2b

Browse files
Merge pull request #50160 from ShawnKupfer/WB1757
AB#1044100: Load balance your web service traffic with Application Ga…
2 parents 75ead8b + 1e532ba commit f8c1d2b

14 files changed

+183
-183
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.1-introduction
3-
metadata:
4-
title: Introduction
5-
description: Introduction
6-
ms.date: 01/31/2024
7-
author: vhorne
8-
ms.author: victorh
9-
ms.topic: unit
10-
title: Introduction
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/1-introduction.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.1-introduction
3+
metadata:
4+
title: Introduction
5+
description: Introduction
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
title: Introduction
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/1-introduction.md)]
14+
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.2-routing-traffic-with-application-gateway
3-
metadata:
4-
title: Route traffic with Application Gateway
5-
description: Explain how Application Gateway routes requests and performs load balancing
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
title: Route traffic with Application Gateway
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/2-routing-traffic-with-application-gateway.md)]
14-
quiz:
15-
title: Check your knowledge
16-
questions:
17-
- content: "Which criteria does Application Gateway use to route requests to a web server?"
18-
choices:
19-
- content: "The IP address of the web server that is the target of the request"
20-
isCorrect: false
21-
explanation: "The listener routes requests based on the hostname, port, and path in the URL of the request"
22-
- content: "The region in which the servers hosting the web application are located."
23-
isCorrect: false
24-
explanation: "The listener routes requests based on the hostname, port, and path in the URL of the request"
25-
- content: "The hostname, port, and path in the URL of the request"
26-
isCorrect: true
27-
explanation: "Correct!"
28-
- content: "Which load balancing strategy does Application Gateway implement?"
29-
choices:
30-
- content: "Application Gateway selects the server in the backend pool that currently has the lightest load."
31-
isCorrect: false
32-
explanation: "The Application Gateway load balancer uses a round robin strategy to distribute requests."
33-
- content: "Application Gateway polls each server in the backend pool in turn, and sends the request to the first server that responds."
34-
isCorrect: false
35-
explanation: "The Application Gateway load balancer uses a round robin strategy to distribute requests."
36-
- content: "Application Gateway follows a round-robin approach, distributing requests to each available server in a backend pool in turn."
37-
isCorrect: true
38-
explanation: "Correct!"
39-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.2-routing-traffic-with-application-gateway
3+
metadata:
4+
title: Route traffic with Application Gateway
5+
description: Explain how Application Gateway routes requests and performs load balancing
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
title: Route traffic with Application Gateway
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/2-routing-traffic-with-application-gateway.md)]
14+
quiz:
15+
title: Check your knowledge
16+
questions:
17+
- content: "Which criteria does Application Gateway use to route requests to a web server?"
18+
choices:
19+
- content: "The IP address of the web server that is the target of the request."
20+
isCorrect: false
21+
explanation: "The listener routes requests based on the hostname, port, and path in the URL of the request."
22+
- content: "The region in which the servers hosting the web application are located."
23+
isCorrect: false
24+
explanation: "The listener routes requests based on the hostname, port, and path in the URL of the request."
25+
- content: "The hostname, port, and path in the URL of the request."
26+
isCorrect: true
27+
explanation: "Correct!"
28+
- content: "Which load balancing strategy does Application Gateway implement?"
29+
choices:
30+
- content: "Application Gateway selects the server in the backend pool that currently has the lightest load."
31+
isCorrect: false
32+
explanation: "The Application Gateway load balancer uses a round-robin strategy to distribute requests."
33+
- content: "Application Gateway polls each server in the backend pool in turn, and sends the request to the first server that responds."
34+
isCorrect: false
35+
explanation: "The Application Gateway load balancer uses a round-robin strategy to distribute requests."
36+
- content: "Application Gateway follows a round-robin approach, distributing requests to each available server in a backend pool in turn."
37+
isCorrect: true
38+
explanation: "Correct!"
39+
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.3-exercise-create-web-sites
3-
metadata:
4-
title: Exercise - Create web sites
5-
description: Create a virtual network and virtual machines for hosting the vehicle registration web app, and an App Service for hosting the license renewal web app
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
ms.custom:
11-
- devx-track-azurecli
12-
title: Exercise - Create web sites
13-
durationInMinutes: 10
14-
content: |
15-
[!include[](includes/3-exercise-create-web-sites.md)]
16-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.3-exercise-create-web-sites
3+
metadata:
4+
title: Exercise - Create web sites
5+
description: Create a virtual network and virtual machines for hosting the vehicle registration web app, and an App Service for hosting the license renewal web app
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
ms.custom:
11+
- devx-track-azurecli
12+
title: Exercise - Create web sites
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/3-exercise-create-web-sites.md)]
16+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.4-create-configure-application-gateway
3-
metadata:
4-
title: Application Gateway creation and configuration
5-
description: Describe how to create and configure Application Gateway
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
title: Application Gateway creation and configuration
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/4-create-configure-application-gateway.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.4-create-configure-application-gateway
3+
metadata:
4+
title: Application Gateway creation and configuration
5+
description: Describe how to create and configure Application Gateway
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
title: Application Gateway creation and configuration
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/4-create-configure-application-gateway.md)]
14+
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.5-exercise-create-configure-application-gateway
3-
metadata:
4-
title: Exercise - Create and configure Application Gateway
5-
description: Create Application Gateway for the two virtual machines hosting the vehicle registration web app
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
ms.custom:
11-
- devx-track-azurecli
12-
title: Exercise - Create and configure an Application Gateway
13-
durationInMinutes: 45
14-
content: |
15-
[!include[](includes/5-exercise-create-configure-application-gateway.md)]
16-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.5-exercise-create-configure-application-gateway
3+
metadata:
4+
title: Exercise - Create and configure Application Gateway
5+
description: Create Application Gateway for the two virtual machines hosting the vehicle registration web app
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
ms.custom:
11+
- devx-track-azurecli
12+
title: Exercise - Create and configure an Application Gateway
13+
durationInMinutes: 45
14+
content: |
15+
[!include[](includes/5-exercise-create-configure-application-gateway.md)]
16+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.6-exercise-test-application-gateway
3-
metadata:
4-
title: Exercise - Test your Application Gateway
5-
description: Connect to the web app through Application Gateway
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
title: Exercise - Test your Application Gateway
11-
durationInMinutes: 10
12-
content: |
13-
[!include[](includes/6-exercise-test-application-gateway.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.6-exercise-test-application-gateway
3+
metadata:
4+
title: Exercise - Test your Application Gateway
5+
description: Connect to the web app through Application Gateway
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
title: Exercise - Test your Application Gateway
11+
durationInMinutes: 10
12+
content: |
13+
[!include[](includes/6-exercise-test-application-gateway.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.load-balance-web-traffic-with-application-gateway.7-summary
3-
metadata:
4-
title: Summary
5-
description: Summary
6-
ms.date: 01/31/2024
7-
author: greg-lindsay
8-
ms.author: greglin
9-
ms.topic: unit
10-
title: Summary
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/7-summary.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.load-balance-web-traffic-with-application-gateway.7-summary
3+
metadata:
4+
title: Summary
5+
description: Summary
6+
ms.date: 04/24/2025
7+
author: greg-lindsay
8+
ms.author: greglin
9+
ms.topic: unit
10+
title: Summary
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/7-summary.md)]
14+

learn-pr/azure/load-balance-web-traffic-with-application-gateway/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Imagine that you work for the motor-vehicle department of a governmental organization. The department runs several public websites that allow drivers to register their vehicles and renew their driver's licenses online.
1+
Imagine that you work for the motor-vehicle department of a government organization. The department runs several public websites that allow drivers to register their vehicles and renew their driver's licenses online.
22

33
The vehicle-registration website has been running on a single server and has suffered multiple outages because of server failures. This results in frustrated drivers trying to register their vehicles by month's end before their registrations expire.
44

learn-pr/azure/load-balance-web-traffic-with-application-gateway/includes/2-routing-traffic-with-application-gateway.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Along with path-based routing and multiple site hosting, there are a few additio
3434

3535
## Load balancing in Application Gateway
3636

37-
Application Gateway will automatically load balance requests sent to the servers in each back-end pool using a round-robin mechanism. However, you can configure session stickiness if you need to ensure that all requests for a client in the same session are routed to the same server in a back-end pool.
37+
Application Gateway automatically load balances requests sent to the servers in each back-end pool using a round-robin mechanism. However, you can configure session stickiness if you need to ensure that all requests for a client in the same session are routed to the same server in a back-end pool.
3838

3939
Load-balancing works with the OSI Layer 7 routing that Application Gateway routing implements, which means that it load balances requests based on the routing parameters (host names and paths) the Application Gateway rules use. In comparison, other load balancers, such as Azure Load Balancer, function at the OSI Layer 4 level, and distribute traffic based on the IP address of the target of a request.
4040

@@ -43,7 +43,7 @@ Operating at OSI Layer 7 lets load balancing take advantage of the other feature
4343
- Support for the HTTP, HTTPS, HTTP/2 and WebSocket protocols.
4444
- A web application firewall to protect against web application vulnerabilities.
4545
- End-to-end request encryption.
46-
- Autoscaling, to dynamically adjust capacity as your web traffic load changes.
46+
- Autoscaling to dynamically adjust capacity as your web traffic load changes.
4747

4848
## Routing for the motor-vehicle department
4949

learn-pr/azure/load-balance-web-traffic-with-application-gateway/includes/3-exercise-create-web-sites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this exercise, you'll create a pair of virtual machines and install the vehic
66

77
## Create virtual machines and deploy the vehicle registration site
88

9-
1. Open the [Azure Cloud Shell](https://shell.azure.com/?azure-portal=true) in your browser, and log in to the directory with access to the subscription in which you want to create resources.
9+
1. Open the [Azure Cloud Shell](https://shell.azure.com/?azure-portal=true) in your browser and log in to the directory with access to the subscription in which you want to create resources.
1010

1111
1. Run the following command in the Cloud Shell to create a variable to store your resource group name, and a resource group for your resources. Replace `<resource group name>` with a name for your resource group, and `<location>` with the Azure region in which you'd like to deploy your resources.
1212

0 commit comments

Comments
 (0)