ezgh compute vpcs create <name> --ipv4-cidr <cidr> [--description d] [--tag k=v…] [flags]Create a VPC: a private network in the project’s region. --ipv4-cidr is its IPv4 range, /8 to /28, inside 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 or 198.18.0.0/15, and not inside 100.112.0.0/12, which is reserved; it can’t be changed later. Its IPv6 range, a /56 of unique local addresses, is generated. Its MTU is 8900, for every interface in it, and isn’t chosen. It gets its own default firewall, which private interfaces in it have unless they name others.
Part of ezgh compute vpcs.
Examples
ezgh compute vpcs create main --ipv4-cidr 10.0.0.0/16Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--description |
string | what it’s for | |
--ipv4-cidr |
string | the VPC’s IPv4 range, such as 10.0.0.0/16 (required) | |
--tag |
string, repeatable | a tag, key=value (repeat) |
This command also takes the global flags.