VPC Reference Documentation

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.

The DigitalOcean API

The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.

You can use the API to create, delete, and manage VPC networks.

The DigitalOcean Command Line Client, doctl

doctl is a command-line interface for the DigitalOcean API and supports many of the same actions.

doctl supports managing VPC networks from the command line. See the doctl documentation or use doctl vpcs --help for more information.