Bootstrap
expanso-edge bootstrap
Bootstrap your edge node to Expanso Cloud
Synopsis
Bootstrap your edge node to the Expanso control plane.
What Is Bootstrapping?
Bootstrapping is the one-time setup process where your edge node:
- Contacts the Expanso bootstrap service using your bootstrap token
- Authenticates and proves authorization to join the control plane
- Receives unique node credentials and control plane connection details
- Stores credentials locally in your data directory for future connections
This is a one-time setup. Once bootstrapped, your edge node will automatically connect to the control plane when you run 'expanso-edge run'.
Where To Get Your Token:
- Log into https://cloud.expanso.io
- Navigate to Nodes → Add Node
- Copy your bootstrap token (valid for limited time or single use)
What Happens After Bootstrap:
- Node credentials are stored in your data directory
- Run 'expanso-edge run' to start the agent
- Node automatically connects and registers with the control plane
- View your node: expanso-cli node list
- Node is ready to receive job assignments
Security Notes:
• Bootstrap tokens are typically single-use or time-limited • Node credentials are stored securely in your data directory • Use --force to re-bootstrap (invalidates old credentials) • Keep your data directory secure (contains node identity)
Examples:
Bootstrap with token
expanso-edge bootstrap --token "abc123"
Bootstrap with custom URL (self-hosted control plane)
expanso-edge bootstrap --token "abc123" --url "https://bootstrap.mycompany.com"
Force re-bootstrap (get new credentials)
expanso-edge bootstrap --token "abc123" --force
expanso-edge bootstrap [flags]
Options
-c, --config strings Paths to configuration files or directories
--data-dir string Data directory path
-f, --force Force re-bootstrap even if already bootstrapped
-h, --help help for bootstrap
-t, --token string Bootstrap token from Expanso Cloud
-u, --url string Bootstrap service URL (advanced)
Options inherited from parent commands
-v, --verbose Enable verbose logging
SEE ALSO
- expanso-edge - Expanso Edge - Autonomous edge computing agent