View VPCs and subnets
This guide shows you how to view Virtual Private Clouds (VPCs) and subnets in your resource group using the evroc CLI or Kubernetes API.
VPCs and subnets are created automatically when you create a resource group. You cannot currently create, modify, or delete them manually.
For information about VPCs and subnets, see Virtual Private Clouds (VPCs) and Subnets.
Prerequisites
- Access to an evroc organization and resource group
- evroc CLI installed and configured, or kubectl configured to access the evroc Kubernetes API
View your VPC
Each resource group has one default VPC named default-sto-1.
Using the CLI
List VPCs in your resource group:
evroc networking virtualprivatecloud list
Sample output:
Name Ready Reason
---------------- ------- --------
default-sto-1 True Ready
Using the API
List VPCs across all resource groups you have access to:
kubectl get virtualprivatecloud -A
Sample output:
NAMESPACE NAME READY REASON
org-aaabbbcccddd default-sto-1 True Ready
View detailed VPC information:
kubectl get virtualprivatecloud -o yaml default-sto-1 -n org-aaabbbcccddd
Sample output:
apiVersion: networking.evroclabs.net/v1alpha1
kind: VirtualPrivateCloud
metadata:
name: default-sto-1
namespace: org-aaabbbcccddd
...
status:
conditions:
- lastTransitionTime: "2025-05-20T06:00:00Z"
message: ""
reason: Ready
status: "True"
type: Ready
View your subnet
Each VPC has one default subnet named default-sto-1-a with the IP address range 10.0.0.0/24.
Using the CLI
List subnets in your resource group:
evroc networking subnet list
Sample output:
Name VPC CIDR Block Ready Reason
------------------ --------------- ------------- ------- --------
default-sto-1-a default-sto-1 10.0.0.0/24 True Ready
View detailed subnet information in JSON format:
evroc networking subnet list --json
Sample output:
{
"result": {
"items": [
{
"name": "default-sto-1-a",
"status": {
"ready": true,
"reason": "Ready"
},
"spec": {
"cidr": "10.0.0.0/24",
"vpcRef": {
"name": "default-sto-1"
}
}
}
]
}
}
Using the API
List subnets in your resource group:
kubectl get subnet
Sample output:
NAME VPC HOME SUBNET READY REASON
default-sto-1-a default-sto-1 default-sto-1-a True Ready
View detailed subnet information:
kubectl get subnet -o yaml default-sto-1-a
Sample output:
apiVersion: networking.evroclabs.net/v1alpha1
kind: Subnet
metadata:
name: default-sto-1-a
...
spec:
cidr: 10.0.0.0/24
vpcRef:
name: default-sto-1
status:
conditions:
- lastTransitionTime: "2025-05-20T06:00:00Z"
message: ""
reason: Ready
status: "True"
type: Ready
Understanding VM IP addresses
When you create a VM, it is automatically assigned a private IP address from the subnet's address range (10.0.0.0/24). You can view a VM's private IP address using the VM list or show commands.
Using the CLI
evroc compute vm show myvm
Sample output:
Name Ready Reason VirtualMachineStatus IP Public IP
-------- ------- -------- ---------------------- ---------- -----------
myvm True Running 10.0.0.29
Using the API
kubectl get virtualmachine myvm -o yaml
Sample output:
...
status:
networking:
privateIPv4Address: 10.0.0.29
...
Next steps
- Learn about the Default Networking Setup to understand what gets created automatically
- Configure Public IPs to enable inbound internet access
- Configure Security Groups to control network traffic
- See the VPC API reference for complete field descriptions
- See the Subnet API reference for complete field descriptions