VPC Reference

Validated on 7 Apr 2020 • Last edited on 17 Jun 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.

The DigitalOcean API lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.

doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.

DigitalOcean VPC API Reference

Use the DigitalOcean API to create, configure, list, and delete VPCs.

doctl vpcs

The commands under doctl vpcs are for managing your VPC networks.

With the VPC commands, you can list, create, or delete VPCs, and manage their configuration details.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.