Skip to main content

Self-Hosted Deployment

Deploy Align on your own infrastructure for complete data sovereignty.

Why Self-Host?

  • Data Sovereignty — All data stays in your infrastructure
  • Air-Gapped Environments — Works without internet access
  • Custom LLMs — Use your own models (Ollama, vLLM, etc.)
  • Compliance — Meet regulatory requirements
  • Integration — Deep integration with internal systems

Architecture

┌─────────────────────────────────────────────────────────────────┐
│ Your Kubernetes Cluster │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │
│ │ UI │ │ Gateway │ │ Brain │ │ Connectors │ │
│ │ SvelteKit│ │ Fastify │ │ FastAPI │ │ Slack/Teams/... │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └────────┬─────────┘ │
│ │ │ │ │ │
│ └─────────────┴─────────────┴──────────────────┘ │
│ │ │
│ ┌───────┴───────┐ │
│ │ PostgreSQL │ │
│ │ (RDS/Self) │ │
│ └───────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘

Components

ComponentPurposePort
UISvelteKit frontend3000
GatewayAPI server (Fastify)8080
BrainAI/ML service (FastAPI)8090
ConnectorsIntegration services808x
PostgreSQLDatabase5432

Prerequisites

  • Kubernetes 1.25+
  • Helm 3.10+
  • PostgreSQL 15+ (self-managed or managed like RDS)
  • 4GB+ RAM available for Align pods
  • (Optional) GPU for local LLM inference

Quick Start

# Add the Align Helm repository
helm repo add align https://charts.align.tech
helm repo update

# Install with default values
helm install align align/align \
--namespace align \
--create-namespace \
--set database.secretName=your-db-secret

# Check status
kubectl get pods -n align

See Installation for detailed instructions.

Deployment Options

Minimal (Development/POC)

  • Single replica per service
  • Local PostgreSQL
  • No HA, minimal resources
helm install align align/align -f values-minimal.yaml

Production

  • Multiple replicas with HPA
  • External PostgreSQL (RDS)
  • TLS, proper ingress
  • Secrets management
helm install align align/align -f values-production.yaml

What's Included

The Helm chart deploys:

  • All Align services (UI, Gateway, Brain)
  • Connectors (Slack, Teams, Jira, GitHub)
  • Database migrations (as pre-install hook)
  • Ingress configuration
  • HPA and PDB for availability
  • Service accounts and RBAC

What You Provide

  • Kubernetes cluster
  • PostgreSQL database
  • Secrets (OAuth credentials, API keys)
  • Ingress controller (Traefik, nginx, etc.)
  • TLS certificates (cert-manager recommended)
  • (Optional) Custom LLM server

Documentation

GuideDescription
InstallationStep-by-step install guide
ConfigurationHelm values reference
SecretsSecrets management options
OAuth AppsRegister your own OAuth apps
LLM SetupConfigure custom LLM providers
UpgradesUpgrade and migration guide

Support

For self-hosted support: