Skip to content

Commit 7437bd9

Browse files
Merge pull request #266850 from seligj95/patch-2
sxs migration reorder ip generation step
2 parents a2631b7 + d2bf4a4 commit 7437bd9

File tree

2 files changed

+22
-36
lines changed

2 files changed

+22
-36
lines changed

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

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to migrate your App Service Environment v2 to App Service
44
author: seligj95
55
ms.topic: tutorial
66
ms.custom: devx-track-azurecli
7-
ms.date: 2/15/2024
7+
ms.date: 2/21/2024
88
ms.author: jordanselig
99
# zone_pivot_groups: app-service-cli-portal
1010
---
@@ -63,7 +63,7 @@ az rest --method post --uri "${ASE_ID}/NoDowntimeMigrate?phase=Validation&api-ve
6363

6464
If there are no errors, your migration is supported, and you can continue to the next step.
6565

66-
## 4. Generate outbound IP addresses for your new App Service Environment v3
66+
## 4. Generate IP addresses for your new App Service Environment v3
6767

6868
Create a file called *zoneredundancy.json* with the following details for your region and zone redundancy selection.
6969

@@ -90,27 +90,17 @@ Run the following command to check the status of this step:
9090
az rest --method get --uri "${ASE_ID}?api-version=2022-03-01" --query properties.status
9191
```
9292

93-
If the step is in progress, you get a status of `Migrating`. After you get a status of `Ready`, run the following command to view your new outbound IPs. If you don't see the new IPs immediately, wait a few minutes and try again.
93+
If the step is in progress, you get a status of `Migrating`. When the step is complete, you get a status of `Ready`.
9494

95-
```azurecli
96-
az rest --method get --uri "${ASE_ID}?api-version=2022-03-01"
97-
```
98-
99-
## 5. Update dependent resources with new outbound IPs
100-
101-
By using the new IPs, update any of your resources or networking components to ensure that your new environment functions as intended after migration is complete. It's your responsibility to make any necessary updates.
102-
103-
This step is also a good time to review the [inbound and outbound network](networking.md#ports-and-network-restrictions) dependency changes when moving to App Service Environment v3. These changes include the port change for Azure Load Balancer, which now uses port 80. Don't migrate until you complete this step.
104-
105-
## 6. Delegate your App Service Environment subnet
95+
## 5. Delegate your App Service Environment subnet
10696

10797
App Service Environment v3 requires the subnet it's in to have a single delegation of `Microsoft.Web/hostingEnvironments`. Previous versions didn't require this delegation. You need to confirm that your subnet is delegated properly and update the delegation (if necessary) before migrating. You can update the delegation either by running the following command or by going to the subnet in the [Azure portal](https://portal.azure.com).
10898

10999
```azurecli
110100
az network vnet subnet update --resource-group $VNET_RG --name <subnet-name> --vnet-name <vnet-name> --delegations Microsoft.Web/hostingEnvironments
111101
```
112102

113-
## 7. Confirm there are no locks on the virtual network
103+
## 6. Confirm there are no locks on the virtual network
114104

115105
Virtual network locks block platform operations during migration. If your virtual network has locks, you need to remove them before migrating. If necessary, you can add back the locks after migration is complete.
116106

@@ -130,12 +120,12 @@ az lock delete --resource-group $VNET_RG --name <lock-name> --resource <vnet-nam
130120

131121
For related commands to check if your subscription or resource group has locks, see the [Azure CLI reference for locks](../../azure-resource-manager/management/lock-resources.md#azure-cli).
132122

133-
## 8. Prepare your configurations
123+
## 7. Prepare your configurations
134124

135125
If your existing App Service Environment uses a custom domain suffix, you can [configure one for your new App Service Environment v3 resource during the migration process](./side-by-side-migrate.md#add-a-custom-domain-suffix-optional). Configuring a custom domain suffix is optional. If your App Service Environment v2 has a custom domain suffix and you don't want to use it on your new App Service Environment v3, skip this step. If you previously didn't have a custom domain suffix but want one, you can configure one at this point or at any time once migration is complete. For more information on App Service Environment v3 custom domain suffixes, including requirements, step-by-step instructions, and best practices, see [Custom domain suffix for App Service Environments](./how-to-custom-domain-suffix.md).
136126

137127
> [!NOTE]
138-
> If you're configuring a custom domain suffix, when you're adding the network permissions on your Azure key vault, be sure that your key vault allows access from your App Service Environment's new outbound IP addresses that were generated in step 4.
128+
> If you're configuring a custom domain suffix, when you're adding the network permissions on your Azure key vault, be sure that your key vault allows access from your App Service Environment v3's new subnet.
139129
>
140130
141131
To set these configurations, including identifying the subnet you selected earlier, create another file called *parameters.json* with the following details based on your scenario. Be sure to use the new subnet that you selected for your new App Service Environment v3. Don't include the properties for a custom domain suffix if this feature doesn't apply to your migration. Pay attention to the value of the `zoneRedundant` property and set it to the same value you used in the outbound IP generation step. **You must use the same value for zone redundancy that you used in the IP generation step.**
@@ -189,7 +179,7 @@ If you're using a system assigned managed identity for your custom domain suffix
189179
}
190180
```
191181

192-
## 9. Migrate to App Service Environment v3 and check status
182+
## 8. Migrate to App Service Environment v3 and check status
193183

194184
After you complete all of the preceding steps, you can start the migration. Make sure that you understand the [implications of migration](side-by-side-migrate.md#migrate-to-app-service-environment-v3).
195185

@@ -214,17 +204,17 @@ Get the details of your new environment by running the following command or by g
214204
az appservice ase show --name $ASE_NAME --resource-group $ASE_RG
215205
```
216206

217-
## 10. Get the inbound IP address for your new App Service Environment v3 and update dependent resources
207+
## 9. Get the new IP addresses for your new App Service Environment v3 and update dependent resources
218208

219-
You have two App Service Environments at this stage in the migration process. Your apps are running in both environments. You need to update any dependent resources to use the new inbound IP address for your new App Service Environment v3. For internal facing (ILB) App Service Environments, you need to update your private DNS zones to point to the new inbound IP address.
209+
You have two App Service Environments at this stage in the migration process. Your apps are running in both environments. You need to update any dependent resources to use the new IP addresses for your new App Service Environment v3. For internal facing (ILB) App Service Environments, you need to update your private DNS zones to point to the new inbound IP address.
220210

221-
You can get the inbound IP address for your new App Service Environment v3 by running the following command.
211+
You can get the new IP addresses for your new App Service Environment v3 by running the following command. It's your responsibility to make any necessary updates.
222212

223213
```azurecli
224214
az rest --method get --uri "${ASE_ID}?api-version=2022-03-01"
225215
```
226216

227-
## 11. Redirect customer traffic and complete migration
217+
## 10. Redirect customer traffic and complete migration
228218

229219
This step is your opportunity to test and validate your new App Service Environment v3. Once you confirm your apps are working as expected, you can redirect customer traffic to your new environment by running the following command. This command also deletes your old environment.
230220

@@ -243,4 +233,4 @@ If you find any issues or decide at this point that you no longer want to procee
243233
> [App Service Environment v3 networking](networking.md)
244234
245235
> [!div class="nextstepaction"]
246-
> [Custom domain suffix](./how-to-custom-domain-suffix.md)
236+
> [Custom domain suffix](./how-to-custom-domain-suffix.md)

articles/app-service/environment/side-by-side-migrate.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate to App Service Environment v3 by using the side by side migration
33
description: Overview of the side by side migration feature for migration to App Service Environment v3.
44
author: seligj95
55
ms.topic: article
6-
ms.date: 2/15/2024
6+
ms.date: 2/21/2024
77
ms.author: jordanselig
88
ms.custom: references_regions
99
---
@@ -115,20 +115,16 @@ The platform creates your new App Service Environment v3 in a different subnet t
115115
- The subnet must not have any locks applied to it. If there are locks, they must be removed before migration. The locks can be readded if needed once migration is complete. For more information on locks and lock inheritance, see [Lock your resources to protect your infrastructure](../../azure-resource-manager/management/lock-resources.md).
116116
- There must not be any Azure Policies blocking migration or related actions. If there are policies that block the creation of App Service Environments or the modification of subnets, they must be removed before migration. The policies can be readded if needed once migration is complete. For more information on Azure Policy, see [Azure Policy overview](../../governance/policy/overview.md).
117117

118-
### Generate outbound IP addresses for your new App Service Environment v3
118+
### Generate IP addresses for your new App Service Environment v3
119119

120-
The platform creates the [the new outbound IP addresses](networking.md#addresses). While these IPs are getting created, activity with your existing App Service Environment isn't interrupted, however, you can't scale or make changes to your existing environment. This process takes about 15 minutes to complete.
120+
The platform creates the [the new IP addresses](networking.md#addresses). While these IPs are getting created, activity with your existing App Service Environment isn't interrupted, however, you can't scale or make changes to your existing environment. This process takes about 15 minutes to complete.
121121

122-
When completed, you'll be given the new outbound IPs that your future App Service Environment v3 uses. These new IPs have no effect on your existing environment. The IPs used by your existing environment continue to be used up until you redirect customer traffic and complete the migration in the final step.
122+
When completed, the new inbound and outbound IPs that your future App Service Environment v3 uses are created. These new IPs have no effect on your existing environment. The IPs used by your existing environment continue to be used up until you redirect customer traffic and complete the migration in the final step.
123123

124-
You receive the new inbound IP address once migration is complete but before you make the [DNS change to redirect customer traffic to your new App Service Environment v3](#redirect-customer-traffic-and-complete-migration). You don't get the inbound IP at this point in the process because the inbound IP is dependent on the subnet you select for the new environment. You have a chance to update any resources that are dependent on the new inbound IP before you redirect traffic to your new App Service Environment v3.
124+
You don't see the new IPs at this stage. You see them once migration is complete but before you make the [DNS change to redirect customer traffic to your new App Service Environment v3](#redirect-customer-traffic-and-complete-migration). You have a chance to update any resources that are dependent on the new IPs before you redirect traffic to your new App Service Environment v3.
125125

126126
This step is also where you decide if you want to enable zone redundancy for your new App Service Environment v3. Zone redundancy can be enabled as long as your App Service Environment v3 is [in a region that supports zone redundancy](./overview.md#regions).
127127

128-
### Update dependent resources with new outbound IPs
129-
130-
The new outbound IPs are created and given to you before you start the actual migration. The new default outbound to the internet public addresses are given so you can adjust any external firewalls, DNS routing, network security groups, and any other resources that rely on these IPs before completing the migration. **It's your responsibility to update any and all resources that will be impacted by the IP address change associated with the new App Service Environment v3. Don't move on to the next step until you've made all required updates.** This step is also a good time to review the [inbound and outbound network](networking.md#ports-and-network-restrictions) dependency changes when moving to App Service Environment v3 including the port change for the Azure Load Balancer health probe, which now uses port 80.
131-
132128
### Delegate your App Service Environment subnet
133129

134130
App Service Environment v3 requires the subnet it's in to have a single delegation of `Microsoft.Web/hostingEnvironments`. Migration can't succeed if the App Service Environment's subnet isn't delegated or you delegate it to a different resource. Ensure that the subnet you select for your new App Service Environment v3 has a single delegation of `Microsoft.Web/hostingEnvironments`.
@@ -153,7 +149,7 @@ If your existing App Service Environment uses a custom domain suffix, you can co
153149

154150
After completing the previous steps, you should continue with migration as soon as possible.
155151

156-
There's no application downtime during the migration, but as in the outbound IP generation step, you can't scale, modify your existing App Service Environment, or deploy apps to it during this process.
152+
There's no application downtime during the migration, but as in the IP generation step, you can't scale, modify your existing App Service Environment, or deploy apps to it during this process.
157153

158154
> [!IMPORTANT]
159155
> Since scaling is blocked during the migration, you should scale your environment to the desired size before starting the migration.
@@ -167,9 +163,9 @@ Side by side migration requires a three to six hour service window for App Servi
167163

168164
When this step completes, your application traffic is still going to your old App Service Environment and the IPs that were assigned to it. However, you also now have an App Service Environment v3 with all of your apps.
169165

170-
### Get the inbound IP address for your new App Service Environment v3 and update dependent resources
166+
### Get the new IP addresses for your new App Service Environment v3 and update dependent resources
171167

172-
You get the new inbound IP address that you can use to set up new endpoints with services like [Traffic Manager](../../traffic-manager/traffic-manager-overview.md) or [Azure Front Door](../../frontdoor/front-door-overview.md). Don't move on to the next step until you account for this change. There's downtime if you don't update dependent resources with the new inbound IP. **It's your responsibility to update any and all resources that are impacted by the IP address change associated with the new App Service Environment v3. Don't move on to the next step until you've made all required updates.**
168+
The new default outbound to the internet public addresses are given so you can adjust any external firewalls, DNS routing, network security groups, and any other resources that rely on these IPs before completing the migration. The new inbound IP address is given so that you can set up new endpoints with services like [Traffic Manager](../../traffic-manager/traffic-manager-overview.md) or [Azure Front Door](../../frontdoor/front-door-overview.md). Don't move on to the next step until you account for these changes. There's downtime if you don't update dependent resources with the new IPs. **It's your responsibility to update any and all resources that are impacted by the IP address change associated with the new App Service Environment v3. Don't move on to the next step until you've made all required updates.** This step is also a good time to review the [inbound and outbound network](networking.md#ports-and-network-restrictions) dependency changes when moving to App Service Environment v3 including the port change for the Azure Load Balancer health probe, which now uses port 80.
173169

174170
### Redirect customer traffic and complete migration
175171

@@ -234,4 +230,4 @@ The App Service plan SKUs available for App Service Environment v3 run on the Is
234230
> [Using an App Service Environment v3](using.md)
235231
236232
> [!div class="nextstepaction"]
237-
> [Custom domain suffix](./how-to-custom-domain-suffix.md)
233+
> [Custom domain suffix](./how-to-custom-domain-suffix.md)

0 commit comments

Comments
 (0)