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
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ az group create --name myRGFD --location centralus
35
35
Run [az afd profile create](/cli/azure/afd/profile#az-afd-profile-create) to create an Azure Front Door profile.
36
36
37
37
> [!NOTE]
38
-
> If you want to deploy Azure Front Door Standard instead of Premium substitute the value of the sku parameter with Standard_AzureFrontDoor. You won't be able to deploy Managed Rules with WAF Policy, if you choose Standard SKU. For detailed comparison, view [Azure Front Door tier comparison](./tier-comparison.md).
38
+
> If you want to deploy Azure Front Door Standard instead of Premium substitute the value of the sku parameter with Standard_AzureFrontDoor. You won't be able to deploy managed rules with WAF Policy, if you choose Standard SKU. For detailed comparison, view [Azure Front Door tier comparison](./tier-comparison.md).
39
39
40
40
```azurecli
41
41
az afd profile create \
@@ -188,8 +188,8 @@ az network front-door waf-policy create \
188
188
> [!NOTE]
189
189
> If you select `Detection` mode, your WAF doesn't block any requests.
190
190
191
-
### Assign Managed Rules to the WAF Policy
192
-
Run [az network front-door waf-policy managed-rules add](/cli/azure/network/front-door/waf-policy/managed-rules#az-network-front-door-waf-policy-managed-rules-add) to add Managed Rules to your WAF Policy. This example adds Microsoft_DefaultRuleSet_1.2 and Microsoft_BotManagerRuleSet_1.0 to your policy.
191
+
### Assign managed rules to the WAF policy
192
+
Run [az network front-door waf-policy managed-rules add](/cli/azure/network/front-door/waf-policy/managed-rules#az-network-front-door-waf-policy-managed-rules-add) to add managed rules to your WAF Policy. This example adds Microsoft_DefaultRuleSet_1.2 and Microsoft_BotManagerRuleSet_1.0 to your policy.
193
193
194
194
195
195
```azurecli
@@ -235,7 +235,7 @@ az afd endpoint show --resource-group myRGFD --profile-name contosoafd --endpoin
235
235
```
236
236
In a browser, go to the endpoint hostname: `contosofrontend-<hash>.z01.azurefd.net`. Your request will automatically get routed to the least latent Web App in the origin group.
237
237
238
-
:::image type="content" source="../media/create-front-door-portal/front-door-web-app-origin-success.png" alt-text="Your web app is running and waiting for your content":::
238
+
:::image type="content" source="../media/create-front-door-portal/front-door-web-app-origin-success.png" alt-text="Screenshot of the message: Your web app is running and waiting for your content":::
239
239
240
240
To test instant global failover, we'll use the following steps:
241
241
@@ -247,23 +247,23 @@ To test instant global failover, we'll use the following steps:
247
247
az webapp stop --name WebAppContoso-01 --resource-group myRGFD
248
248
```
249
249
250
-
4. Refresh your browser. You should see the same information page.
250
+
3. Refresh your browser. You should see the same information page.
251
251
252
252
>[!TIP]
253
253
>There is a little bit of delay for these actions. You might need to refresh again.
254
254
255
-
5. Find the other web app, and stop it as well.
255
+
4. Find the other web app, and stop it as well.
256
256
257
257
```azurecli
258
258
az webapp stop --name WebAppContoso-02 --resource-group myRGFD
259
259
```
260
260
261
-
6. Refresh your browser. This time, you should see an error message.
261
+
5. Refresh your browser. This time, you should see an error message.
262
262
263
-
:::image type="content" source="../media/create-front-door-portal/web-app-stopped-message.png" alt-text="Both instances of the web app stopped":::
263
+
:::image type="content" source="../media/create-front-door-portal/web-app-stopped-message.png" alt-text="Screenshot of the message: Both instances of the web app stopped":::
264
264
265
265
266
-
7. Restart one of the Web Apps by running [az webapp start](/cli/azure/webapp#az-webapp-start&preserve-view=true). Refresh your browser and the page will go back to normal.
266
+
6. Restart one of the Web Apps by running [az webapp start](/cli/azure/webapp#az-webapp-start&preserve-view=true). Refresh your browser and the page will go back to normal.
267
267
268
268
```azurecli
269
269
az webapp start --name WebAppContoso-01 --resource-group myRGFD
0 commit comments