Overview
The BYOC Deploy Wizard provisions a self-hosted Allternit runtime on your own VPS. It automates server creation, SSH bootstrap, mesh enrollment, runtime pairing, and registration in the platform gizzi instance registry. The wizard is hosted by the Allternit Cloud API and driven through a stateful HTTP API at/api/v1/cloud/wizard/deployments.
The wizard supports two credential modes:
- API mode: provide a provider API token and the wizard creates the server for you.
- Manual SSH mode: provide an existing SSH host and credentials; the wizard skips cloud provisioning and runs bootstrap directly.
Base URL
Authorization: Bearer <token> header.
Wizard steps
Endpoints
Start a wizard
API mode
Manual SSH mode
Response
Advance the wizard
Response
Bootstrap the box
When the wizard reaches theBootstrap step, call the dedicated bootstrap endpoint. It is long-running because it downloads and installs software over SSH.
Response on success
Retryable failures
If bootstrap fails for a recoverable reason (transient SSH or script failure), call the same endpoint again. The bootstrap script is idempotent. The response includes the attempt count:maxBootstrapAttempts is reached, or the failure is non-recoverable (auth or validation), retry returns HTTP 409:
Resume after a human checkpoint
Some steps require human action (for example, confirming a provider account). Useresume to record the action and advance.
Cancel or delete
Supported providers
Security model
- Provider API tokens and SSH private keys are stored encrypted at rest when
ALLTERNIT_CREDENTIALS_KEYis configured. - Tokens and keys are never echoed in API responses.
- Mesh preauth keys and runtime-pairing bootstrap tokens are minted before the SSH run and only ever written to the
0600env file on the box. - The platform writes the gizzi instance registry row directly; credentials are never handed to the VPS.