Nebula

nebula deploy

Build, publish the control plane and run the mesh on the configured deploy target

generated from the sources

Build, publish the control plane and run the mesh on the configured deploy target.

nebula deploy [--target hetzner] [--workers N] [--npcs N] [--open-ui]
Steps: build the Linux dedicated server (Builds/nebula-linux.tar.gz), publish the control-plane module to the
configured SpacetimeDB server, create the cloud resources that are missing (ssh key, private network,
firewalls, orchestrator VM), upload the build and (re)start the orchestrator service, which creates one VM per
worker. Re-run after every code change; a redeploy restarts the orchestrator, which recreates its workers.

Both a deploy target (`nebula config hetzner`) and Spacetime (`nebula config spacetime`) must be configured.

Options

OptionDescription
--target <name>deploy target (default from nebula.json: hetzner)
--workers <N>worker VMs the orchestrator keeps running (default from nebula.json, 4)
--npcs <N>worker-simulated NPCs at start (default from nebula.json)
--open-uiopen the mesh dashboard once it answers
--skip-builduse the existing Builds/nebula-linux.tar.gz
--skip-publishdo not publish the control-plane module
--skip-uploadonly rewrite the service and restart (no build, no upload)
--reset-control-planepublish the module with --delete-data (wipes the control-plane tables)

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 deploy
nebula deploy --workers 4 --npcs 128 --open-ui
nebula deploy --skip-build

On this page