How to Create a VPC

A Virtual Private Cloud (VPC) is a private network interface for collections of DigitalOcean resources. VPC networks provide a more secure connection between resources because the network is inaccessible from the public internet and other VPC networks. Traffic within a VPC network doesn't count against bandwidth usage.

To create a VPC network, click Networking in the main menu, then click the VPC tab. In the VPC tab, click Create VPC Network.

On the Create VPC Network page, select the datacenter region for the VPC. It is important to remember that any resources you intend to add to the VPC need to reside in the same datacenter region as the VPC. DigitalOcean does not currently support adding resources to VPCs that reside in different datacenter regions.

VPC tab. Create VPC Network

On the Create VPC Network page, select a datacenter region for the VPC network. Any resources you add to the VPC network need to be in the network's datacenter region.

Choose datacenter region

Under Configure Private IP Range, choose how you want your IP range to be generated. We strongly recommended Generate an IP range for me to save time calculating IP ranges and prevent your network ranges from overlapping.

Generate IP range

If you select Configure my own IP range, see Planning Your Network Size for more information about how to plan the size and range of your VPC network. The IP range of your VPC network can’t overlap with the ranges other networks in your account. The control panel prevents you from creating networks with overlapping ranges.

In the Choose a name and description section, name the VPC network and optionally add a description of it, then click Create VPC network.

Create VPC Network

Once the VPC network is created, you can create new resources in the network. VPC networks currently support Droplets, managed databases, load balancers, and Kubernetes clusters.

You can also migrate existing managed databases and Droplets to a VPC network, but currently cannot migrate Kubernetes clusters and load balancers.