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/operational-excellence/relocation-static-web-apps.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ For all other deployment types, make sure to:
76
76
77
77
- If applicable, retrieve the new Function API keys from Azure Functions in the new region.
78
78
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.
80
80
81
81
- Update the custom domain to point to the new hostname of the static web app.
82
82
@@ -85,35 +85,39 @@ For all other deployment types, make sure to:
85
85
86
86
### Export the template
87
87
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:
89
89
90
90
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**.
94
93
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.
96
95
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.
99
103
100
104
101
105
## Relocate
102
106
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.
104
108
105
109
1. If you are relocating with Private Endpoint, follow the guidelines in [Relocate Azure Private Link Service to another region](./relocation-private-link.md).
106
110
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).
108
112
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).
110
114
111
115
>[!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.
113
117
114
118
1. If you're using an Integrated API, create a new Integrated API that's supported by Azure Functions.
115
119
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.
117
121
118
122
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.
0 commit comments