For the complete documentation index, see llms.txt. This page is also available as Markdown.

VPCs

VPCs (Virtual Private Clouds) are isolated network environments for your cloud resources. Each VPC contains one or more subnets that define IP address ranges for instances.

Command: ace vpc Alias: ace network

Create a VPC

Create a new VPC, optionally with a subnet in the same call.

ace vpc create --name <name> [flags]

Flags

Flag
Required
Description

--name

Yes

VPC name

--description

No

VPC description

--subnet-name

No

Subnet name (creates subnet with the VPC)

--subnet-cidr

No

Subnet CIDR block (e.g. 10.0.0.0/24)

--gateway-ip

No

Subnet gateway IP address

--dns

No

DNS nameservers (repeatable)

If you provide --subnet-name, you must also provide --subnet-cidr, and vice versa.

Noteace vpc create requires at least one subnet definition (the backend rejects a VPC-only create). Pass --subnet-name + --subnet-cidr, or create the subnet separately afterwards with ace vpc subnet-create.

Examples

Create a VPC with a subnet:

Create a VPC with custom gateway and DNS:

Create a VPC without a subnet (add subnets later):

Sample Output


List VPCs

Alias: ace vpc ls

Sample Output

JSON Output


Get VPC Details

Sample Output


Update a VPC

Rename a VPC or change its description.

Flags

Flag
Description

--name

New VPC name

--description

New description

At least one of --name or --description must be provided.

Example

Sample Output


Delete VPCs

Delete one or more VPCs by ID.

Alias: ace vpc rm

A VPC cannot be deleted while it has active subnets, ports, or attached resources. Delete all resources in the VPC first.

Example


Subnet Management

Create a Subnet

Add a subnet to an existing VPC.

Flags

Flag
Required
Description

--vpc

Yes

VPC ID to add the subnet to

--name

Yes

Subnet name

--cidr

Yes

CIDR block (e.g. 10.0.1.0/24)

--gateway-ip

No

Gateway IP address

--dns

No

DNS nameservers (repeatable)

Examples

Sample Output

Delete Subnets

Delete one or more subnets by ID.

Example


Command Summary

Command
Description

ace vpc create

Create a VPC (with subnet)

ace vpc list

List all VPCs

ace vpc get <id>

Get VPC details

ace vpc update <id>

Rename / re-describe a VPC

ace vpc delete <id>

Delete VPC(s)

ace vpc subnet-create

Create a subnet in an existing VPC

ace vpc subnet-delete <id>

Delete subnet(s)

Last updated