VPC How-Tos

Generated on 30 May 2025

A Virtual Private Cloud (VPC) is a private network interface for collections of DigitalOcean resources. VPC networks are inaccessible from the public internet and other VPC networks, and traffic on them doesn’t count against bandwidth usage. You can link VPC networks to each other using VPC peering connections.

Getting Started

How to Create a VPC

Create a VPC and add resources like Droplets, load balancers, managed databases, and Kubernetes clusters to it.

How to Add New Resources to a VPC Network

Automatically add new resources to a VPC network when you create them.

How to Enable VPC Networking on Existing Droplets

Manually enable VPC networking on an existing Droplet.

VPC Network Management

How to Destroy a VPC

Permanently delete VPC networks from your account.

How to Migrate Resources Into and Between VPC Networks

Migrate existing Droplets and managed databases into and between VPC networks.

How to Set a Default VPC

Set a default VPC for a datacenter region.

How to Configure a Droplet as a VPC Gateway

Configure a gateway Droplet to allow access to other internet-inaccessible Droplets over a VPC network.

VPC Peering Management

How to Create a VPC Peering

Create a VPC peering to connect two VPCs.

How to Destroy a VPC Peering

Permanently destroy a VPC peering connection.

How to Update Routes to Enable VPC Peering

Update routing tables to enable VPC peering.

Partner Network Connect

How to Create a Partner Attachment

Create a partner attachment to connect VPCs to other clouds or on-premesis networks.

How to Destroy a Partner Attachment

Permanently destroy a partner attachment by deleting it via the control panel or API. This action irreversibly removes the connection.

How to Edit a Partner Attachment's VPC Networks

Use a partner attachment’s Overview page to add and remove VPC networks

How to Troubleshoot a Partner Attachment

Troubleshoot issues with a partner attachment.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.