Skip to content

Commit 5939d9b

Browse files
committed
edit
1 parent e1e8254 commit 5939d9b

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

articles/operational-excellence/relocation-functions.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,48 @@ This section is a planning checklist in the following areas:
6262

6363
- **Determine whether your Functions App is stateful or stateless.** Although its recommended that Functions (With the exception of Durable Functions) be stateless, and the files on the `%HOME%\site` drive should be only those required to run the deployed application and any temporary files, it's possible to store runtime application state on the `%HOME%\site` virtual drive. If your application writes state on the app shared storage path, make sure to plan how you are going to manage that state during a resource move.
6464

65-
If the application uses Durable Functions, and particularly Durable Entities, the migration becomes much more application centric, and depends on the needs of the application itself. You must consider how to migrate entity state and how to reconcile the new entity state with the old service. This is particular the case, if you are doing anything more complex than a straight Active/Active + GRS Failover.
65+
If the application uses Durable Functions, and particularly Durable Entities, the migration becomes much more application centric, and depends on the needs of the application itself. You must consider how to migrate entity state and how to reconcile the new entity state with the old service. This is particularly the case, if you are doing anything more complex than a straight Active/Active + GRS Failover.
6666

6767
### Certificates
6868

69+
See [Relocate Azure App Services to another region - Certificates](relocation-app-services.md#certificates)
70+
6971
### Configuration
7072

73+
See [Relocate Azure App Services to another region - Configuration](relocation-app-services.md#configuration)
74+
7175
### VNet Connectivity / Custom Names / DNS
7276

77+
See [Relocate Azure App Services to another region - VNet Connectivity](relocation-app-services.md#vnet-connectivity-custom-names-dns)
78+
7379
### Identities
7480

81+
See [Relocate Azure App Services to another region - Identities](relocation-app-services.md#ideentities)
82+
7583
## Relocate
7684

85+
To relocate your Functions App resources, you can use either available deployment technologies or Infrastructure as Code (IaC).
86+
87+
88+
### Relocate using available deployment technologies
89+
7790
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.
7891

79-
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](functions-deployment-technologies.md) or using one of the [continuous deployment methods](functions-continuous-deployment.md).
92+
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).
93+
94+
95+
### Relocate using IaC
96+
97+
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-services.md#relocate-using-iac).
98+
99+
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)
80100

81101
### Review configured resources
82102

83-
Review and configure the resources identified in the [Prepare](#prepare) step above in the target region if they weren't configured during the deploy.
103+
Review and configure the resources identified in the [Prepare](#prepare) step above in the target region if they weren't configured during the deploy.
84104

85-
### Relocation considerations
86-
+ If your deployment resources and automation doesn't create a function app, [create an app of the same type in a new hosting plan](functions-scale.md#overview-of-plans) in the target region
105+
### Relocation considerations
106+
+ If your deployment resources and automation doesn't create a function app, [create an app of the same type in a new hosting plan](../azure-functions/functions-scale.md#overview-of-plans) in the target region
87107
+ Function app names are globally unique in Azure, so the app in the target region can't have the same name as the one in the source region
88108
+ References and application settings that connect your function app to dependencies need to be reviewed and, when needed, updated. For example, when you move a database that your functions call, you must also update the application settings or configuration to connect to the database in the target region. Some application settings such as the Application Insights instrumentation key or the Azure storage account used by the function app can be already be configured on the target region and do not need to be updated
89109
+ Remember to verify your configuration and test your functions in the target region

0 commit comments

Comments
 (0)