CLI

Environment Setup

See the Getting Started docs for how to download and log in to evroc's cloud.

Creating and managing resources

To create a virtual machine and associated components, follow the instructions here.

Default networking setup

Any resource group you deploy resources to will automatically have the following networking resources in it:

  • a virtual private cloud
  • a subnet
  • an external gateway
  • a default security group

You can view these default resources, but not edit them.

The virtual private cloud is called default-sto-1:

$ evroc networking virtualprivatecloud list
 Name            Ready   Reason
--------------- ------- --------
 default-sto-1   True    Ready

The default subnet is called default-sto-1-a:

$ evroc networking subnet list
 Name              VPC             CIDR Block    Ready   Reason
----------------- --------------- ------------- ------- --------
 default-sto-1-a   default-sto-1   10.0.0.0/24   True    Ready

The subnet’s status field provides detailed information about IP usage, including the following fields:

  • availableIPv4AddressCount
  • availableIPv4Ranges
  • usingIPv4AddressCount
  • usingIPv4Ranges

To view this additional information, run:

$ evroc networking subnet list --json
{
    "result": {
        "items": [
            {
                "availableIPv4AddressCount": 252,
                "availableIPv4Ranges": [
                    "10.0.0.2-10.0.0.102",
                    "10.0.0.104-10.0.0.254"
                ],
                "conditions": [
                    {
                        "lastTransitionTime": "2024-12-18T15:58:38Z",
                        "message": "",
                        "reason": "Ready",
                        "status": "True",
                        "type": "Ready"
                    }
                ],
                "ipv4CidrBlock": {
                    "block": "10.0.0.0/24"
                },
                "name": "default-sto-1-a",
                "resourceGroup": "org-aaabbbcccddd",
                "usingIPv4AddressCount": 1,
                "usingIPv4Ranges": [
                    "10.0.0.103"
                ],
                "vpcRef": {
                    "name": "default-sto-1"
                }
            }
        ]
    },
    "returnCode": "SUCCESS"
}

The default external gateway is called default-sto-1:

$ evroc networking externalgateway list
 Name            VPC             Home Subnet       Ready   Reason
--------------- ---------------- ----------------- ------- --------
 default-sto-1   default-sto-1   default-sto-1-a   True    Ready

The default security group is called default-sto-1. It allows egress to anywhere, and ingress from within the same virtual private cloud:

$ evroc networking securitygroup list
 Name            Ready   Reason
--------------- ------- --------
 default-sto-1   True