Skip to content

Commit eb46c96

Browse files
authored
Merge pull request #204188 from halkazwini/appgw-route
Application Gateway: Tutorial Freshness Review: Create an application gateway with path-based routing rules using the Azure portal
2 parents 1531b1b + a98759a commit eb46c96

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

articles/application-gateway/create-url-route-portal.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: 'Tutorial: URL path-based routing rules using portal - Azure Application Gateway'
2+
title: 'Tutorial: Create an application gateway with URL path-based routing rules using Azure portal'
33
description: In this tutorial, you learn how to create URL path-based routing rules for an application gateway and virtual machine scale set using the Azure portal.
44
services: application-gateway
55
author: greg-lindsay
66
ms.service: application-gateway
77
ms.topic: tutorial
8-
ms.date: 02/23/2021
8+
ms.date: 07/08/2022
99
ms.author: greglin
10+
ms.custom: template-tutorial #Required; leave this attribute/value as-is.
1011
#Customer intent: As an IT administrator, I want to use the Azure portal to set up an application gateway so I can route my app traffic based on path-based routing rules.
1112
---
1213

@@ -23,14 +24,16 @@ In this article, you learn how to:
2324
> * Create a backend listener
2425
> * Create a path-based routing rule
2526
26-
![URL routing example](./media/application-gateway-create-url-route-portal/scenario.png)
27-
27+
:::image type="content" source="./media/application-gateway-create-url-route-portal/scenario.png" alt-text="Diagram of application gateway URL routing example.":::
2828

2929
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
3030

31+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
32+
3133
## Prerequisites
3234

33-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
35+
- An Azure subscription
36+
3437

3538
## Create virtual machines
3639

@@ -92,7 +95,7 @@ In this example, you create three virtual machines to be used as backend servers
9295
9396
## Create an application gateway
9497
95-
1. Select **Create a resource** on the left menu of the Azure portal. The **New** window appears.
98+
1. Select **Create a resource** on the left menu of the Azure portal.
9699
97100
2. Select **Networking** and then select **Application Gateway** in the **Featured** list.
98101
@@ -103,14 +106,14 @@ In this example, you create three virtual machines to be used as backend servers
103106
- **Subscription**: Select your subscription.
104107
- **Resource group**: Select **myResourceGroupAG** for the resource group.
105108
- **Application gateway name**: Type *myAppGateway* for the name of the application gateway.
106-
- **Region** - Select **(US) East US**.
107-
108-
![Create new application gateway: Basics](./media/application-gateway-create-gateway-portal/application-gateway-create-basics.png)
109+
- **Region** - Select **East US**.
109110
110111
2. Under **Configure virtual network**, select **myVNet** for the name of the virtual network.
111112
3. Select **myAGSubnet** for the subnet.
112113
3. Accept the default values for the other settings and then select **Next: Frontends**.
113114
115+
:::image type="content" source="./media/create-url-route-portal/application-gateway-create-basics.png" alt-text="Screenshot of Basics tab of Create application gateway page.":::
116+
114117
### Frontends tab
115118
116119
1. On the **Frontends** tab, verify **Frontend IP address type** is set to **Public**.
@@ -193,13 +196,13 @@ Review the settings on the **Review + create** tab, and then select **Create** t
193196
194197
The listener on port 8080 routes this request to the default backend pool.
195198
196-
3. Change the URL to *http://<ip-address>:8080/images/test.htm*, replacing <ip-address> with your IP address, and you should see something like the following example:
199+
3. Change the URL to *http://<ip-address>:8080/images/test.htm*, replacing <ip-address> with the public IP address of **myAppGateway**, and you should see something like the following example:
197200
198201
![Test images URL in application gateway](./media/application-gateway-create-url-route-portal/application-gateway-iistest-images.png)
199202
200203
The listener on port 8080 routes this request to the *Images* backend pool.
201204
202-
4. Change the URL to *http://<ip-address>:8080/video/test.htm*, replacing <ip-address> with your IP address, and you should see something like the following example:
205+
4. Change the URL to *http://<ip-address>:8080/video/test.htm*, replacing <ip-address> with the public IP address of **myAppGateway**, and you should see something like the following example:
203206
204207
![Test video URL in application gateway](./media/application-gateway-create-url-route-portal/application-gateway-iistest-video.png)
205208
@@ -211,5 +214,11 @@ When no longer needed, delete the resource group and all related resources. To d
211214
212215
## Next steps
213216
217+
In this tutorial, you created an application gateway with a path-based routing rule.
218+
219+
To learn more about path-based routing in Application Gateways, see [URL path-based routing overview](url-route-overview.md)
220+
221+
To learn how to create and configure an Application Gateway to redirect web traffic using the Azure CLI, advance to the next tutorial.
222+
214223
> [!div class="nextstepaction"]
215-
> [Enable end to end TLS on Azure Application Gateway](./ssl-overview.md)
224+
> [Redirect web traffic](tutorial-url-redirect-cli.md)
82.7 KB
Loading

0 commit comments

Comments
 (0)