Install & run locally¶
You can run cloudalone on your laptop against the stub backend: no virtualization, no Linux host, no root. It's the fastest way to see the API work and to develop against it. Booting real VMs needs a Linux box; that's covered in Deploying to a host.
Requirements¶
- Python ≥ 3.12
uv- (optional) the
hcloudCLI to drive it
Works on macOS or Linux with the stub backend.
Install¶
Run against the stub backend¶
The stub backend accepts every request and tracks state in SQLite, but does no real virtualization; perfect for exploring the API.
Loopback-only dev server
serve refuses to start with the default token unless you pass --dev, which forces a loopback bind. For anything reachable, set a real CLOUDALONE_TOKEN (see Configuration).
Talk to it¶
The repo ships a conformance script that round-trips the real hcloud client against the stub (create → poll → list → power → delete):
Next¶
- Your first server: drive the full create → reach → delete workflow.
- Deploying to a host: get real VMs with public IPv6.