create-network
Last updated
Create a Rumi private network and the per-role cloud firewalls that secure the fleet.
rumi cloud hetzner create-network \
--api-key <token> \
--network <network> \
[options]--api-key
-k
The Hetzner Cloud project API token (or set HCLOUD_TOKEN)
Required
--region
-r
The Hetzner location to create the network in
fsn1
--network
-n
The name to give the new network
Required
rumi cloud hetzner create-network \
--api-key $HCLOUD_TOKEN \
--network my-cloudCreates a private network 10.0.0.0/16 (subnet 10.0.0.0/24, network zone derived from the location — eu-central for fsn1).
Creates seven per-role cloud firewalls. The bastion firewall opens 22/80/443 to the world; every other role opens only its own ports to the network CIDR. All roles allow in-network ICMP.
Firewalls auto-apply by label selector (rumi-network=<name>,rumi-role=<role>), so a node launched with the right labels is firewalled without any explicit attach step.
Fails if a network of this name already exists; tear it down first with deprovision.
Last updated