Self-Hosting
You can run the full Hot platform on your own infrastructure: the API (hot api), dashboard (hot app), event worker (hot worker), task worker (hot task-worker), and scheduler (hot scheduler), backed by PostgreSQL (or SQLite for single-node setups) and Redis/Valkey for multi-replica deployments.
Deployment Paths
AWS and Google Cloud OpenTofu Stacks (Preview)
The hot repository includes OpenTofu stacks under infra/ for deploying Hot on AWS and Google Cloud. They support both single-machine and scalable presets with:
- Client-side encrypted OpenTofu state and isolated deploy identities (
infra/opentofu/bootstrap/) - Private VPC networking (new or existing) with no public VM addresses or SSH ingress
- Managed or existing PostgreSQL and Valkey, plus local, S3, or GCS storage for builds and files
- Signed release manifests, a host deploy agent (
hot_agent.py), andselfhost.pyfor operations - Ubuntu 24.04 Packer host images with Kata Containers on QEMU for isolated Hot Box execution
Development preview: The AWS and Google Cloud OpenTofu stacks are currently an unqualified development foundation (
acknowledge_unqualified = true) validated with mock providers and stubbed cloud CLIs while real-account qualification is underway. Do not use them for production deployments yet. Seeinfra/README.mdand its Real-account qualification checklist for current status and usage.
Manual Service Deployment
To run Hot services directly on your own VMs, containers, or orchestrator:
- Generate service configuration templates with
hot conf generate:
hot conf generate api # API server
hot conf generate app # App dashboard
hot conf generate worker # Event worker
hot conf generate task-worker # Task and Hot Box worker
hot conf generate scheduler # Scheduler
- Set production environment variables on deployed services:
HOT_ENV=productionHOT_PRODUCT_EXPERIENCE=self-hostHOT_APP_SESSION_SECRET(shared across allhot appreplicas)
- Provision PostgreSQL with separate schema-owner and restricted runtime logins, then run
hot db migratewithHOT_DB_MIGRATION_URI. See Self-Hosted PostgreSQL. - Create the first administrator account with
hot admin bootstrap. See Accounts and Sign-Up.
Self-Hosting Guides
| Guide | What it covers |
|---|---|
| Configuration Reference | hot.hot settings, Redis/Valkey, multi-replica state, worker tuning, and secrets from files |
| Self-Hosted PostgreSQL | Schema owner, restricted runtime login, row-level security, connection pooling, and migrations |
| Storage | Local disk, AWS S3, and Google Cloud Storage for builds, files, and spilled blobs |
| Accounts and Sign-Up | self-host experience, hot admin bootstrap, invite/open signup, Google and GitHub OAuth |
| SMTP delivery for invitations, verification, and alert emails | |
| Outbound Network Access | Private-address blocking, allowlists/denylists, egress proxies, and private container registries |
| Containers (Hot Box) | Docker vs. Kata/containerd task workers, image registries, and resource budgets |
| Custom Domains | domain.mode behavior (open source builds ship no domain provider) |
| Migrations and Upgrades | Version-by-version upgrade notes and self-hosted checklists |