VPC Quickstart

Validated on 28 April 2020 • Posted on 7 April 2020

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.

Create a VPC Network

To create a VPC network:

From the control panel, click Networking in the main menu, then click the VPC tab. In the VPC tab, click Create VPC Network. Choose a datacenter region. You cannot add resources to VPC networks that reside in different datacenter regions. Select how you want your network's IP range to be generated. We strongly recommend choosing Generate an IP range for me to avoid overlapping network ranges. Name the network and, optionally, add a description. You can change the name and description after creation. Click Create VPC Network.

Add a New Resource to a VPC

To add a new resource to a VPC network:

From the Create menu in the top right of the control panel, click the kind of resource you want to create, either Droplets, Clusters, Databases, or Load Balancers. On the create page, choose the specifications for your resource, including the VPC network. You must create the resource in the same datacenter region as the VPC network. Enter a name for the resource, then click Create.

The new resource is automatically added to the VPC network on creation.

Migrate an Existing Droplet to a VPC Network

To migrate an existing Droplet to a different VPC network, you need to create a snapshot of the Droplet and then recreate the Droplet in the network: