Skip to content

Commit 3c1cca0

Browse files
committed
review comments
1 parent bdac3b2 commit 3c1cca0

File tree

2 files changed

+26
-28
lines changed

2 files changed

+26
-28
lines changed

articles/api-management/migrate-stv1-to-stv2-no-vnet.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ If you need to migrate a *VNnet-injected* API Management hosted on the `stv1` pl
2929

3030
API Management platform migration from `stv1` to `stv2` involves updating the underlying compute alone and has no impact on the service/API configuration persisted in the storage layer. For an instance that's not deployed in a VNet:
3131

32-
* The upgrade process involves creating a new compute in parallel to the old compute. The old compute takes 15-45 mins to be deleted.
33-
* The API Management status in the portal will be **Updating**.
3432
* You can choose whether the VIP address of the instance will change, or whether the original VIP address is preserved.
35-
* Azure manages the management endpoint DNS, and updates to the new compute immediately on successful migration.
36-
* The gateway and portal DNS points to the new compute immediately.
33+
* The upgrade process involves creating a new compute in parallel to the old compute.
34+
* The API Management status in the portal will be **Updating**.
35+
* If you choose to preserve the VIP address, migration includes an additional step of moving the VIP from the old compute to the new compute during which the APIs will be unresponsive.
36+
* Azure manages the management endpoint DNS, and updates to the new compute immediately on successful migration.
37+
* The default gateway and portal DNS point to the new compute immediately.
3738
* If you choose to have your API Management instance receive a new VIP address, you'll need to update network dependencies to use the new VIP address.
3839

3940
## Prerequisites
@@ -111,11 +112,11 @@ After successful migration to a new VIP address, update any network dependencies
111112

112113
- **What are the prerequisites for the migration?**
113114

114-
For non-VNet-injected instances, no prerequisites are required. If you migrate preserving your public IP address, this will render your API Management instance unresponsive for approximately 15 minutes. If you can't afford any downtime, then choose the **New virtual IP address** option that makes API Management available on a new IP. Network dependencies need to be updated with the new public virtual IP address.
115+
For non-VNet-injected instances, no prerequisites are required. If you migrate preserving your public IP address, this will render your API Management instance unresponsive for approximately 15 minutes. There may not be a downtime if you choose the **New virtual IP address** option that makes API Management available on a new IP. Instances configured with a custom domain using an A record and/or having network dependencies on the public virtual IP address will have a downtime when a new virtual IP address is requested.
115116

116117
- **Will the migration cause a downtime?**
117118

118-
For non-VNet-injected instances, there's a downtime of approximately 15 minutes only if you choose to preserve the original IP address. However, there's no downtime if you migrate with a new IP address.
119+
For non-VNet-injected instances, there's a downtime of approximately 15 minutes only if you choose to preserve the original IP address. However, there's no downtime if you migrate with a new IP address and have no network dependencies on the new IP. Network dependencies include custom domain name without a CNAME, IP allow–listing, firewall rules, and VNets.
119120

120121
- **Can data or configuration losses occur by/during the migration?**
121122

@@ -165,15 +166,6 @@ After successful migration to a new VIP address, update any network dependencies
165166

166167
For an API Management that's not inject in a VNet, follow the [migration steps](#migrate-the-instance-to-stv2-platform) using the portal or the Azure CLI. All the regions will be migrated to `stv2`.
167168

168-
169-
170-
- **Can I test the new gateway before switching the live traffic?**
171-
172-
- By default, the old and the new managed gateways coexist for 15 mins, which is a small window of time to validate the deployment.
173-
- The migration process automatically updates the default domain names, and if being used, the traffic routes to the new gateways immediately.
174-
- If custom domain names are in use, the corresponding DNS records might need to be updated with the new IP address if not using CNAME. Customers can update their hosts file to the new API Management IP and validate the instance before making the switch. During this validation process, the old gateway continues to serve the live traffic.
175-
176-
177169
- **What should we consider for self-hosted gateways?**
178170

179171
You don't need to do anything in your self-hosted gateways. You just need to migrate API Management instances running in Azure that are impacted by the `stv1` platform retirement. Note that there could be a new IP for the Configuration endpoint of the API Management instance, and any networking restrictions pinned to the IP should be updated.
@@ -184,7 +176,7 @@ After successful migration to a new VIP address, update any network dependencies
184176

185177
- **Is there any impact on cost once we migrated to stv2?**
186178

187-
The billing model remains the same for `stv2` and there won't be any more cost incurred after the migration.
179+
The billing model remains the same for `stv2` and there won't be any more cost incurred during and after the migration.
188180

189181
- **What RBAC permissions are required for the stv1 to stv2 migration?**
190182

articles/api-management/migrate-stv1-to-stv2-vnet.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ API Management platform migration from `stv1` to `stv2` involves updating the un
3838
* For an instance in internal VNet mode, customer manages the DNS, so the DNS entries continue to point to old compute until updated by the customer.
3939
* It's the DNS that points to either the new or the old compute and hence no downtime to the APIs.
4040
* Changes are required to your firewall rules, if any, to allow the new compute subnet to reach the backends.
41-
* . After successful migration, the old compute is automatically decommissioned after approximately 15 minutes by default, with an option to delay it for up to 48 hours. *The 48 hour delay option is only available for VNet-injected services.* *The 48 hour delay option is only available for VNet-injected services.*
41+
* After successful migration, the old compute is automatically decommissioned after approximately 15 minutes by default, with an option to delay it for up to 48 hours. *The 48 hour delay option is only available for VNet-injected services.*
4242

4343
## Prerequisites
4444

@@ -48,11 +48,14 @@ API Management platform migration from `stv1` to `stv2` involves updating the un
4848

4949
* A Standard SKU [public IPv4 address](../virtual-network/ip-services/public-ip-addresses.md#sku) resource in the same region(s) and subscription as your API Management instance. For details, see [Prerequisites for network connections](api-management-using-with-vnet.md#prerequisites).
5050

51-
> [!IMPORTANT]
52-
> When you update the VNet configuration for migration to the `stv2` platform, you must provide a public IP address address resource (or resources, if your API Management is deployed to multiple Azure regions), or migration won't succeed. In internal VNet mode, this public IP address is used only for Azure internal management operations and doesn't expose your gateway to the internet.
51+
> [!IMPORTANT]
52+
> When you update the VNet configuration for migration to the `stv2` platform, you must provide a public IP address resource (or resources, if your API Management is deployed to multiple Azure regions), or migration won't succeed. In internal VNet mode, this public IP address is used only for Azure internal management operations and doesn't expose your gateway to the internet. Public backends may see the instance's public VIP as the caller IP.
5353
54-
* (Optional) Contact Azure support to request that the original service infrastructure is maintained in parallel for up to 48 hours after successful migration. This option extends the period when the old infrastructure is available after migration beyond the default of 15 minutes before it is purged. This option is available only for VNet-injected services to allow service owners to update network settings and test applications to use the new infrastructure.
54+
* (Optional) Contact Azure support to request that the original service infrastructure is maintained in parallel for up to 48 hours after successful migration. This option extends the period when the old infrastructure is available after migration beyond the default of 15 minutes before it is purged. This option is available only for VNet-injected services to allow service owners to update network settings and test applications to use the new infrastructure. This extension request applies to all API Management instances in a subscription.
5555

56+
> [!NOTE]
57+
> If you plan to migrate your VNet-injected API Management instance back to the original subnet after migration, we recommend that you don't request the 48-hour extension.
58+
5659

5760
## Trigger migration of a network-injected API Management instance
5861

@@ -65,7 +68,7 @@ You can also migrate to the `stv2` platform by enabling [zone redundancy](../rel
6568
6669
### Update network configuration
6770

68-
You can use the Azure portal or other Azure tools such to migrate to a new VNet and subnet. The following image shows a high level overview of what happens during migration to a new VNet and subnet.
71+
You can use the Azure portal or other Azure tools such to migrate to a new subnet in the same or a different VNet. The following image shows a high level overview of what happens during migration to a new subnet.
6972

7073
:::image type="content" source="media/migrate-stv1-to-stv2-vnet/inplace-new-subnet.gif" alt-text="Diagram of in-place migration to a new subnet.":::
7174

@@ -80,20 +83,23 @@ For example, to use the portal:
8083

8184
After you update the VNet configuration, the status of your API Management instance changes to **Updating**. The migration process takes approximately 45 minutes to complete. When the status changes to **Online**, migration is complete.
8285

83-
## (Optional) Migrate back to original VNet and subnet
86+
## (Optional) Migrate back to original subnet
8487

85-
You can optionally migrate back to the original VNet and subnet you used in each region before migration to the `stv2` platform. To do so, update the VNet configuration again, this time specifying the original VNet and subnet in each region. As in the preceding migration, expect a long-running operation, and expect the VIP address to change.
88+
You can optionally migrate back to the original subnet you used in each region before migration to the `stv2` platform. To do so, update the VNet configuration again, this time specifying the original VNet and subnet in each region. As in the preceding migration, expect a long-running operation, and expect the VIP address to change.
8689

87-
The following image shows a high level overview of what happens during migration back to the original VNet and subnet.
90+
The following image shows a high level overview of what happens during migration back to the original subnet.
8891

8992
:::image type="content" source="media/migrate-stv1-to-stv2-vnet/inplace-old-subnet.gif" alt-text="Diagram of in-place migration back to original subnet.":::
9093

9194
> [!IMPORTANT]
92-
> If the VNet and subnet are locked (because other `stv1` platform-based API Management instances are deployed there) or the resource group where the original VNet is deployed has a [resource lock](../azure-resource-manager/management/lock-resources.md), make sure to remove the lock before migrating back to the original VNet and subnet. Wait for lock removal to complete before attempting the migration to the original subnet. [Learn more](api-management-using-with-internal-vnet.md#challenges-encountered-in-reassigning-api-management-instance-to-previous-subnet).
95+
> If the VNet and subnet are locked (because other `stv1` platform-based API Management instances are deployed there) or the resource group where the original VNet is deployed has a [resource lock](../azure-resource-manager/management/lock-resources.md), make sure to remove the lock before migrating back to the original subnet. Wait for lock removal to complete before attempting the migration to the original subnet. [Learn more](api-management-using-with-internal-vnet.md#challenges-encountered-in-reassigning-api-management-instance-to-previous-subnet).
96+
97+
> [!NOTE]
98+
> If you plan to migrate back to the original subnet, we recommend that you don't request the 48-hour extension on your subscription for maintaining the old infrastructure; otherwise, your migration will be delayed. If you need to cancel an extension, contact Azure support.
9399
94100
### Additional prerequisites
95101

96-
* The original subnet and VNet, in each region where the API Management instance is deployed. A network security group must be attached to the subnet, and [NSG rules](api-management-using-with-vnet.md#configure-nsg-rules) for API Management must be configured.
102+
* The unlocked original subnet, in each region where the API Management instance is deployed. A network security group must be attached to the subnet, and [NSG rules](api-management-using-with-vnet.md#configure-nsg-rules) for API Management must be configured.
97103

98104
* A new Standard SKU [public IPv4 address](../virtual-network/ip-services/public-ip-addresses.md#sku) resource in the same region(s) and subscription as your API Management instance.
99105

@@ -200,7 +206,7 @@ After you update the VNet configuration, the status of your API Management insta
200206

201207
- **Do we need a public IP even if the API Management instance is VNet injected in internal mode only?**
202208

203-
API Management `stv1` uses an Azure managed public IP even in an internal mode for management traffic. However, `stv2` requires a user managed public IP for the same purpose. This public IP is only used for Azure internal management operations and doesn't expose your instance to the internet. More details [here](./api-management-howto-ip-addresses.md#ip-addresses-of-api-management-service-in-vnet).
209+
API Management `stv1` uses an Azure managed public IP even in an internal mode for management traffic. However, `stv2` requires a user-managed public IP for the same purpose. This public IP is only used for Azure internal management operations and doesn't expose your instance to the internet. Public(internet-facing) backends may see the instance's public IP as the origin of the request. More details [here](./api-management-howto-ip-addresses.md#ip-addresses-of-api-management-service-in-vnet).
204210

205211
- **Can I upgrade my stv1 instance to the same subnet?**
206212

@@ -230,7 +236,7 @@ After you update the VNet configuration, the status of your API Management insta
230236

231237
- **Is there any impact on cost once we migrated to stv2?**
232238

233-
The billing model remains the same for `stv2` and there won't be any more cost incurred after the migration.
239+
The billing model remains the same for `stv2` and there won't be any more cost incurred during and after the migration.
234240

235241
- **What RBAC permissions are required for the stv1 to stv2 migration?**
236242

0 commit comments

Comments
 (0)