> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/bare-metal/get-started/upgrade-to-vpc.md).

# Upgrade to VPC

## Prerequisites

* You create subnets in zones, and VPCs in availability regions. An availability region consists of several zones, for example, the availability region `LAX-C_D_E` consists of `LAX-C`, `LAX-D` and `LAX-E`.
* VPC quota in each availability region:\
  \- 1 default VPC with the IP range of `10.0.0.0/16`\
  \- 2 custom VPCs
* Subnet quota in each zone:\
  \- 1 default subnet with a subset of its VPC IP range, that is `10.0.X.0/24`\
  \- 5 custom subnets
* You can change the IP range of the subnet:\
  \- The subnet is a custom subnet;\
  \- No instances under the custom subnet;\
  \- The custom subnet is available.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

* <mark style="color:blue;">The network mask cannot be modified.</mark>
* <mark style="color:blue;">The zone of the subnet migrated to a VPC should be a subset of the VPC availability region.</mark>
* <mark style="color:blue;">The IP range of the subnet migrated to a VPC should be a subset of the VPC IP range.</mark>
* <mark style="color:blue;">IP ranges of subnets under the same VPC cannot be overlapped.</mark>
* <mark style="color:blue;">Once you delete the VPC, subnets without instances under this VPC, and associated IP addresses will also be deleted.</mark>
* <mark style="color:blue;">Once a subnet is migrated into a VPC, you cannot migrate it into another VPC. Please plan you private networking in advance.</mark>
  {% endhint %}

## Procedures

1. Go to **Virtual Private Cloud** > **Subnet**, find the isolated subnet you want to upgrade.
2. Click **Upgrade to VPC**.

   <figure><img src="/files/RVOTPctpMvuR1u8ohQOc" alt=""><figcaption><p>Upgrade to VPC</p></figcaption></figure>

   * If an appropriate VPC exists, you can select it directly;
   * If no appropriate VPC exists, you can click **New VPC**. See [Create a VPC](/welcome/bare-metal/get-started/create-a-virtual-private-cloud.md) for more details.
