Subnets
A subnet is a range of private IP addresses within a Virtual Private Cloud (VPC). Subnets provide the IP addressing scheme for resources in your VPC, enabling VM-to-VM communication within the same network.
Default subnet configuration
Each VPC in evroc is automatically configured with a default subnet that uses the 10.0.0.0/24 IP address range. This provides 256 private IPv4 addresses, of which 252 are available for VMs (4 addresses are reserved for the network address, default gateway, broadcast address, and one additional system address).
When you create a VM, it is automatically assigned an available private IP address from this subnet range. Currently, you cannot specify a particular private IP address when creating a VM - addresses are assigned automatically by the system.
This private IP address enables the VM to:
- Communicate with other VMs in the same subnet
- Access other resources within the VPC (currently other VMs and the external gateway; future releases may add additional resource types)
- Connect to the internet through the external gateway (for outbound traffic)
Subnet properties
The default subnet has the following characteristics:
- IP range:
10.0.0.0/24(252 usable addresses for VMs) - Address type: Private IPv4
- Assignment: Automatic when creating VMs (cannot be manually specified)
- Persistence: IP addresses remain associated with VMs for their lifetime
Private vs public networking
Private IP addresses in the subnet are used for internal communication between VMs within the VPC. To enable inbound access from the public internet to a VM, you must attach a Public IP to that VM in addition to its private subnet address.
All VMs have a private IP from the subnet. Public IPs are optional and are only required for inbound internet connectivity.
Next steps
- Learn about Virtual Private Clouds (VPCs) - the isolated network environment
- Understand the Default Networking Setup - what gets created automatically
- Learn how to manage Public IPs for internet access to your VMs