Skip to content

Commit e779801

Browse files
committed
updates
1 parent 96573d4 commit e779801

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

articles/app-service/environment/how-to-migrate.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to migrate your App Service Environment to App Service En
44
author: seligj95
55
ms.topic: tutorial
66
ms.custom: devx-track-azurecli
7-
ms.date: 8/23/2023
7+
ms.date: 12/14/2023
88
ms.author: jordanselig
99
zone_pivot_groups: app-service-cli-portal
1010
---
@@ -20,7 +20,7 @@ An App Service Environment v1 and v2 can be automatically migrated to an [App Se
2020

2121
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.
2222

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.
2424

2525
::: zone pivot="experience-azcli"
2626

@@ -168,17 +168,21 @@ If you're using a system assigned managed identity for your custom domain suffix
168168

169169
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.
170170

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.
172172

173173
```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
175175
```
176176

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).
178178

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.
180180

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.
182186

183187
```azurecli
184188
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
268272

269273
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.
270274

275+
Detailed migration statuses are only available when using the Azure CLI at this time. See the respective CLI section for more information.
276+
271277
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.
272278

273279
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.
Binary file not shown.

articles/app-service/environment/migrate.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate to App Service Environment v3 by using the migration feature
33
description: Overview of the migration feature for migration to App Service Environment v3
44
author: seligj95
55
ms.topic: article
6-
ms.date: 10/30/2023
6+
ms.date: 12/14/2023
77
ms.author: jordanselig
88
ms.custom: references_regions
99
---
@@ -119,6 +119,10 @@ Your App Service plans are converted from Isolated to the corresponding Isolated
119119

120120
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).
121121

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+
122126
### Choose your App Service Environment v3 configurations
123127

124128
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

Comments
 (0)