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), and selfhost.py for 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. See infra/README.md and 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:

  1. 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
  1. Set production environment variables on deployed services:
    • HOT_ENV=production
    • HOT_PRODUCT_EXPERIENCE=self-host
    • HOT_APP_SESSION_SECRET (shared across all hot app replicas)
  2. Provision PostgreSQL with separate schema-owner and restricted runtime logins, then run hot db migrate with HOT_DB_MIGRATION_URI. See Self-Hosted PostgreSQL.
  3. Create the first administrator account with hot admin bootstrap. See Accounts and Sign-Up.

Self-Hosting Guides

GuideWhat it covers
Configuration Referencehot.hot settings, Redis/Valkey, multi-replica state, worker tuning, and secrets from files
Self-Hosted PostgreSQLSchema owner, restricted runtime login, row-level security, connection pooling, and migrations
StorageLocal disk, AWS S3, and Google Cloud Storage for builds, files, and spilled blobs
Accounts and Sign-Upself-host experience, hot admin bootstrap, invite/open signup, Google and GitHub OAuth
EmailSMTP delivery for invitations, verification, and alert emails
Outbound Network AccessPrivate-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 Domainsdomain.mode behavior (open source builds ship no domain provider)
Migrations and UpgradesVersion-by-version upgrade notes and self-hosted checklists