post https://api.linode.com//vpcs
Create a new VPC and optionally associated VPC Subnets.
- Users must have the
add_vpc
grant to access this operation. - A successful request triggers a
vpc_create
event andsubnet_create
events for any created VPC Subnets.
Once a VPC is created, it can be attached to a Linode by assigning a VPC Subnet to one of the Linode's Configuration Profile Interfaces. This step can be accomplished with the following operations:
- Create a Linode
- Create a config profile
- Update a config profile
- Add a configuration profile interface
linode-cli vpcs create \
--description "A description of my VPC." \
--label cool-vpc \
--region us-east \
--subnets.label cool-vpc-subnet \
--subnets.ipv4 10.0.1.0/24
<https://www.linode.com/docs/products/tools/cli/get-started/>
vpc:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>