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/app-service/environment/how-to-migrate.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to migrate your App Service Environment to App Service En
4
4
author: seligj95
5
5
ms.topic: tutorial
6
6
ms.custom: devx-track-azurecli
7
-
ms.date: 8/23/2023
7
+
ms.date: 12/14/2023
8
8
ms.author: jordanselig
9
9
zone_pivot_groups: app-service-cli-portal
10
10
---
@@ -20,7 +20,7 @@ An App Service Environment v1 and v2 can be automatically migrated to an [App Se
20
20
21
21
Ensure you understand how migrating to an App Service Environment v3 affects your applications. Review the [migration process](migrate.md#overview-of-the-migration-process-using-the-migration-feature) to understand the process timeline and where and when you need to get involved. Also review the [FAQs](migrate.md#frequently-asked-questions), which may answer some questions you currently have.
22
22
23
-
Ensure there are no locks on your virtual network, resource group, resource, or subscription. Locks block platform operations during migration.
23
+
Ensure there are no locks on your virtual network, resource group, resource, or subscription. Locks block platform operations during migration. Ensure there are no Azure Policies that block actions required for the migration including subnet modifications and App Service resource creations. Policies that block resource modifications and creations can cause migration to get stuck or fail.
24
24
25
25
::: zone pivot="experience-azcli"
26
26
@@ -168,17 +168,21 @@ If you're using a system assigned managed identity for your custom domain suffix
168
168
169
169
Only start this step once you've completed all premigration actions listed previously and understand the [implications of migration](migrate.md#migrate-to-app-service-environment-v3) including what happens during this time. This step takes three to six hours for v2 to v3 migrations and up to six hours for v1 to v3 migrations depending on environment size. During that time, there's about one hour of application downtime. Scaling, deployments, and modifications to your existing App Service Environment are blocked during this step.
170
170
171
-
Be sure to include `--verbose` so that you receive output when the command runs. Only include the "body" parameter in the command if you're enabling zone redundancy and/or are configuring a custom domain suffix. If neither of those configurations apply to your migration, you can remove the parameter from the command.
171
+
Only include the "body" parameter in the command if you're enabling zone redundancy and/or are configuring a custom domain suffix. If neither of those configurations apply to your migration, you can remove the parameter from the command.
172
172
173
173
```azurecli
174
-
az rest --method post --uri "${ASE_ID}/migrate?api-version=2021-02-01&phase=fullmigration" --verbose --body @parameters.json
174
+
az rest --method post --uri "${ASE_ID}/migrate?api-version=2021-02-01&phase=fullmigration" --body @parameters.json
175
175
```
176
176
177
-
Note the "operationId" that's returned after running the previous command. You need this ID to check the status of your migration. Including `--verbose` will result in the following output. The operation ID is highlighted in the screenshot.
177
+
Run the following commands to check the detailed status of your migration. For information on the statuses, see the [migration status descriptions](migrate.md#migrate-to-app-service-environment-v3).
178
178
179
-
:::image type="content" source="./media/migration/operation-id.png" alt-text="Location of operation ID in migration command response.":::
179
+
The first command will get the operation id for the migration. Copy the value of the "id" property.
180
180
181
-
Run the following command to check the status of your migration. Replace the placeholder for operation ID with the ID you copied. For details on the statuses, see the [migration status descriptions](migrate.md#migrate-to-app-service-environment-v3).
181
+
```azurecli
182
+
az rest --method get --uri "${ASE_ID}/operations?api-version=2022-03-01"
183
+
```
184
+
185
+
Replace the placeholder for the operation id in the following command with the value you copied in the previous step. This command will return the detailed status of your migration. You can run this command as often as needed to get the latest status.
182
186
183
187
```azurecli
184
188
az rest --method get --uri "${ASE_ID}/operations/<operation-id>/details/default?api-version=2022-09-01"
@@ -268,6 +272,8 @@ After you add your custom domain suffix details, the "Migrate" button will be en
268
272
269
273
Once you've completed all of the above steps, you can start migration. Make sure you understand the [implications of migration](migrate.md#migrate-to-app-service-environment-v3) including what happens during this time. This step takes three to six hours for v2 to v3 migrations and up to six hours for v1 to v3 migrations depending on environment size. Scaling and modifications to your existing App Service Environment are blocked during this step.
270
274
275
+
Detailed migration statuses are only available when using the Azure CLI at this time. See the respective CLI section for more information.
276
+
271
277
When migration is complete, you have an App Service Environment v3, and all of your apps are running in your new environment. You can confirm the environment's version by checking the **Configuration** page for your App Service Environment.
272
278
273
279
If your migration included a custom domain suffix, the domain was shown in the **Essentials** section of the **Overview** page of the portal for App Service Environment v1/v2, but it's no longer shown there in App Service Environment v3. Instead, for App Service Environment v3, go to the **Custom domain suffix** page where you can confirm your custom domain suffix is configured correctly. You can also remove the configuration if you no longer need it or configure one if you didn't have one previously.
Copy file name to clipboardExpand all lines: articles/app-service/environment/migrate.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Migrate to App Service Environment v3 by using the migration feature
3
3
description: Overview of the migration feature for migration to App Service Environment v3
4
4
author: seligj95
5
5
ms.topic: article
6
-
ms.date: 10/30/2023
6
+
ms.date: 12/14/2023
7
7
ms.author: jordanselig
8
8
ms.custom: references_regions
9
9
---
@@ -119,6 +119,10 @@ Your App Service plans are converted from Isolated to the corresponding Isolated
119
119
120
120
Virtual network locks block platform operations during migration. If your virtual network has locks, you need to remove them before migrating. The locks can be readded if needed once migration is complete. Locks can exist at three different scopes: subscription, resource group, and resource. When you apply a lock at a parent scope, all resources within that scope inherit the same lock. If you have locks applied at the subscription, resource group, or resource scope, they need to be removed before the migration. For more information on locks and lock inheritance, see [Lock your resources to protect your infrastructure](../../azure-resource-manager/management/lock-resources.md).
121
121
122
+
### Ensure there are no Azure Policies blocking migration
123
+
124
+
Azure Policy can be used to deny resource creation and modification to certain principals. If you have a policy that blocks the creation of App Service Environments or the modification of subnets, you need to remove it before migrating. The policy can be readded if needed once migration is complete. For more information on Azure Policy, see [Azure Policy overview](../../azure-policy/overview.md).
125
+
122
126
### Choose your App Service Environment v3 configurations
123
127
124
128
Your App Service Environment v3 can be deployed across availability zones in the regions that support it. This architecture is known as [zone redundancy](../../availability-zones/migrate-app-service-environment.md). Zone redundancy can only be configured during App Service Environment creation. If you want your new App Service Environment v3 to be zone redundant, enable the configuration during the migration process. Any App Service Environment that is using the migration feature to migrate can be configured as zone redundant as long as you're using a [region that supports zone redundancy for App Service Environment v3](./overview.md#regions). If you're existing environment is using a region that doesn't support zone redundancy, the configuration option is disabled and you can't configure it. The migration feature doesn't support changing regions. If you'd like to use a different region, use one of the [manual migration options](migration-alternatives.md).
0 commit comments