- Console
- API
- CLI
- Go
Go to Networking → VPCs and choose Create VPC. Under VPC
details, give it a Name and an IPv4 CIDR.The page is a workflow rather than a single create. Subnets asks how
many Public subnets and Private subnets to carve out of that CIDR
and lets you edit each generated Name and IPv4 CIDR. When IPv6 is
enabled, every planned subnet also has an IPv6 CIDR field: automatic
for public GUA, editable for private ULA.Internet access offers an Internet gateway, a NAT gateway, and
an Egress-only gateway when IPv6 and private subnets are selected.
The egress-only option requires GUA. It creates the gateway and a
::/0
route in the private subnets’ default route table, even when the plan has
no public subnets. With NAT and egress-only both selected, IPv4 uses NAT
and IPv6 uses native outbound-only routing. With NAT alone, both enabled
families use NAT.
Submitting hands you to a Provisioning progress page that walks the
plan one step at a time — Create VPC, Create public route table,
Create internet gateway, Configure
public internet route, then one step per subnet, and Create NAT
gateway with Configure private internet route if you asked for NAT.name is 1–63 characters, lowercase letters, digits and hyphens, and cannot
start or end with a hyphen. It is unique per account and it lands in the VPC’s
CRN.
Creating a VPC also creates its default <vpc-name>-private-rt route table.
Subnets use it unless you select another table.
The CIDR must be private
cidr_ipv4 has to sit inside 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.
The reason is not tidiness: addressing your instances out of routable space you
do not own would blackhole that space for your own workloads, and for anyone
else’s once the VPC routes anywhere. Public reachability comes from
a floating IP or a gateway, never from the instance’s
own IPv4 address.
name and cidr_ipv4 are immutable. PATCH /v1/vpcs/{vpc_id} takes
description and tags. Existing CIDRs cannot be resized.
IPv6 allocation
- Console
- API
- CLI
- Go
On Create VPC, under VPC details, set IPv6 to Automatic public
IPv6 (GUA) or Manual private IPv6 (ULA).GUA allocates a VPC
/60 and a distinct /64 for each planned subnet.
Each subnet’s IPv6 CIDR shows Automatically allocated /64; the
actual range is assigned during creation. A /60 holds sixteen /64s.For ULA, VPC IPv6 CIDR starts with a generated private /48, and each
subnet’s IPv6 CIDR starts with a distinct /64 from that range. Keep
the suggestions or edit them. Every subnet must have an aligned /64
inside the VPC range, and the ranges must not overlap.Changing the VPC IPv6 CIDR regenerates the subnet IPv6 ranges. Changing
subnet counts or choosing Regenerate resets both families’ subnet
ranges to their suggestions. The form validates them before provisioning.
ULA internet egress needs NAT; the egress-only option is disabled.You can also enable IPv6 later from the VPC detail page.allocate_cidr_ipv6 delegates a globally-routable /60 from the region’s pool
and returns it as the VPC’s cidr_ipv6. Subnets then carve /64s out of it.
The VPC wizard enables IPv6 on all its planned subnets.
Independently created subnets can remain IPv4-only, which is
useful when migrating workloads in stages or deliberately keeping a subnet
on one address family. A subnet’s interfaces always inherit every family
enabled on that subnet.
Alternatively, supply a private ULA prefix in cidr_ipv6: a canonical prefix
inside fd00::/8, from /48 through /60. Do not send it together with
allocate_cidr_ipv6. Choose a randomly generated ULA prefix to reduce collision
risk if networks are connected later.
An existing IPv4-only VPC accepts either option through
POST /v1/vpcs/{vpc_id}/ipv6. Once assigned, the IPv6 CIDR cannot be replaced or
removed. Existing subnets remain unchanged until IPv6 is enabled on them.
If the region has no public IPv6 pool, automatic public allocation fails.
ULA addressing does not become internet-routable by adding an internet route.
Use a NAT gateway for shared outbound access, or a public IPv6 floating IP
when a ULA-addressed NIC needs its own public identity.
A NIC with a native global address can use that address directly when routing
and security rules allow it; no floating IP is required.
Routed IPv4 pools
A VPC can reserve up to four IPv4 prefix pools insidecidr_ipv4. Pools must not overlap subnets or one another. Open a VPC and select Prefix pools in the console to create a pool, copy its CRN, or delete an unused pool. Each pool returns id, crn, and cidr_ipv4.
GET /v1/vpcs/{vpc_id}/prefix-pools returns {prefix_pools, meta}. POST accepts {cidr_ipv4} and returns {prefix_pool}. DELETE on /prefix-pools/{pool_id} refuses while any interface prefix uses the pool.
Interfaces allocate /28 prefixes with POST /v1/interfaces/{interface_id}/prefixes and a pool UUID or CRN string. POST returns {prefix}; GET returns {prefixes, meta}. Each prefix contains id, family, prefix, and a pool resource reference with id, crn, and the pool CIDR as its display name. An interface can hold up to 16 prefixes. Both collections are finite and return has_more: false.
Prefixes route to the interface; they are not individual guest addresses or DHCP leases. Configure workload routing in the guest for the delegated range.
Deleting a VPC
The delete refuses in two cases, each naming what is holding it:- Subnets remain. “VPC has subnets; delete them first.”
- An internet gateway is still attached. “VPC has an internet gateway attached; delete it first.”

