deprovision
Last updated
Tear down a deployment: delete every server, then every firewall, then the network.
rumi cloud hetzner deprovision \
--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 the network is in
fsn1
--network
-n
Name of the network to tear down
Required
rumi cloud hetzner deprovision \
--api-key $HCLOUD_TOKEN \
--network my-cloudThis permanently deletes all servers in the network (platform nodes and service workers) along with their data, every per-role and per-service firewall, and the network itself.
Everything is matched by the rumi-network=<name> label (plus the network by name), so per-service firewalls created by launch-instance are swept too.
Servers are deleted first, then the command waits for them to be fully gone before deleting firewalls (a label-applied firewall cannot be deleted while still attached to a server), then the network.
Best-effort: individual failures are logged and the teardown continues.
Last updated