> For the complete documentation index, see [llms.txt](https://docs.layerstack.com/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerstack.com/product-docs/quickstart/rebuild-existing-cloud-servers-into-virtual-private-cloud-vpc.md).

# Rebuild existing Cloud Servers into Virtual Private Cloud (VPC)

1. Log in to [LayerPanel ](https://cp.layerpanel.com/). Go to the **Services** section and click **Cloud Servers**. Select the cloud server you want to configure as the **Gateway VM**.
2. Click **Rebuild** and select the **CentOS 8 VPC** template.
3. After this new instance is deployed, go to the **Services** section. Click **Private Networking** and purchase **Private Networking**. `NOTE: Ignore this step if you have already purchased Private Networking.`
4. Go to the **Cloud Server** Details section. Select **Enable Private Networking** and choose your desired private IP group.
5. After installing the template, log in to your server and follow the tutorial below to configure your Virtual Private Cloud manually.

   <br>
