Euca2ools Guide / Virtual Private Cloud (VPC)-Compatible Commands |
Creates a new VPC.
euca-create-vpc [--tenancy {default,dedicated}] [--show-empty-fields] [-U URL] [--region USER@REGION] [-I KEY_ID] [-S KEY] [--security-token TOKEN] [--debug] [--debugger] [--version] [-h] CIDR_block
Option | Description | Required |
---|---|---|
--tenancy default | dedicated | The type of instance tenancy to use. | No |
CIDR_block | The IP address range for the VPC to use, in CIDR notation. | Yes |
The following example creates a new VPC with the CIDR range 10.0.0.0/16
euca-create-vpc 10.0.0.0/16
This command will return output similar to the following:
VPC vpc-2a0af901 available 10.0.0.0/16 dopt-68a46350 default