2.4 KiB
2.4 KiB
VPS / Cloud Deployment Notes
Status: experimental / legacy path. The primary validation target is the
unified ISO live installer. VPS/cloud deployment remains supported as a design
goal, but the scripts under vps/ have not yet been brought fully in line with
the current post-install /setup flow.
Use this page as orientation, not as a release checklist.
Current Direction
The target VPS flow should match the ISO contract:
- install FreeBSD 15.x on the VPS,
- copy the Clawdie firstboot payload,
- boot into
clawdie-firstboot, - run
just install, - start the loopback-bound controlplane,
- rotate a one-time setup token,
- finish provider/model, Telegram, and operator account setup at
/setup.
Provider keys and Telegram credentials are not install-time requirements. They can be pre-baked only for controlled images, but the preferred path is post-install setup.
Existing Files
vps/
├── setup.txt.tpl # current preferred config template shape
├── firstboot-vps.sh # legacy/experimental headless firstboot entrypoint
├── clawdie.conf.tpl # deprecated compatibility template
└── clawdie-vps-migrate.sh
setup.txt.tpl now reflects the identity/substrate-first contract. The older
clawdie.conf.tpl path is deprecated.
Provider Notes
| Provider | Likely path | Status |
|---|---|---|
| Vultr | Custom ISO or mfsBSD rescue | experimental |
| Hetzner / OVH | Rescue shell then FreeBSD bootstrap | experimental |
| DigitalOcean | Recovery console / custom image | hard |
| Generic baremetal | Unified ISO live installer | primary |
Security Notes
- Prefer Tailscale for remote SSH access when possible.
- If no Tailscale auth key is available, SSH on port 22 remains public and must be secured by the operator.
- Do not expose
http://127.0.0.1:3100/setupdirectly to the public internet. Use console access or SSH tunneling:
ssh -L 3100:127.0.0.1:3100 clawdie@<host>
Cleanup Needed Before Release
- Reconcile
firstboot-vps.shwith the current ISO live firstboot contract. - Remove the deprecated
clawdie.conf.tplpath after migration is complete. - Add a real VPS validation run to
TESTING.mdonce the path is exercised.
Last updated: 12.maj.2026