ByteChef LogoByteChef
Use ByteChef

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.

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

SubstrateRecommended forNotes
Docker / Docker ComposeDev, demo, and small productionA reference docker-compose.yml is shipped with the platform, pulling docker.bytechef.io/bytechef/bytechef.
KubernetesProduction deployments of any sizeA Helm chart for the monolith lives at kubernetes/helm/bytechef.
AWSCloud-native deployments on AWSEC2 or ECS. In Enterprise Edition, SQS can serve as the message broker, S3 as file storage, and EventBridge Scheduler as the scheduler backend.
Google CloudCloud-native deployments on GCPCloud Run or Compute Engine, with PostgreSQL on Cloud SQL.
AzureCloud-native deployments on AzureContainer Apps, with PostgreSQL on Azure Database for PostgreSQL.
DigitalOceanSmall to mid-size deploymentsApp 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) and bytechef.user-guiding.enabled (UserGuiding tutorials) are false in the base configuration, but the prod profile the published container image runs sets both to true. Set BYTECHEF_ANALYTICS_ENABLED=false and BYTECHEF_USER_GUIDING_ENABLED=false to 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

On this page