Skip to content
docs
type to search↑↓ move↵ openesc close
v0.2.4github

Host on Koyeb

2 min readv0.2.4this page as markdown
let your agent do it
Deploy Hermitbox on Koyeb.
Paste it into your agent. It follows this page as Markdown: koyeb.md

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

  1. Create a persistent volume in the region where the service will run.
  2. Create one web service from the image the Koyeb service fields name. Attach the volume at /var/lib/hermitbox before the first start, and enter the port, route, health check, instance count, memory and variables from the same file.
  3. Deploy, then read the apiKey the image prints once in service → Logs on its first successful start.

Verify the service

shell
curl -fsS https://<service-address>/healthz

It 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.

Button format, volumes, pricing.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line