Nebula

nebula destroy

Delete the deployed mesh

generated from the sources

To delete the deployed mesh, run:

nebula destroy [--target hetzner|cloud] [--all]

On Nebula Cloud: delete the deployment named in nebula.json with every machine, its database and every saved entity. The command asks you to type the deployment's name unless you pass --yes, then follows the destroy operation. The organization, project and releases stay.

On Hetzner: delete every server labelled with the mesh (orchestrator and workers). A SQLite database on the orchestrator VM goes with it, and with it every saved entity; a PostgreSQL database is left untouched.

Options

OptionDescription
--target <name>Deploy target: hetzner or cloud (default from nebula.json deploy.target).
--allHetzner: also delete the firewalls, private network, and SSH key.
--org <slug>Cloud: organization slug (default from nebula.json).
--cloud-project <slug>Cloud: project slug inside the organization (default from nebula.json).
--deployment <name>Cloud: deployment name inside the project (default from nebula.json).

Global options

These work with every command and may appear before or after it.

OptionDescription
--project <path>Run against another Nebula project instead of the current folder.
-v, --verbosePrint stack traces and the commands the CLI runs.
-y, --yesAnswer every confirmation with yes.

Examples

nebula destroy
nebula destroy --yes
nebula destroy --target hetzner --all

On this page