You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/frontdoor/standard-premium/create-front-door-cli.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Create an Azure Front Door Standard/Premium with the Azure CLI
3
-
description: Learn how to create an Azure Front Door Standard/Premium (preview) with the Azure CLI that you can use to protect your web apps against vulnerabilities.
3
+
description: Learn how to create an Azure Front Door Standard/Premium (preview) with the Azure CLI. Use the Front Door to protect your web apps against vulnerabilities.
4
4
ms.topic: sample
5
5
author: duau
6
6
ms.author: duau
@@ -12,7 +12,7 @@ ms.custom: devx-track-azurecli
12
12
13
13
# Quickstart: Create an Azure Front Door Standard/Premium - Azure CLI
14
14
15
-
In this quickstart, you learn how to create an Azure Front Door Standard/Premium profile using the Azure CLI. You can create the Azure Front Door Standard/Premium profile with basic or advanced configurations. You'll create the Azure Front Door Standard/Premium profile using the two Web Apps as your origin. You'll then verify connectivity to your Web Apps using the Azure Front Door Standard/Premium frontend hostname.
15
+
In this quickstart, you'll learn how to create an Azure Front Door Standard/Premium profile using the Azure CLI. You'll create this profile using two Web Apps as your origin, and add a WAF security policy. You can then verify connectivity to your Web Apps using the Azure Front Door Standard/Premium frontend hostname.
16
16
17
17
> [!NOTE]
18
18
> This documentation is for Azure Front Door Standard/Premium (Preview). Looking for information on Azure Front Door? View [Azure Front Door Docs](../front-door-overview.md).
@@ -23,11 +23,9 @@ In this quickstart, you learn how to create an Azure Front Door Standard/Premium
23
23
24
24
## Create a resource group
25
25
26
-
In Azure, you allocate related resources to a resource group. You can either use an existing resource group or create a new one.
26
+
For this quickstart, you'll need two resource groups. One in *Central US* and the second in *East US*.
27
27
28
-
For this tutorial, you need two resource groups. One in *Central US* and the second in *East US*.
29
-
30
-
Create a resource group with [az group create](/cli/azure/group#az_group_create):
28
+
Run [az group create](/cli/azure/group#az_group_create) to create resource groups.
31
29
32
30
```azurecli
33
31
az group create \
@@ -53,15 +51,15 @@ az afd profile create \
53
51
54
52
## Create two instances of a web app
55
53
56
-
Two instances of a web application that run in different Azure regions is required for this tutorial. Both the web application instances run in Active/Active mode, so either one can service traffic.
54
+
You need two instances of a web application that run in different Azure regions for this tutorial. Both the web application instances run in Active/Active mode, so either one can service traffic.
57
55
58
56
If you don't already have a web app, use the following script to set up two example web apps.
59
57
60
58
### Create app service plans
61
59
62
-
Before you can create the web apps you will need two app service plans, one in *Central US* and the second in *East US*.
60
+
Before you can create the web apps you'll need two app service plans, one in *Central US* and the second in *East US*.
63
61
64
-
Create app service plans with [az appservice plan create](/cli/azure/appservice/plan#az_appservice_plan_create&preserve-view=true):
62
+
Run [az appservice plan create](/cli/azure/appservice/plan#az_appservice_plan_create&preserve-view=true) to create your app service plans.
65
63
66
64
```azurecli
67
65
az appservice plan create \
@@ -237,7 +235,7 @@ To test instant global failover, we'll use the following steps:
237
235
238
236
## Clean up resources
239
237
240
-
When you no longer need the resources that you created with the Front Door, delete both resource groups. When you delete the resource group, you also delete the Front Door and all its related resources.
238
+
When you don't need the resources for the Front Door, delete both resource groups. Deleting the resource groups also deletes the Front Door and all its related resources.
241
239
242
240
Run [az group delete](/cli/azure/group#az_group_delete&preserve-view=true):
0 commit comments