How to Migrate From Vultr VPC 2.0 Network to a Vultr VPC Network

A Vultr VPC Network provides an isolated private network environment for instances to communicate and share resources using IPv4 addressing. VPC 2.0 is deprecated and will be removed in a future release.
This guide explains how to migrate instances from a Vultr VPC 2.0 Network to a Vultr VPC Network. It covers creating a replacement VPC Network, detaching instances from VPC 2.0, attaching them to the new network, and removing the VPC 2.0 Network.
Create a New VPC Network
Log in to the Vultr Console.
Navigate to Network > VPC Networks.
Click Create VPC Network.
Enter a name in the VPC Network Name field.
Under VPC Connectivity, select the connectivity type:
- Instances with Public IP — for instances that have public IP addresses assigned.
- Private Instances behind NAT Gateway — for instances that require a NAT Gateway for outbound internet access.
Under Location, select the same region as your existing VPC 2.0 Network.
(Optional) Under Network Settings, enable Custom IP Range and enter the same IP range used by your VPC 2.0 subnet to preserve IP addressing.
Click Create VPC Network.
Migrate Instances to the New VPC Network
Detach from VPC 2.0
Navigate to the instance you want to migrate and open its Settings page.
Click the VPC 2.0 tab.
Locate the attached VPC 2.0 Network and click Detach VPC.
The instance reboots automatically to complete the detachment.
Attach to the New VPC Network
On the same instance Settings page, click the IPv4 tab.
Select the new VPC Network from the dropdown.
Click Attach VPC.
The instance reboots to apply the network change.
Repeat these steps for each instance attached to the VPC 2.0 Network.
Delete the VPC 2.0 Network
Navigate to Network > VPC 2.0.
Locate the network and click Delete Network.
Conclusion
You have migrated your instances from a Vultr VPC 2.0 Network to a Vultr VPC Network. The instances now communicate over the new network with the same private IP addressing. For more information on managing VPC Networks, refer to the Vultr VPC Network documentation.