Self-Hosted
Deploy and operate ByteChef on your own infrastructure.
Self-hosting runs the ByteChef server on infrastructure you operate: Docker, Kubernetes, AWS, Azure, Google Cloud or DigitalOcean. You control where data is stored, how the network is exposed, and every instance-wide setting. This section covers installation, configuration, operation and the deployment architecture.
Installation
Pick a deployment target and get an instance running.
Configuration
How configuration is supplied, environment variables, brokers, node roles and storage.
Management
Monitoring, upgrades and backups, observability, troubleshooting.
Architecture
The processes, dependencies and scaling options of a deployment.
Deployment models
The same server image runs as one or more long-lived server instances. The Enterprise Edition adds a single-shot runner.
The server
One process carrying the workflow engine, every domain service, and the HTTP API. PostgreSQL is the only hard dependency; Redis is optional. This is the recommended starting point for every deployment. Start at Local Docker.
To handle more load, run several instances against the same database. Align these settings first: a shared encryption key, a shared message broker, shared file storage, a fixed remember-me key, and migrations owned by one instance. More than one coordinator also needs Enterprise Edition, a shared session store and cache provider, and a clustered scheduler. See Running multiple instances.
Single-shot
The runtime job runner boots, executes exactly one
workflow, and exits with the workflow's status. No database, no broker, no triggers - for batch runs
whose schedule already lives in Airflow, a CI pipeline, or a Kubernetes CronJob. Enterprise Edition.
Supported substrates
| Substrate | Recommended for | Notes |
|---|---|---|
| Docker / Docker Compose | Dev, demo, and small production | A reference docker-compose.yml is shipped with the platform, pulling docker.bytechef.io/bytechef/bytechef. |
| Kubernetes | Production deployments of any size | A Helm chart for the monolith lives at kubernetes/helm/bytechef. |
| AWS | Cloud-native deployments on AWS | EC2 or ECS. In Enterprise Edition, SQS can serve as the message broker, S3 as file storage, and EventBridge Scheduler as the scheduler backend. |
| Google Cloud | Cloud-native deployments on GCP | Cloud Run or Compute Engine, with PostgreSQL on Cloud SQL. |
| Azure | Cloud-native deployments on Azure | Container Apps, with PostgreSQL on Azure Database for PostgreSQL. |
| DigitalOcean | Small to mid-size deployments | App Platform or a Droplet, with DigitalOcean Managed PostgreSQL. |
The Helm chart templates the deployment, service, ingress, ConfigMap, Secret, service account, and an
HPA. Note that it ships replicaCount: 1 and sets no broker or cache variables, so the default values
run the in-memory broker. Raising replicaCount (or enabling the HPA) on its own gives you replicas
that cannot hand each other work. Add the shared-instance settings under env.normal first, per
Running multiple instances.
Your perimeter, your secrets
- Credentials never leave your network. Connection credentials are encrypted at rest in your own database with a key you supply - see Encryption of stored credentials.
- Telemetry export is opt-in. OpenTelemetry export ships disabled; each signal stays off until you set its endpoint and enable flag (Observability).
- Product analytics and in-app guides are on in the published image.
bytechef.analytics.enabled(PostHog) andbytechef.user-guiding.enabled(UserGuiding tutorials) arefalsein the base configuration, but theprodprofile the published container image runs sets both totrue. SetBYTECHEF_ANALYTICS_ENABLED=falseandBYTECHEF_USER_GUIDING_ENABLED=falseto turn them off. - You choose the AI providers. You decide which providers receive prompts and where their keys live.
- Configuration is externalized. Instance-wide server options are set through environment variables or property files, so the same image behaves differently per environment based on what you pass in (Configuration).
How is this guide?
Last updated on