Introduction

Civo allows for true private networking if you want to isolate instances from each other. For example, you could set up three instances, keeping one as a Bastion host and load balancer, with instances acting as e.g. a database server and a separate application server, both with private IPs only.

Viewing Networks

You can list your currently-configured networks by calling civo network list. This will show the network ID, name label and its CIDR range.

Creating Networks

You can create a new private network using civo network create network_label:

$ civo network create cli-demo
Create a private network called cli-demo with ID 74b69006-ea59-46a0-96c4-63f5bfa290e1

Listing Networks

To list all the networks you can run civo network ls sh $ civo network ls +--------------------------------------+----------+--------+---------+ | ID | Label | Region | Default | +--------------------------------------+----------+--------+---------+ | 28244c7d-b1b9-48cf-9727-aebb3493aaac | Default | LON1 | true | | fa21edfa-c089-421c-8008-0c0c7784386a | test | LON1 | false | | 35ec87e7-fbd2-4ee8-849a-f88d7363e23f | cli-demo | LON1 | false | +--------------------------------------+----------+--------+---------+

Removing Networks

Removal of a network, provided you do not need it and your applications do not depend on routing through it, is simple - you call civo network remove network_ID:

$ civo network remove 74b69006-ea59-46a0-96c4-63f5bfa290e1
Removed the network cli-demo with ID 74b69006-ea59-46a0-96c4-63f5bfa290e1