Host on Koyeb
Deploy Hermitbox on Koyeb.
Deploy Hermitbox on Koyeb as one web service with a persistent volume you create first. The Koyeb service fields list every value to enter.
Koyeb’s deploy button can’t attach a volume, so there is no Hermitbox button for Koyeb. Create the service in the Koyeb dashboard.
Create the service
- Create a persistent volume in the region where the service will run.
- Create one web service from the image the
Koyeb service fields name. Attach the volume at
/var/lib/hermitboxbefore the first start, and enter the port, route, health check, instance count, memory and variables from the same file. - Deploy, then read the
apiKeythe image prints once in service → Logs on its first successful start.
Verify the service
curl -fsS https://<service-address>/healthzIt answers with "status":"ok". Point the CLI at the service with its key and run
hermitbox run -- echo hello, as Connect after deployment
shows.
Koyeb notes
The deploy-button format supports an image, variables and ports, but not a volume attachment. Each way around that falls short:
- A bare button loses state on replacement.
- An external database still loses local identity and sandbox data.
- A volume you create first works, but needs the account steps above.
The button format has no documented generated-secret expression, so the fields leave out
HERMITBOX_BOOTSTRAP_API_KEY and the key appears only in the log. KOYEB_PUBLIC_DOMAIN gives the
HTTPS origin.
Keep one instance with its /var/lib/hermitbox volume, port 8080, a writable root filesystem,
the image’s default user and privileged mode off. Admission must establish actual Landlock and
seccomp support; no namespace, cgroup or KVM guarantee is inferred from Koyeb’s isolation
technology. See Tiers and guarantees.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me