Creates a new Virtual Private Cloud (VPC) for establishing isolated network environments for your Vultr resources.
The vultr-cli vpc create command creates a new Virtual Private Cloud (VPC) on Vultr's infrastructure, enabling isolated network environments for your cloud resources.
$ vultr-cli vpc create [flags]
# Full example
$ vultr-cli vpc create --region="ewr" --description="Example VPC" --subnet="10.200.0.0" --size=24
--region is required. Everything else is optional
# Shortened example with aliases
$ vultr-cli vpc c -r="ewr" -d="Example VPC" -s="10.200.0.0" -z=24
| Shorthand | Long Version | Description |
|---|---|---|
| -d | --description | The description of the VPC |
| -r | --region | The ID of the region in which to create the VPC |
| -z | --size | The number of bits for the netmask in CIDR notation. |
| -s | --subnet | The IPv4 VPC in CIDR notation. |