Windmill on Docker vs Kubernetes vs VMs

Pick Docker Compose on VMs for a small operator group, or Kubernetes with the documented Helm chart for a team already running a cluster. This page compares sizing, high availability, upgrades, backups and operating skills for each.

On this page

Windmill on Docker vs Kubernetes vs VMs: which deployment fits your team

A platform or IT lead should choose Docker Compose on VMs when a small operator group wants the fewest moving parts, and Kubernetes with the documented Helm chart when the team already runs a cluster and needs repeatable rollouts and worker scaling. Both options run on virtual machines, since Kubernetes nodes and Compose hosts are usually VMs in your cloud account or data center, so the VM question is really about who patches the node images and operates the hypervisor. The Windmill GitHub repository documents self-hosting with Docker Compose and Kubernetes Helm charts. It does not describe a separate install for plain VMs, so confirm with Windmill any layout that runs its services outside containers before you commit to it.

Compose keeps the stack small: the API servers and workers run as containers alongside a PostgreSQL database, which also holds the job queue that workers pull from. The repository supports external PostgreSQL services such as AWS RDS, GCP Cloud SQL and Azure, so you can move database backups and failover to a service your team already operates. Helm adds rollouts, rollbacks and per-deployment worker counts, but it also brings cluster upgrades, ingress and secret handling into your scope. Size workers with the README rule of thumb of one worker per vCPU and 1 to 2 GB of RAM, then test that starting point against your own job mix, because a rule of thumb does not replace a load test.

Autoscaling appears on Windmill's pricing page as part of the Enterprise Edition, so do not design a Kubernetes plan around automatic worker scaling until you have confirmed the feature and its license terms with Windmill. If autoscaling is not part of your edition, ask Windmill how worker counts change on each path, then write that manual step into the runbook with the owner named. Before you choose, also decide which team owns database backups and restore tests, since the database holds the job queue, and which team applies Windmill upgrades on each path. An illustrative check: a three-person operator group that cannot staff a cluster on-call rotation will usually find the Compose path easier to keep current.

Windmill on Docker vs Kubernetes side by side

This table sets Docker Compose on virtual machines against the Kubernetes Helm chart for a self-hosted Windmill instance. Read each row as a question to confirm with Windmill's current deployment documentation and your own environment, because the supported install paths and sizing rule are clear but operational details are not. The main takeaway is that both paths share the same external PostgreSQL dependency, so the choice turns mostly on your team's existing skills and how much scaling you expect.

AreaDocker Compose on VMsKubernetes with Helm chart
Install path and topologySelf-hosted with a Docker Compose file on your VMs, as documented in the Windmill repository. Confirm the supported layout when services span more than one VM.Installed with the Helm chart into your cluster, as documented in the Windmill repository. Confirm chart version pinning and the values your cluster needs.
Worker scalingAdd worker containers on each VM by hand. The README sizing rule is one worker per vCPU with 1 to 2 GB of RAM.Set worker replicas through chart values, using the same one worker per vCPU rule. Confirm whether replicas can change without a redeploy.
External PostgreSQLSupported. Point the stack at managed PostgreSQL such as AWS RDS, GCP Cloud SQL or Azure. Confirm the supported versions and connection settings.Supported with the same managed options. Set the connection in chart values and confirm how credentials are stored and rotated.
High availabilityFailover is your design across VMs, load balancing and the database. Confirm with Windmill which components it supports running redundantly.Pod rescheduling and replicas come from Kubernetes, but PostgreSQL remains a single dependency. Confirm Windmill's supported multi-replica setup.
UpgradesPull a newer image and restart the stack. Releases are frequent, with v1.840.0 released on October 17, 2026. Confirm whether schema migrations run on start.Upgrade the chart version and values through a Helm release, which keeps revision history for rollback. Confirm rollback behavior against database schema changes.
BackupsBack up the PostgreSQL database, which holds the job queue, plus config files and any mounted volumes. Confirm which data lives outside the database.Same database backup need, plus backup of any persistent volumes and secrets your chart uses. Confirm which data the chart stores outside PostgreSQL.
MonitoringPrometheus and OpenTelemetry support is listed as an Enterprise feature. Community setups need your own host metrics and log collection.Enterprise adds Prometheus and OpenTelemetry support, which fits an existing cluster monitoring stack. Confirm which metrics the Community chart exposes.
Enterprise-only featuresEnterprise adds SAML and SCIM, audit logs, external secrets, full Git sync and autoscaling. Confirm which autoscaling mechanism applies to VM workers.The same Enterprise set applies. Confirm how autoscaling works with your chart and cluster before relying on it.
Skills and team fitSuits a team that already runs Linux, Docker, TLS termination and PostgreSQL operations, without Kubernetes operators.Needs Kubernetes, Helm and ingress skills. Suits a team that already runs clusters with monitoring and backup tooling in place.

How Windmill on Kubernetes splits API servers, workers and PostgreSQL

Windmill's backend separates stateless API servers, workers that pull jobs from a PostgreSQL queue, and PostgreSQL itself, and a Helm deployment makes each piece a separately scaled workload. The cards show what changes from a single Compose host and which team should own each change before the first install.

Stateless API servers

API servers keep no job state, so you can run several replicas behind one Kubernetes Service. On a Compose host, the API server is one container beside the workers and database, and an upgrade of that host touches all of them. In a Helm release, the API tier is its own workload, so the platform team sets its replica count, health probes and resource limits separately. Confirm with the Windmill docs whether any session state lives in memory, which decides whether your load balancer needs session affinity. Owner: platform engineering, for ingress and rollouts.

Workers pull from the queue

Workers pull jobs from PostgreSQL, so you add execution capacity by adding workers without changing the API tier. The README rule of thumb is one worker per vCPU with 1 to 2 GB of RAM. On a Compose host, worker count is a number set on one machine, sized to that host's cores and memory. In a Helm release, workers are a separate deployment the platform team can scale, but each worker adds load on the queue database, so raise the count in steps and watch database connections. Ask Windmill how many workers one database instance supports for your job mix. Owner: platform engineering, with the Windmill admin for job load.

PostgreSQL as shared state

PostgreSQL holds the queue and the shared state, so every API server and worker depends on one database. A Compose setup can run PostgreSQL as a container on the same host, which ties backups, restores and upgrades to the Windmill machine. The Helm path can point Windmill at an external service such as AWS RDS, GCP Cloud SQL or Azure, which moves patching and failover to the database team. Confirm supported PostgreSQL versions, connection limits and TLS settings in the repository before you pick a managed service. Owner: the database or cloud team, for backups, restore tests and failover.

Windmill repository

nsjail job sandboxing

Each job runs inside an nsjail sandbox, which limits what submitted code can reach on the worker. The sandbox depends on the container privileges and kernel features the worker is granted, so the same job can behave differently on a Compose host and in a Helm release if the pod security settings differ. Confirm the required settings with Windmill before you write the cluster policy, then grant them only to the worker pods. Run a hostile test script on a staging worker before production. Owner: security engineering, which signs off on the sandbox and the cluster policy.

Enterprise autoscaling and telemetry

Autoscaling, Prometheus and OpenTelemetry support sit in Enterprise, so a Community Edition deployment has no built-in autoscaling to rely on. Enterprise also adds SAML and SCIM, audit logs and full Git sync, which matter once several teams share the platform. If you adopt Enterprise on Helm, confirm which components expose metrics and which scaling signals drive autoscaling before you write alerts. Get the Enterprise scope and the per-developer, per-operator and compute-unit pricing in a written quote. Owner: platform engineering for scaling, with procurement for licensing.

Windmill pricing

A script run reaches a worker only through the PostgreSQL queue

A script run starts when a user or API client sends a request, optionally through a load balancer, to one of several stateless API server replicas. The replica records the job in the PostgreSQL job queue and does not run it. Worker processes, which can sit on separate VMs or worker nodes, pull jobs from that queue and execute each one inside an nsjail sandbox. The queue can live in a database you operate or in an external PostgreSQL service. The trust boundary groups the workers and the database, so check network paths, credentials and sandbox settings there first.

API replicas enqueue jobs in PostgreSQL, and workers pull and run them in nsjail.

How many workers a VM or node pool needs

Windmill's GitHub repository gives a rule of thumb of one worker per vCPU, with 1 to 2 GB of RAM per worker. Use it as the starting point for both a VM and a Kubernetes node pool. Take an illustrative host with 8 vCPUs and 32 GB of RAM. The rule gives 8 workers, which at 2 GB each uses 16 GB and leaves the rest for the operating system, Docker and any co-located services. On Kubernetes, an illustrative pool of three nodes of the same size offers 24 vCPUs, so the rule suggests about 24 workers. System pods and daemon sets use part of each node, so the usable count will be lower. Treat the rule as a planning figure that a load test must confirm.

Script weight moves the number more than the vCPU count does. A worker running small TypeScript transforms can carry more concurrent jobs than one loading large Python data libraries or holding big datasets in memory, so measure memory per script before you size. Parallel runs multiply that footprint. External calls work in the other direction: a job waiting on an HTTP API or a database uses little CPU but still occupies a slot, so high I/O latency can leave a worker that looks idle unable to accept more work. Database load is the last factor. Every worker pulls jobs from the PostgreSQL queue, so a database sized only for the API servers can become the bottleneck before the workers do.

Before you fix the node count in a quote or an infrastructure plan, run a load test in your own environment with your production scripts, your actual external dependencies and a database at the size you intend to operate. Record queue wait time, job duration, worker memory and CPU, and database connections and latency at your expected peak concurrency. Then step the load up until queue wait starts to climb, and note that point as your ceiling. Put this test in the written scope with your implementation partner or confirm it with your vendor, and record the worker count, memory per worker and peak concurrency in the handover documents so the sizing can be revisited when the script mix changes.

Which Windmill deployment fits a small team, a platform team or a regulated estate

A small team with a few operators on a single VM usually fits Windmill on Docker Compose. The documented self-host paths are Docker Compose and Kubernetes Helm charts, so a single VM means Compose running against PostgreSQL. This shape keeps the moving parts few, but one host carries the API, the workers and the database.

  • Deployment that fits: Docker Compose on one VM, with PostgreSQL on the same host for a trial, or an external PostgreSQL service if backups matter more.
  • Tier to confirm: Community Edition, which the pricing page lists with unlimited executions and limits of 3 workspaces, 50 users and 4 groups. Prebuilt images include proprietary code that is free for internal use, so confirm your use stays internal.
  • Sizing: Windmill's README gives a rule of thumb of one worker per vCPU with 1 to 2 GB of RAM, so size the VM from that, then load test with your own scripts.
  • Skills before go-live: Docker Compose operation, Linux host hardening, TLS at the reverse proxy, and PostgreSQL backup and restore.
  • Upgrades and backup: API servers and workers are stateless and PostgreSQL holds the state, so back up the database and test a restore before each upgrade.

Before go-live, confirm the Community Edition limits against your headcount, the Compose version you will pin, and the backup and upgrade steps your team will run by hand.

What high availability means for Windmill on Docker, Kubernetes and VMs

High availability for Windmill comes down to two layers: the stateless API servers and workers, and the PostgreSQL database they share. Windmill's backend runs stateless API servers and workers that pull jobs from a PostgreSQL queue, so adding replicas of the application tier is straightforward on any of the three models. The database is the harder part. If PostgreSQL is unavailable, jobs cannot be queued or picked up, however many healthy workers you run. Windmill documents external PostgreSQL options such as AWS RDS, GCP Cloud SQL and Azure, but a managed instance still needs its standby, failover and backup settings chosen and tested by you. Those choices decide what a database failure costs you, so review them in your own design and do not assume the managed service covers them.

A single Docker host can restart a crashed container, which covers process failures, but the host itself remains a single point of failure. Docker Compose on one machine cannot move workers to another machine when that machine fails, so it suits a pilot or a team that accepts planned downtime for host maintenance. A Kubernetes cluster deployed with the Helm chart can run several API server and worker replicas on separate nodes, and a node can be drained for patching, but only if the nodes sit in different failure domains and the control plane is itself highly available, which is a separate decision. Several VMs behind a load balancer survive the loss of one VM, yet you own the health checks, the placement rules and the runbook that replaces a failed worker. On all three models, confirm what happens to a job that was running on a worker that disappears mid-execution, because that behavior decides whether a retry is safe.

Before you write an availability target into a design or a contract, get four answers from Windmill in writing: how API servers and workers fail over, which PostgreSQL topologies it supports and tests, what happens to jobs running during a worker or database failover, and whether any recovery time or availability commitment applies to your deployment. Do not assume a commitment exists for your setup, and treat any figure someone quotes you as unconfirmed until it is in writing. Then test in your own environment: stop a worker mid-job, fail over the database, drain a Kubernetes node, or power off a VM, and record how long flows take to resume and whether any job ran twice. Autoscaling is listed among Windmill Enterprise features, so if your plan depends on it, confirm it is included in the edition you buy and how it interacts with your worker count.

Upgrades, backups, monitoring and skills for each deployment

This table compares how each deployment model handles upgrades, database and volume backups, monitoring and the skills your team needs after go-live. Read each row as the recurring work the model creates, and use it alongside sizing and availability. Windmill ships frequently, and v1.840.0 was the latest release as of October 2026, so confirm the upgrade and rollback path in its release notes before you set a patch cadence.

AreaWindmill on DockerWindmill on KubernetesWindmill on VMs
Upgrade cadencePull the new image tag and recreate the Compose stack on one host. Small change surface.Helm upgrade with rolling pod replacement. More components to test before each release.Replace binaries or images on each host by hand. Easiest to drift out of step across hosts.
Rollback pathRe-pin the previous image tag if the release notes confirm database compatibility.Helm revision rollback is available, but confirm whether database migrations reverse.Restore a VM snapshot taken before the upgrade. Test this path on a staging host first.
PostgreSQL backupSchedule pg_dump or volume-level backups of the database that Compose runs or points to.Use an external PostgreSQL service such as RDS, Cloud SQL or Azure. Confirm backup and point-in-time options with the provider.Own the database host backups and test restores on a separate machine.
Other state and volumesBack up the Compose file, environment file, secrets references and any host volumes holding configuration.API servers and workers are stateless, so back up the database and Helm values with their secret references.Back up the database and host configuration files. Snapshot the VM for host-level recovery.
MonitoringUse container health checks and host metrics. Prometheus and OpenTelemetry support is an Enterprise feature on the pricing page.Use cluster monitoring for pods and queues. Prometheus and OpenTelemetry support is an Enterprise feature, so confirm what the free edition exposes.Use host agents and log shipping. Windmill-native metrics need Enterprise, so confirm the options for your edition.
Skills the team needsDocker Compose, Linux, PostgreSQL basics and reverse proxy setup.Kubernetes, Helm, ingress, secrets management and PostgreSQL operations.Linux administration, configuration management, PostgreSQL operations and disciplined manual patching.
Recurring operating effortLowest for a small team that owns one host and one database.Highest unless a platform team already runs clusters. Effort grows with environments.Moderate, but grows with each host you add and each manual patch cycle.

Five checks before choosing Windmill on Docker or Kubernetes

Five checks narrow the Docker, Kubernetes and VM choice before any build starts. Each step names an owner and a written output, so the team can confirm it has the skills, license tier, database plan, capacity and recovery process to run Windmill itself.

  1. Confirm Kubernetes or VM operating skills

    The platform or infrastructure lead lists who can operate the candidate runtime: Docker Compose on one host, a Kubernetes cluster deployed with the Helm charts Windmill documents, or VMs with patching and TLS management. Each named person should be able to read logs, restore a service, rotate secrets and apply a patch without vendor help. Docker suits a single host with a small on-call group, Kubernetes suits a team that already runs clusters well, and VMs suit a team whose standard is managed hosts. Done when each component has a named on-call owner and the runtime decision is recorded in writing.

  2. Check which Windmill tier includes needed features

    The security and procurement leads compare required features with the tiers on Windmill's pricing page. As of October 2026, the free Community Edition allows unlimited executions but is limited to 3 workspaces, 50 users and 4 groups. Enterprise adds SAML and SCIM, audit logs, external secret backends such as Vault and AWS Secrets Manager, full Git sync, autoscaling, and Prometheus and OpenTelemetry support, and the pricing page lists it from $120 per month. Ask the vendor for a written quote covering compute units, and confirm that prebuilt Community images fit your internal-use terms. Done when a signed feature-to-tier matrix exists.

  3. Decide the PostgreSQL option and backup owner

    The database owner chooses between the PostgreSQL deployed with Windmill and an external managed database such as AWS RDS, GCP Cloud SQL or Azure, all of which Windmill's repository documents. Windmill workers pull jobs from PostgreSQL, so the database design sets the limits of availability and recovery. Assign one owner for backups, retention, point-in-time recovery settings and restore testing, and confirm the provider's options in writing. Done when a restore has been tested into a separate environment and the result is documented.

  4. Run a sizing test using the one-worker-per-vCPU rule

    The platform engineer starts from Windmill's documented rule of thumb: one worker per vCPU, with 1 to 2 GB of RAM per worker. As an illustrative example, a 4 vCPU host would start with four workers and 4 to 8 GB of RAM. Test with your own scripts, flows and expected concurrency, and measure job queue wait time, memory use and database load at peak. Confirm with Windmill whether the rule holds for your job types. Done when a load report shows the chosen host size meets the peak target with headroom, and the report is filed with the architecture record.

  5. Write the upgrade and rollback runbook

    The operations lead writes the procedure for every Windmill upgrade, covering version pinning, a database backup before any change, a staging run and the rollback path. Windmill ships releases frequently, with v1.840.0 released on October 17, 2026 as the latest as of October 2026, so the team needs a fixed review cadence and a named approver. Read each release's notes for migration steps before applying it. Done when one upgrade and one rollback have been rehearsed in staging and the service owner has approved the runbook.

How much effort does Windmill on Docker or Kubernetes take?

Is Windmill on Docker Compose ready for production use?

Compose is a documented self-hosting path in the Windmill repository, and whether it suits production depends on your uptime targets, database setup and upgrade routine. Confirm these points before you commit:

  • Database: Windmill supports external PostgreSQL services such as AWS RDS, GCP Cloud SQL and Azure, which moves backups and failover to a service you may already operate. Confirm the failover design with your provider.
  • Sizing: the README gives a rule of thumb of one worker per vCPU with 1 to 2 GB of RAM, so size workers from your job load.
  • Upgrades: releases are frequent (v1.840.0 was the latest in October 2026), so test each upgrade in staging before production.

Ask the implementer to show a written runbook for each point.

Is Kubernetes worth the effort for a small platform team?

Usually only if you already run Kubernetes and have people who operate it. The Helm chart adds a cluster you must patch, monitor and back up on top of Windmill itself, so that extra effort needs a named owner. A small team with no spare on-call capacity often gains more from a single Compose host on a virtual machine it can manage. Kubernetes starts to pay off when you need multi-node scaling, existing cluster policy, GitOps delivery or standard platform tooling. Illustrative: a team of two platform engineers with no cluster today would likely start with Compose and revisit the choice once load or policy requires it. Ask any implementer to list the operating tasks each option adds for your team.

What does it cost to self-host Windmill?

The Community Edition is free to self-host, and Windmill's pricing page lists unlimited executions with limits of 3 workspaces, 50 users and 4 groups as of October 2026. The self-hosted Enterprise Edition starts at $120 per month, with developers at $20 per month each, operators at $10 per month each and compute units, according to the same page. Those figures cover only the Windmill license. Infrastructure is a separate cost: compute, PostgreSQL, storage, backups, networking and monitoring, which recur over time. Staff time to install, patch, monitor and upgrade is a separate cost too, paid through your own salaries or a partner's fees. Ask for the Enterprise line items, a list of infrastructure you will pay for directly, and an estimate of staff hours by task.

How long does a self-hosted Windmill deployment take?

The duration depends on scope, identity and data requirements, so no single timeline applies to every team. The first running instance is usually the smallest share of the work. Plan time for:

  • Identity: SSO setup, plus SAML and SCIM provisioning if you buy Enterprise.
  • Data: PostgreSQL provisioning, backup configuration and restore testing.
  • Secrets and network: external secret backends and private access paths.
  • Workflows: moving scripts and flows, testing them, and getting sign-off from the teams that rely on them.
  • Review: security and compliance review of the setup before users arrive.

Ask any implementer for a written timeline that names each dependency, the approvals it waits on and the access it needs from your side.

What must our team run itself after go-live?

Your team owns the running system unless you contract the operation out. The recurring duties are:

  • Upgrades: applying Windmill releases, which arrive frequently, and testing flows against each one.
  • Database: backups, restore tests and PostgreSQL maintenance, or the settings of your managed database service.
  • Capacity: watching worker load and adjusting worker count against the sizing rule of one worker per vCPU with 1 to 2 GB of RAM.
  • Access and secrets: SSO, user and group administration and secret rotation.

Decide before go-live who holds each duty and whether a retainer covers it. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, scoped in writing.

What should a quote for a Windmill deployment include?

A useful quote lists the written scope, deliverables and timeline first, then the price that follows from that scope. DeployOpen agrees scope, deliverables and timelines in writing before fixed-scope work starts, and it does not publish a price list. Ask for:

  • Scope: the deployment path (Compose, Helm or virtual machine), the environments covered and what is excluded.
  • Components: PostgreSQL setup, SSO, secrets, backups, monitoring and upgrade testing.
  • Deliverables: runbooks, handover sessions and documentation.
  • Assumptions: your cloud or data center, the access you will provide and who signs off.
  • Recurring costs: retainers, any Windmill Enterprise licensing you choose and the infrastructure you pay for directly.

Ask the vendor to separate one-time work from recurring costs.

How DeployOpen scopes and supports Windmill deployments

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside the client's own infrastructure. For Windmill, the work starts with a written scope that names the runtime target, whether Docker Compose, Kubernetes or virtual machines, along with the database and identity setup.

How we scope

  • The written scope names the runtime target: Docker Compose, Kubernetes with Helm, or virtual machines.
  • Scope records the PostgreSQL setup, including whether an external service such as AWS RDS, GCP Cloud SQL or Azure is used.
  • Sizing starts from Windmill's documented rule of one worker per vCPU and 1 to 2 GB of RAM.

How we build

  • Deploy the stack from the repository's Docker Compose or Helm chart, then customize it to the agreed scope.
  • If Enterprise is in scope, configure SAML, SCIM, audit logs and external secret backends.
  • Harden the deployment, including network paths, database access and secret handling, then test it before handover.

How we hand over

  • Document the topology, upgrade path, backup and restore steps in the handover pack.
  • Test a database restore before go-live, so recovery steps are checked in your own environment.
  • Confirm Community Edition limits and image licensing terms with Windmill before you go live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrades follow Windmill's frequent release cadence, so the retainer scope should name the release tracking and test window.
  • Ask for the support boundary in writing, covering who patches the database, the workers and the identity integration.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.