Skip to content

Commit e7d224c

Browse files
committed
edit
1 parent d02828e commit e7d224c

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

articles/operational-excellence/relocation-functions.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ This article describes how to move Azure Functions to another Azure region.
1818

1919
Azure Functions resources are region-specific and can't be moved across regions. Instead, you must create a copy of your existing function app resources in the target region, and then redeploy your functions code over to the new app.
2020

21-
If minimal downtime is a requirement, consider running your function app in both regions to implement a disaster recovery architecture:
22-
23-
- [Reliability in Azure Functions](../reliability/reliability-functions.md#cross-region-disaster-recovery-and-business-continuity)
21+
If minimal downtime is a requirement, consider running your function app in both regions to implement a disaster recovery architecture. See [Reliability in Azure Functions](../reliability/reliability-functions.md#cross-region-disaster-recovery-and-business-continuity) for more information.
2422

2523

2624
## Prerequisites
@@ -47,7 +45,7 @@ Your functions may connect to other resources by using triggers or bindings. For
4745
You should be able to also [export a template from existing resources](../azure-resource-manager/templates/export-template-portal.md).
4846

4947

50-
## Plan
48+
## Prepare
5149

5250
This section is a planning checklist in the following areas:
5351

@@ -81,22 +79,31 @@ See [Relocate Azure App Services to another region - VNet Connectivity](relocati
8179

8280
See [Relocate Azure App Services to another region - Identities](relocation-app-service.md#identities)
8381

84-
## Relocate
8582

86-
To relocate your function app resources, you can use either available [deployment technologies](../azure-functions/functions-deployment-technologies.md) or [Infrastructure as Code (IaC)](../azure-functions/functions-infrastructure-as-code.md).
83+
## Relocate
8784

85+
There are three ways to create function apps and related resources in Azure at the target region:
8886

89-
### Relocate using available deployment technologies
87+
- **IaC (Bicep/ARM/Terraform)**. Copy your code into the new function app at the target region.. If your code isn't available, you can attempt to export a template from the source function app by using the Azure portal:
9088

91-
If you have access to the deployment and automation resources that created the function app in the source region, re-run the same deployment steps in the target region to create and redeploy your app.
89+
1. Sign in to the [Azure portal](https://portal.azure.com).
90+
91+
2. Select **All resources** and then select your key vault.
92+
93+
3. Select > **Automation** > **Export template**.
94+
95+
4. Choose **Download** in the **Export template** blade.
96+
97+
5. Locate the .zip file that you downloaded from the portal, and unzip that file to a folder of your choice.
98+
99+
This zip file contains the .json files that comprise the template and scripts to deploy the template.
92100

93-
If you only have access to the source code but not the deployment and automation resources you can deploy and configure the function app on the target region using any of the available [deployment technologies](../azure-functions/functions-deployment-technologies.md) or using one of the [continuous deployment methods](../azure-functions/functions-continuous-deployment.md).
101+
- **Azure CLI/PowerShell**. Copy your code into the new function app at the target region.
102+
- **Azure portal**. If for some reason your code is not available, you'll have to recreate it at the target region.
94103

95104

96105
### Relocate using IaC
97106

98-
As long as you aren't migrating any Durable Entities state, you can relocate using IaC. For instructions, see [Relocate App Service resources using IaC](./relocation-app-service.md#relocate-using-iac).
99-
100107
To migrate Durable Entities, see [Recovery With GRS Enabled Storage for Azure Durable Functions](../azure-functions/durable/durable-functions-disaster-recovery-geo-distribution.md#scenario-3---load-balanced-compute-with-grs-shared-storage)
101108

102109
### Review configured resources

0 commit comments

Comments
 (0)