Hello @Rudra the answer to your questions can be found in this Azure doc: Migrate an API Management instance hosted on the stv1 platform to stv2
Here are some points to bring some clarification to your questions:
- To answer your first question, yes migration with the existing subnet (Internal VNet) is possible. You can migrate your API Management instance from Stv1 to Stv2 while keeping the same internal VNet subnet. This option is available through both the Azure portal and Infrastructure as Code (IaC).
- To migrate from STV1 to STV2 in external mode, you need to create a new subnet in each VNet. Optionally, you can supply a public IP address resource.
- To migrate an API Management instance hosted on the
stv1
compute platform in an external VNet to thestv2
platform, follow these steps:- Create a new subnet in the VNet that meets the requirements for NSG configuration for
stv2
as described here.- Update firewall rules referring to the current IP address range of the API Management instance to use the IP address range of the new subnet.
- Navigate to the Platform migration blade in the Azure portal.
- Change the subnet configuration(s) to the new subnet(s) created in step 1.
- Verify that the migration is complete and successful by checking that the status in the Overview page reads Online and the platform version is either
stv2
orstv2.1
. Also, verify that the network status in the Network blade shows green for all required connectivity.
- Verify that the migration is complete and successful by checking that the status in the Overview page reads Online and the platform version is either
- Change the subnet configuration(s) to the new subnet(s) created in step 1.
- Navigate to the Platform migration blade in the Azure portal.
- Update firewall rules referring to the current IP address range of the API Management instance to use the IP address range of the new subnet.
- Create a new subnet in the VNet that meets the requirements for NSG configuration for
Lastly, we highly recommend for you to migrate your Stv1 API Management instances to Stv2 before August 31, 2024, as Stv1 support will be retired after that date.
Please let us know if you have further questions.
Kindly accept answer if it help
Thanks
Deepanshu