Skip to content

Commit be7d3fd

Browse files
Apply suggestions from code review
Co-authored-by: Craig Shoemaker <[email protected]>
1 parent e8b2454 commit be7d3fd

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

articles/operational-excellence/relocation-static-web-apps.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For all other deployment types, make sure to:
7676

7777
- If applicable, retrieve the new Function API keys from Azure Functions in the new region.
7878

79-
- If the Azure Function has a dependency on a database, ensure that the DATABASE_CONNECTION_STRING is updated (This database may not be in scope of regional migration).
79+
- If the Azure Function has a dependency on a database, ensure that the `DATABASE_CONNECTION_STRING` is updated. This database may not be in scope of regional migration.
8080

8181
- Update the custom domain to point to the new hostname of the static web app.
8282

@@ -85,35 +85,39 @@ For all other deployment types, make sure to:
8585

8686
### Export the template
8787

88-
In this section, you learn how to export a Resource Manager template. This template contains settings that describe your Static Web Site App:
88+
To export the Resource Manager template that contains settings that describe your static web app:
8989

9090
1. Sign in to the [Azure portal](https://portal.azure.com).
91-
2. Select **All resources** and then select your Static Web Site App.
92-
3. On the **Static Web Site App** page, select **Export template** in the **Automation** section on the left menu.
93-
4. Choose **Download** in the **Export template** page.
91+
1. Go to your static web app.
92+
1. From the left menu, under *Automation*, select **Export template**.
9493

95-
5. Locate the .zip file that you downloaded from the portal, and unzip that file to a folder of your choice.
94+
The template may take a moment to generate.
9695

97-
This zip file contains the .json files that include the template and scripts to deploy the template.
98-
6. Make the necessary changes to the template, such as updating the location with target region.
96+
1. Select **Download**.
97+
98+
1. Locate the downloaded `.zip` file, and open it into a folder of your choice.
99+
100+
This file contains the `.json` files that include the template and scripts to deploy the template.
101+
102+
1. Make the necessary changes to the template, such as updating the location with target region.
99103

100104

101105
## Relocate
102106

103-
The following steps show you how to relocate Azure Static Web Apps to another region.
107+
Use the following steps to relocate your static web app to another region.
104108

105109
1. If you are relocating with Private Endpoint, follow the guidelines in [Relocate Azure Private Link Service to another region](./relocation-private-link.md).
106110

107-
1. If you've provided an existing Azure Functions to Azure Static Web App, follow the relocation procedure for [Azure Functions](./relocation-functions.md).
111+
1. If you've provided an existing Azure Functions to your static web app, follow the relocation procedure for [Azure Functions](./relocation-functions.md).
108112

109-
1. Redeploy the Azure Static Web App using the [template that you exported and configured in the previous section](#export-the-template).
113+
1. Redeploy you static web app using the [template that you exported and configured in the previous section](#export-the-template).
110114

111115
>[!IMPORTANT]
112-
>If you're not using a custom domain, your URL to access your application in the target region will change. In that scenario, you must ensure that your consumers are informed about the URL change.
116+
> If you're not using a custom domain, your application's URL the target region will change. In this scenario, ensure that users know about the URL change.
113117
114118
1. If you're using an Integrated API, create a new Integrated API that's supported by Azure Functions.
115119

116-
1. Reconfigure your repository (GitHub or Azure DevOps) to deploy into the newly deployed Azure Static Web App in the target region. Initiate the deployment of the application using GitHub actions or Azure DevOps Pipelines.
120+
1. Reconfigure your repository (GitHub or Azure DevOps) to deploy into the newly deployed static web app in the target region. Initiate the deployment of the application using GitHub actions or Azure DevOps Pipelines.
117121

118122
1. With a *cold standby* deployment, make sure you inform clients about the new URL. If you're using a custom DNS domain, simply change the DNS entry to point to the target region. With a *warm standby* deployment, a load balancer, such as Front Door or Traffic manager handle migration of the static web app in the source region to the target region.
119123

0 commit comments

Comments
 (0)