Skip to content

VPCs

A Virtual Private Cloud (VPC) is an isolated private network for your project. Instances on the same VPC communicate over private addresses; nothing crosses into another tenant's network.

Create a VPC

Under Network → VPCs → Create VPC, give it a name and define one or more subnets with their CIDR ranges (for example 10.0.0.0/24). Instances attach to a subnet at create time and receive a private IP from that range.

bash
fm network vpc create --name my-vpc --region sweden --cidr 10.0.0.0/16

Subnets

A subnet is a CIDR block within the VPC. Plan ranges that don't overlap with networks you intend to connect to. Each instance NIC lives on exactly one subnet.

Reaching the internet

A VPC is private by default. To expose an instance, attach a floating IP and allow the traffic in its security group.

Delete a VPC

A VPC can only be deleted once no instances, load balancers, or other resources are still attached to its subnets.