Self-Hosted Requirements
Self-Hosted Requirements¶
Huitzo Self-Hosted runs inside your client's environment on one Linux host that you size and operate. This page lists what that host needs before install day, for the first customer release; it supersedes earlier copies of the partner infrastructure requirements document.
The stack runs as one Docker Compose project:
| Component | What it does |
|---|---|
| Dashboard | Web interface; forwards API calls to the backend |
| Backend | API, sign-in, license verification |
| Worker (2 copies) | Runs Intelligence Pack commands |
| Beat | Schedules periodic jobs for the workers |
| PostgreSQL 17 | System of record: users, runs, audit records |
| Redis 8 | Task queue and cache |
| Caddy (optional) | The HTTPS proxy of the release's https profile |
A one-time migrate step updates the database schema on each install and
upgrade.
Launch support matrix¶
At launch Huitzo supports one install path: the Huitzo release package
(Docker Compose plus install.sh, published as release assets) on a single
x86_64 Linux host with internet access, served over HTTPS. Anything outside
this table is not supported at launch.
| Topic | Supported at launch | Not supported at launch |
|---|---|---|
| Install path | Connected install from the release assets | Kubernetes or Helm, Podman, Docker Swarm |
| Connectivity | Connected: the host pulls images from Huitzo's registry | Air-gapped (fully offline) install |
| CPU architecture | x86_64 (amd64) only | Arm (AWS Graviton, Google Axion, Azure Cobalt, Ampere, Apple Silicon) |
| Container runtime | Docker Engine 28.0 or later (29.x recommended) | Docker Desktop on macOS or Windows |
| Compose | Docker Compose v2.28 or later | Compose v1 |
| Operating system | Ubuntu 24.04 LTS (recommended); Ubuntu 22.04 LTS, RHEL 9, Rocky Linux 9, Debian 12 | macOS, Windows |
| Web access | HTTPS through your reverse proxy, or the optional proxy profile in the release | Plain HTTP on a remote host (sign-in sessions do not persist) |
| Database and cache | The PostgreSQL 17 and Redis containers of the release, on the same host | Managed database services, unless agreed with Huitzo before install |
| Hosts per deployment | One | Multi-host or high-availability clusters |
Each deployment runs on its own signed license, bound to the deployment ID the deployment generates at first start. Plan production, staging and training as separate deployments, each on its own host.
Host sizing¶
Size production hosts at 8 vCPU and 16 GB of memory; use the minimum only for demos and proofs of concept.
| Resource | Recommended (production) | Minimum (demo, POC) |
|---|---|---|
| CPU | 8 vCPU, x86_64 | 4 vCPU, x86_64 |
| Memory | 16 GB | 8 GB |
| Disk | 200 GB NVMe SSD | 50 GB SSD |
| Network | 1 Gbps | 100 Mbps |
The recommended size is planning guidance for up to 50 concurrent users. Above 50 concurrent users, contact Huitzo before you quote. Local AI models are sized separately (AI models).
Container limits¶
The release caps every container. The core services (PostgreSQL, backend, two workers, Redis, dashboard) add up to 9.25 GB of memory and 7.5 vCPU; beat, the backup service and the optional Caddy proxy bring the whole stack to 10.75 GB and 9.25 vCPU:
| Service | Memory limit | CPU limit |
|---|---|---|
postgres |
4 GB | 2.0 |
backend |
2 GB | 2.0 |
worker (2 replicas) |
1 GB each | 1.0 each |
redis |
1 GB | 1.0 |
dashboard |
0.25 GB | 0.5 |
| Core services | 9.25 GB | 7.5 |
beat |
0.25 GB | 0.25 |
backup |
1 GB | 1.0 |
caddy (https profile only) |
0.25 GB | 0.5 |
| Whole stack, with Caddy | 10.75 GB | 9.25 |
Limits are ceilings, not reservations:
- The production size (16 GB) sits above the sum of every memory limit and leaves room for the operating system and peaks. CPU limits rarely peak together, so 8 vCPU carries the stack.
- The demo/POC floor (8 GB) sits almost 3 GB below the sum: a demo load
stays under the ceilings, but a busy deployment on 8 GB runs out of memory.
Use it for light use only, and set
HUITZO_WORKER_CONCURRENCY=1in.envif a worker restarts under memory pressure. - Because the limits are fixed, a host larger than the recommended size adds headroom, not capacity.
Operating system and runtime¶
| Item | Requirement |
|---|---|
| Operating system | Ubuntu 24.04 LTS (recommended, and the release tested end to end), Ubuntu 22.04 LTS (standard support ends in 2027), RHEL 9, Rocky Linux 9, Debian 12. install.sh warns on anything other than Ubuntu 24.04. |
| Linux kernel | 5.14 or later |
| CPU architecture | x86_64 (amd64) only. The images are built for x86_64; Arm hosts cannot run them. |
| Container runtime | Docker Engine 28.0 or later (29.x recommended) |
| Compose | Docker Compose v2.28 or later |
| Installer tools | bash, python3, curl, openssl, jq and cosign v2.6.5. cosign is required: install.sh verifies the signature of every image and stops without it. Install the v2.6.5 package and hold it (sudo apt-mark hold cosign), so apt upgrade cannot replace it with a cosign 3.x build (commands). |
| Access | A non-root admin account with sudo and membership in the docker group |
Network, DNS and TLS¶
Users reach each deployment on one HTTPS hostname. The host needs outbound HTTPS to a short list of services and no other inbound access.
DNS and certificates¶
- One hostname per deployment, for example
huitzo.client-domain.com, pointing at the host or its load balancer. - A TLS certificate for that hostname. Internal-only hostnames need a certificate from the client's certificate authority. Let's Encrypt, through the release's optional proxy, needs a public DNS name and port 80 reachable from the internet.
- Keep the same private key when the certificate renews: Huitzo CLI runners pin it (Rotating the key).
Inbound ports¶
| Port | Purpose | Open to |
|---|---|---|
| 443 | HTTPS for users and the CLI | Client users |
| 80 | Redirect to HTTPS; Let's Encrypt validation | Client users; the internet if you use Let's Encrypt |
| 22 | Administration over SSH | Admin addresses only, or use your cloud's session manager |
- The dashboard listens on host port 3000 for your reverse proxy. Docker
publishes it past host firewalls such as ufw and firewalld. With the proxy on
the same host, keep
HUITZO_DASHBOARD_PORT=127.0.0.1:3000(the default); otherwise block 3000 in the network or security group. - The backend, PostgreSQL and Redis are never published outside the host.
- Keep the host unreachable from outside until the first admin account exists.
install.shcreates it before anything listens beyond the host (First admin).
Outbound HTTPS (port 443)¶
| Destination | Why | Needed |
|---|---|---|
get.huitzo.com |
Release files (/self-hosted/<version>/<file>) |
Install and upgrades |
ghcr.io, pkg-containers.githubusercontent.com |
Huitzo images, ghcr.io/huitzo-ai/* (private; credentials from Huitzo) |
Install and upgrades |
Docker Hub: registry-1.docker.io, auth.docker.io, production.cloudflare.docker.com |
PostgreSQL, Redis and Caddy images | Install and upgrades |
tuf-repo-cdn.sigstore.dev, rekor.sigstore.dev, fulcio.sigstore.dev |
Signature checks by cosign | Install and upgrades |
download.docker.com, github.com, release-assets.githubusercontent.com |
Docker Engine and cosign packages | Host preparation |
acme-v02.api.letsencrypt.org |
Certificates, when the https profile uses Let's Encrypt |
Install and renewals |
pypi.org, files.pythonhosted.org |
Dependencies of Intelligence Packs | When installing Packs |
api.openai.com or api.anthropic.com |
AI model calls | When Packs use a hosted model |
Licensing needs no outbound access: the license file is verified on the host and the platform never contacts a Huitzo license server. The first release sends no email; administrators reset user passwords. If the client routes outbound traffic through a corporate proxy, tell Huitzo before install day.
Storage, data and backups¶
A complete backup is the six data volumes, plus caddy-data with the https
profile, and the .env and license/license.json files in the install
directory (/opt/huitzo). Without .env, encrypted data
such as stored API keys cannot be recovered. The release's backup.sh takes all
of it in one run (Backups).
| Volume or file | Holds | Back up |
|---|---|---|
postgres-data |
Users, runs, audit records, settings | Daily, with a database dump or an atomic snapshot, and before every upgrade |
huitzo-files |
Files users upload | Daily |
huitzo-packs |
Installed Intelligence Packs | Daily |
huitzo-dashboards |
Installed dashboards | Daily |
huitzo-license-data |
The deployment ID and the deployment's own signing key | With every backup |
redis-data |
Queued work | Optional; queued jobs are lost without it |
caddy-data |
The TLS key the CLI runners pin (https profile only) |
With every backup |
.env, license/license.json |
Secrets and the license file | On every change, in an encrypted store |
Disk planning¶
- Database growth: about 1 to 10 MB per user per month, plus 100 to 500 KB per command run. Run logs are kept 90 days.
- Uploads: plan up to 2 GB per active user unless the client sets a lower limit.
- Packs: 100 MB to 1 GB each.
Backups and restores¶
- Encrypt disks and backups. Cloud disk snapshots work if they capture every volume at the same moment.
- Each deployment's license is tied to its deployment ID, which lives in the
database and on the
huitzo-license-datavolume. Restoring both keeps the license valid; rebuilding from an empty database creates a new deployment ID and needs a new license (Deployment ID on restore). - Test a restore on a separate host before go-live.
AI models¶
Packs call OpenAI, Anthropic or Azure Foundry with the client's own API key, so most deployments need no GPU.
- Hosted models. Supported providers: OpenAI, Anthropic and Microsoft Azure
Foundry (Claude and OpenAI-format deployments, authenticated with the Foundry
resource key). Amazon Bedrock and Google Vertex AI are not supported yet. Calls
go directly from the host to the provider over HTTPS; Huitzo does not see them.
For Azure Foundry, the host needs outbound HTTPS to
{resource}.services.ai.azure.com; the resource name, key and deployment names are entered in the admin console (provider config). - Local models, by arrangement. For clients that require that no prompt leaves their network, Huitzo can enable a local Ollama server per deployment. Run it on a GPU host with a fixed private IP address on the same network. Agree the model list with Huitzo before you quote GPU hardware:
| Model size | Recommended GPU memory |
|---|---|
| 7 to 8B parameters | 16 GB |
| 70B parameters | 80 GB |
| CPU only, no GPU | Testing only; needs 64 GB of system memory |
Licensing and access¶
Each deployment runs on a signed license file that Huitzo issues to the client for that one deployment; without a valid license the platform stops serving. A partner administrator requests it in the partner portal once the deployment shows its deployment ID (Request a license).
- One license per deployment: production, staging and training each need their own.
- After expiry, a paid, pilot or NFR license keeps working for 14 days and a demo license for 7. Then the platform stops serving until a renewed file is placed. Request renewals at least 30 days before expiry (Renew).
- White-label branding must be included in the license; ask for it in the request (White-label branding).
Registry access¶
Each partner firm has one registry machine account: a dedicated GitHub user
that Huitzo adds to the huitzo-ai organization with read access to the
private ghcr.io/huitzo-ai images, and nothing else. The first install of a
deployment needs a read-only token before the deployment has an ID, and the
partner portal issues tokens only for a licensed deployment, so today your
firm creates a classic read:packages token on that account for each client
deployment and writes it to pull-credentials.json
(Quick start: pull credentials). Ask your
Huitzo partner contact to set up the machine account well before install day.
Keep the token in your firm's secret manager and use it only for that
deployment. install.sh logs in for one run only, in a temporary Docker
configuration that it deletes when it exits.
Cloud reference shapes¶
On AWS, Google Cloud or Azure, these x86_64 instance types match the sizes above; newer generations with the same vCPU and memory work too.
| Size | AWS | Google Cloud | Azure |
|---|---|---|---|
| Recommended: 8 vCPU, 16 GB | c7i.2xlarge | c3-highcpu-8 | Standard_F8s_v2 |
| Minimum: 4 vCPU, 8 GB | c7i.xlarge | c3-highcpu-4 | Standard_F4s_v2 |
| Local model GPU host, 24 GB GPU | g6.xlarge (1 NVIDIA L4) | g2-standard-4 (1 NVIDIA L4) | Standard_NV36ads_A10_v5 (1 NVIDIA A10) |
| Local model GPU host, 80 GB GPU | p5.4xlarge (1 NVIDIA H100) | a2-ultragpu-1g (1 NVIDIA A100) | Standard_NC40ads_H100_v5 (1 NVIDIA H100 NVL, 94 GB) |
- Do not use Arm types such as AWS Graviton, Google Axion or Azure Cobalt.
- Use SSD-backed block storage, for example AWS gp3, Google pd-balanced or Hyperdisk, Azure Premium SSD.
- GPU types are not offered in every region; check availability before you quote.
Pre-install checklist¶
DNS, certificates and outbound firewall rules need the most lead time with client IT, so start those first.
- Host provisioned at the recommended or minimum size, x86_64, supported Linux version
- Docker Engine 28+, Docker Compose v2.28+ and cosign v2.6.5 (held)
installed; admin account in the
dockergroup - Disk encryption on; backup plan agreed for the volumes,
.envandlicense/license.json - Hostname chosen and DNS record created
- TLS certificate ready, or Let's Encrypt possible (public DNS name, port 80 open to the internet)
- Inbound 443 and 80 open to users; 22 limited to admins; port 3000 bound to
127.0.0.1or blocked - Outbound 443 allowed to
get.huitzo.com, the Huitzo registry, Docker Hub, Sigstore, PyPI and the model provider - OpenAI, Anthropic or Azure Foundry API key ready, or local models agreed with Huitzo
- Your firm's registry machine account in the
huitzo-aiorganization, and aread:packagestoken for this deployment in your firm's secret manager (Registry access) - An age key pair for backup encryption, created off the host (Quick start: turn on backups)
- Client contact ready to accept the Huitzo Self-Hosted license agreement
- Partner administrator ready to request the license as soon as the deployment ID appears
Support and contacts¶
| Need | Contact |
|---|---|
| License requests and renewals | partners.huitzo.ai (partner administrators) |
| Install questions, sizing reviews, licensing questions, anything not covered here | Your Huitzo partner contact, or [email protected] |
| Legal notices | [email protected] |
| Security vulnerabilities | [email protected] |
Related documentation¶
- Quick start: download, verify and install
- Connected installation: the full install reference
- Request a license
- Operations