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-side-by-side-migrate.md
+13-23Lines changed: 13 additions & 23 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 v2 to App Service
4
4
author: seligj95
5
5
ms.topic: tutorial
6
6
ms.custom: devx-track-azurecli
7
-
ms.date: 2/15/2024
7
+
ms.date: 2/21/2024
8
8
ms.author: jordanselig
9
9
# zone_pivot_groups: app-service-cli-portal
10
10
---
@@ -63,7 +63,7 @@ az rest --method post --uri "${ASE_ID}/NoDowntimeMigrate?phase=Validation&api-ve
63
63
64
64
If there are no errors, your migration is supported, and you can continue to the next step.
65
65
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
67
67
68
68
Create a file called *zoneredundancy.json* with the following details for your region and zone redundancy selection.
69
69
@@ -90,27 +90,17 @@ Run the following command to check the status of this step:
90
90
az rest --method get --uri "${ASE_ID}?api-version=2022-03-01" --query properties.status
91
91
```
92
92
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`.
94
94
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
106
96
107
97
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).
## 7. Confirm there are no locks on the virtual network
103
+
## 6. Confirm there are no locks on the virtual network
114
104
115
105
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.
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).
132
122
133
-
## 8. Prepare your configurations
123
+
## 7. Prepare your configurations
134
124
135
125
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).
136
126
137
127
> [!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.
139
129
>
140
130
141
131
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
189
179
}
190
180
```
191
181
192
-
## 9. Migrate to App Service Environment v3 and check status
182
+
## 8. Migrate to App Service Environment v3 and check status
193
183
194
184
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).
195
185
@@ -214,17 +204,17 @@ Get the details of your new environment by running the following command or by g
214
204
az appservice ase show --name $ASE_NAME --resource-group $ASE_RG
215
205
```
216
206
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
218
208
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.
220
210
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.
222
212
223
213
```azurecli
224
214
az rest --method get --uri "${ASE_ID}?api-version=2022-03-01"
225
215
```
226
216
227
-
## 11. Redirect customer traffic and complete migration
217
+
## 10. Redirect customer traffic and complete migration
228
218
229
219
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.
230
220
@@ -243,4 +233,4 @@ If you find any issues or decide at this point that you no longer want to procee
243
233
> [App Service Environment v3 networking](networking.md)
Copy file name to clipboardExpand all lines: articles/app-service/environment/side-by-side-migrate.md
+9-13Lines changed: 9 additions & 13 deletions
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 side by side migration
3
3
description: Overview of the side by side migration feature for migration to App Service Environment v3.
4
4
author: seligj95
5
5
ms.topic: article
6
-
ms.date: 2/15/2024
6
+
ms.date: 2/21/2024
7
7
ms.author: jordanselig
8
8
ms.custom: references_regions
9
9
---
@@ -115,20 +115,16 @@ The platform creates your new App Service Environment v3 in a different subnet t
115
115
- 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).
116
116
- 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).
117
117
118
-
### Generate outbound IP addresses for your new App Service Environment v3
118
+
### Generate IP addresses for your new App Service Environment v3
119
119
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.
121
121
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.
123
123
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.
125
125
126
126
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).
127
127
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
-
132
128
### Delegate your App Service Environment subnet
133
129
134
130
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
153
149
154
150
After completing the previous steps, you should continue with migration as soon as possible.
155
151
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.
157
153
158
154
> [!IMPORTANT]
159
155
> 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
167
163
168
164
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.
169
165
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
171
167
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.
173
169
174
170
### Redirect customer traffic and complete migration
175
171
@@ -234,4 +230,4 @@ The App Service plan SKUs available for App Service Environment v3 run on the Is
0 commit comments