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
[!INCLUDE [Azure Front Door (classic) retirement notice](../../includes/front-door-classic-retirement.md)]
18
18
19
-
This quickstart shows you how to use the Azure portal to set up high availability for a web application with Azure Front Door (classic). You create an Azure Front Door (classic) configuration that distributes traffic across two instances of a web application running in different Azure regions. The configuration uses equal weighted and same priority backends, which means that Azure Front Door directs traffic to the closest available site that hosts the application. Azure Front Door also monitors the health of the web application and performs automatic failover to the next nearest site if the closest site is down.
19
+
This quickstart guides you through setting up high availability for a web application using Azure Front Door (classic) via the Azure portal. You configure Azure Front Door to distribute traffic across two web application instances in different Azure regions. The setup uses equal weighted and same priority backends, directing traffic to the nearest available site. Azure Front Door also monitors the health of the web applications and automatically fails over to the next nearest site if the closest one is down.
20
20
21
21
:::image type="content" source="media/quickstart-create-front-door/environment-diagram.png" alt-text="Diagram of Front Door deployment environment using the Azure portal." border="false":::
22
22
@@ -26,44 +26,42 @@ This quickstart shows you how to use the Azure portal to set up high availabilit
26
26
27
27
## Create two instances of a web app
28
28
29
-
[test](front-door-diagnostics.md#access-log)
29
+
To complete this quickstart, you need two instances of a web application running in different Azure regions. These instances operate in *Active/Active* mode, meaning they can handle traffic simultaneously. This setup differs from *Active/Stand-By* mode, where one instance serves as a backup.
30
30
31
-
To complete this quickstart, you need two instances of a web application running in different Azure regions. The web application instances operate in *Active/Active* mode, which means that they can both handle traffic simultaneously. This setup is different from *Active/Stand-By* mode, where one instance serves as a backup for the other.
32
-
33
-
To follow this quickstart, you need two web apps that run in different Azure regions. If you don't have them already, you can use these steps to create example web apps.
31
+
If you don't have the web apps already, follow these steps to create them:
34
32
35
33
1. Sign in to the [Azure portal](https://portal.azure.com).
36
34
37
-
1.On the top left corner of the screen, select **+ Create a resource**and then search for **Web App**.
35
+
1.Select **+ Create a resource**from the top left corner and search for **Web App**.
38
36
39
37
:::image type="content" source="media/quickstart-create-front-door/front-door-create-web-app.png" alt-text="Create a web app in the Azure portal." lightbox="./media/quickstart-create-front-door/front-door-create-web-app.png":::
40
38
41
-
1. On the Basics tab of the Create Web App page, provide or select the following details.
39
+
1. On the Basics tab of the Create Web App page, provide, or select the following details:
42
40
43
41
| Setting | Value |
44
42
|--|--|
45
43
|**Subscription**| Choose your subscription. |
46
-
|**Resource group**| Select **Create new** and type *FrontDoorQS_rg1* in the text box. |
47
-
|**Name**|Type a unique **Name** for your web app. For example, *WebAppContoso-1*. |
44
+
|**Resource group**| Select **Create new** and type *FrontDoorQS_rg1*. |
45
+
|**Name**| Type a unique name for your web app, for example, *WebAppContoso-1*. |
|**Windows Plan**| Select **Create new** and type *myAppServicePlanCentralUS* in the text box. |
50
+
|**Windows Plan**| Select **Create new** and type *myAppServicePlanCentralUS*. |
53
51
|**Sku and size**| Select **Standard S1 100 total ACU, 1.75 GB memory**. |
54
52
55
-
1. Select **Review + create** and verify the summary details. Then, select **Create** to initiate the deployment process. The deployment may take several minutes to complete.
53
+
1. Select **Review + create**, verify the summary details, and then select **Create** to initiate the deployment. The deployment may take several minutes.
56
54
57
55
:::image type="content" source="media/quickstart-create-front-door/create-web-app.png" alt-text="Screenshot showing Create Web App page." lightbox="./media/quickstart-create-front-door/create-web-app.png":::
58
56
59
-
Once you have successfully deployed your first web app, proceed to create another one. Follow the same steps and enter the same values as before, except for the ones listed:
57
+
1. After deploying the first web app, create another one with the same steps but with the following changes:
60
58
61
-
| Setting | Value |
62
-
|--|--|
63
-
|**Resource group**| Select **Create new** and type *FrontDoorQS_rg2*|
64
-
|**Name**| Type a unique name for your Web App, for example, *WebAppContoso-2*|
65
-
|**Region**| Select a different region than the first Web App, for example, *East US*|
66
-
|**App Service plan** > **Windows Plan**| Select **New** and type *myAppServicePlanEastUS*, and then select **OK**|
59
+
| Setting | Value |
60
+
|--|--|
61
+
|**Resource group**| Select **Create new** and type *FrontDoorQS_rg2*.|
62
+
|**Name**| Type a unique name for your web app, for example, *WebAppContoso-2*.|
63
+
|**Region**| Select a different region, for example, *East US*.|
64
+
|**App Service plan** > **Windows Plan**| Select **New** and type *myAppServicePlanEastUS*, then select **OK**.|
67
65
68
66
## Create a Front Door for your application
69
67
@@ -138,54 +136,53 @@ Lastly, create a routing rule. A routing rule links your frontend host to the ba
138
136
139
137
140
138
## View Azure Front Door in action
139
+
Once you create a Front Door, it takes a few minutes for the configuration to be deployed globally. After deployment, access the frontend host you created by navigating to its address in your browser. Your requests automatically get routed to the nearest server from the specified servers in the backend pool.
141
140
142
-
Once you create a Front Door, it takes a few minutes for the configuration to be deployed globally; once completed, access the frontend host you created. In the browser, go to your frontend host address. Your requests automatically get routed to your nearest server from the specified servers in the backend pool.
143
-
144
-
If you followed this quickstart to create these apps, you see an information page.
141
+
If you followed this quickstart to create the web apps, you should see an information page.
145
142
146
-
To test the instant global failover feature, try the following steps:
143
+
To test the instant global failover feature, follow these steps:
147
144
148
-
1. Navigate to the resource group **FrontDoorQS_rg0** and select the Front Door service.”
145
+
1. Navigate to the resource group **FrontDoorQS_rg0** and select the Front Door service.
149
146
150
147
:::image type="content" source="./media/quickstart-create-front-door/front-door-view-frontend-service.png" alt-text="Screenshot of frontend service." lightbox="./media/quickstart-create-front-door/front-door-view-frontend-service.png":::
151
148
152
149
1. From the **Overview** page, copy the **Frontend host** address.
153
150
154
151
:::image type="content" source="./media/quickstart-create-front-door/front-door-view-frontend-host-address.png" alt-text="Screenshot of frontend host address." lightbox="./media/quickstart-create-front-door/front-door-view-frontend-host-address.png":::
155
152
156
-
1. Open the browser, as described previously, and go to your frontend address.
153
+
1. Open your browserand go to the frontend address.
157
154
158
-
1. In the Azure portal, search for and select App services. Scroll down to find one of your web apps, for example, *WebAppContoso-1*.
155
+
1. In the Azure portal, search for and select **App services**. Scroll down to find one of your web apps, for example, *WebAppContoso-1*.
159
156
160
-
1. Select your web app, and then select **Stop**, and **Yes** to confirm.
157
+
1. Select your web app, then select **Stop**, and confirm by selecting **Yes**.
161
158
162
-
1. Refresh your browser. You should see the same information page.
159
+
1. Refresh your browser. You should still see the information page.
163
160
164
161
> [!TIP]
165
-
> These actions may take some time to take effect. You may need to refresh the browser again.”
162
+
> These actions may take some time to take effect. You may need to refresh the browser again.
166
163
167
-
1. Locate the other web app, and stop it as well.
164
+
1. Locate the other web app and stop it as well.
168
165
169
166
1. Refresh your browser. This time, you should see an error message.
170
167
171
-
:::image type="content" source="media/quickstart-create-front-door/web-app-stopped-message.png" alt-text="Both instances of the web app stopped." lightbox="./media/quickstart-create-front-door/web-app-stopped-message.png":::
168
+
:::image type="content" source="media/quickstart-create-front-door/web-app-stopped-message.png" alt-text="Both instances of the web app stopped." lightbox="./media/quickstart-create-front-door/web-app-stopped-message.png":::
172
169
173
170
## Clean up resources
174
171
175
-
After you're done, you can delete all the items you created. Deleting the resource group also deletes its contents. If you don't intend to use this Front Door, you should delete the resources to avoid incurring unnecessary charges.
172
+
After completing the quickstart, you can delete the resources, you created to avoid unnecessary charges. Deleting a resource group also deletes all its contents.
176
173
177
-
1. In the Azure portal, search for and select **Resource groups**, or choose **Resource groups**from the Azure portal menu.
174
+
1. In the Azure portal, search for and select **Resource groups**from the menu.
178
175
179
-
1.Filter or scroll down to find a resource group, for example,*FrontDoorQS_rg0*.
176
+
1.Locate the resource group you want to delete, such as*FrontDoorQS_rg0*.
180
177
181
-
1.Choose the resource group, then select **Delete** resource group.
178
+
1.Select the resource group, then select **Delete resource group**.
182
179
183
180
> [!WARNING]
184
-
> This action can't be undone.
181
+
> This action is irreversible.
185
182
186
-
1. Enter the name of the resource group that you want to delete, and then select **Delete**.
183
+
1. Enter the name of the resource group to confirm deletion, then select **Delete**.
187
184
188
-
1. Repeat these steps for the remaining two groups.
185
+
1. Repeat these steps for the other resource groups.
0 commit comments