terminate-instance
Terminate (delete) a service (worker) instance in a network. Terminating a service also removes its per-service app-port firewall. If Hetzner still reports that firewall in use after 3 minutes, it is left in place with a warning; deprovision and delete-network remove it later. A service launched again under the same name reuses it, with the ports it was created with.
Syntax
rumi cloud hetzner terminate-instance \
--api-key <token> \
--network <network> \
--service <service> \
[options]Options
Option
Short
Description
Default
--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
The name of the network
Required
--service
-s
The service instance name
Required
Example
rumi cloud hetzner terminate-instance --api-key $HCLOUD_TOKEN --network my-cloud --service myappSee Also
Last updated

