Kvindo™ Cloud Docs


Language

Subnet

A Subnet is a range of IP addresses carved out of a VPC. VMs and other resources are placed in a subnet and receive a private IP from its range.

Key concepts

Parent VPC — the VPC this subnet belongs to (spec.vpcId)

IPv4 CIDR — the subnet's IP range, e.g. 10.10.0.0/24. The VPC has no CIDR of its own — subnets carry the address ranges

Routing — outbound traffic follows the route table attached to the subnet's VPC (see Route Table Attachment)

Parameters
UI Name API / kc name Terraform name Optional Format Default Is read only Description
VPC spec.vpcId spec.vpc_id No ULID — references a VPC No The VPC this subnet belongs to
IPv4 CIDR spec.ipv4Cidr spec.ipv4_cidr No string — CIDR 10.10.0.0/24 No IP range of the subnet (the VPC itself has no CIDR)
Examples

A subnet in an existing VPC. The Terraform example creates the VPC too; the SDK/CLI examples reference an existing one by name.

Terraform

Python SDK

kc CLI


Related pages

Examples

More in this section

An unhandled error has occurred. Reload 🗙