Dagster deployment options: which model fits your team
Docker on a virtual machine suits a small team running one host, and Kubernetes with Helm suits a team that already runs a cluster and wants rolling operations. The choice turns on who will patch the host, restart failed containers and answer for the platform when a pipeline breaks overnight. The Dagster documentation covers self-hosting open-source Dagster on Docker and on Kubernetes with Helm, and it also documents Amazon ECS, which this comparison leaves out. Plain virtual machines are not a separately documented Dagster model. They serve as the host layer under Docker or under a Kubernetes node pool, so disk sizing, OS patching and network access to the database apply to either path. Treat the VM as infrastructure your team already operates, and plan its patching and sizing as part of whichever option you pick.
Open-source Dagster divides its work across components that shape both models. The webserver that serves the UI and GraphQL can run several replicas, but a single daemon runs schedules, sensors and run queuing, and each code location server is limited to one replica. Run, event log and schedule storage default to SQLite and can use PostgreSQL, and the run launcher, run coordinator and executor are swappable components. In practice, the daemon is the component to plan for in either option, because a failure there stops scheduled work until it recovers. If you expect more than one host or a container platform that moves workloads, check early whether storage has moved from SQLite to PostgreSQL, using the Dagster OSS deployment architecture as your reference.
Before you standardize on either option, confirm two things with Dagster and in your own environment. First, confirm whether a bare-process install directly on VMs is supported for the version you plan to run, since the documented open-source paths are Docker, Kubernetes with Helm and Amazon ECS. Second, ask who on the team will own upgrades. A Helm-based rollout on an existing cluster gives you rolling operations only if the people running it already know that cluster. A Docker host on one VM is simpler to rebuild, but its backup, restore and upgrade steps depend entirely on the runbook your team writes. Read the self-hosting Dagster guide against your target version before you commit.
How Docker on VMs and Kubernetes compare for Dagster OSS
This table compares running open-source Dagster on Docker containers on virtual machines against running it on Kubernetes with Helm. Read each row as the work your team takes on, and check the component rules in the Dagster OSS deployment architecture before you size either model. The main takeaway is that Kubernetes hands restart and scaling mechanics to the cluster, while Docker on VMs keeps those steps with your team, which suits a smaller estate.
| Factor | Docker on VMs | Kubernetes with Helm |
|---|---|---|
| Where components run and how the webserver scales | Containers on VMs you manage. The webserver can run several replicas behind a load balancer you set up. | Separate workloads per component. The webserver can run several replicas, while each code location server runs one. |
| How the single daemon is restarted | A restart policy and host monitoring bring it back. A failed VM needs manual or scripted recovery. | Kubernetes reschedules the daemon pod. The daemon is still a single instance, so plan for a gap during restart. |
| Storage setup (SQLite default versus PostgreSQL) | SQLite is the default and suits one host. Move run, event log and schedule storage to PostgreSQL before adding hosts. | Same choice. Plan PostgreSQL outside the pod lifecycle and confirm connection settings in chart values. |
| How the run launcher and executor are chosen | Set in the instance configuration on the daemon host. Pick options your container runtime supports. | Set through chart values. The launcher and executor are swappable, so confirm the options your chart version exposes. |
| Upgrade mechanics | Pull new images on each VM in a planned order, updating daemon and webserver together, then verify. | Change the chart version and image tags with Helm. Roll back through Helm release history if an upgrade fails. |
| Backup scope | Storage database, instance configuration, and any volumes or VM snapshots you depend on. | Storage database, chart values, and secrets. Cluster-level backup is a separate workstream. |
| Skills each model needs | Linux administration, Docker, load balancing, and PostgreSQL operations. | Kubernetes, Helm, cluster networking and storage, and PostgreSQL operations. |
| Typical fit | Small platform teams with few code locations and an existing VM estate to run on. | Platform teams already running Kubernetes, with several code locations and environments to manage. |
What the webserver, daemon and code locations need from the host
Each open-source Dagster component has its own job and its own scaling rule. The webserver scales out, the daemon runs as a single instance, and each code location runs as one replica, while storage holds the state they share. Those rules set what your Docker, Kubernetes or VM layout must provide, so check them before you choose a platform.
Webserver: UI and GraphQL
The webserver serves the Dagster UI and GraphQL API, and it can run multiple replicas, so it is the component you scale for user load. In Docker it is one container with a published port, usually behind a reverse proxy you manage. In Kubernetes it is a deployment behind a service, and replicas can land on different nodes. On a VM it is a service unit on a local port that your proxy fronts. Confirm with Dagster how many replicas suit your user count and how every replica reaches the same run and event storage.
Dagster OSS architectureDaemon: schedules and sensors
The daemon operates schedules, sensors and run queuing, and the open-source model expects only one daemon instance. In Docker that is one container with a restart policy. In Kubernetes it is one deployment pinned to a single replica. On a VM it is one service unit. A second running copy would duplicate triggers, so check whether your platform can start a second instance during a rolling upgrade. Confirm with Dagster how queued runs recover after a restart, and alert when the daemon stops, because schedules do not fire while it is down.
Code location servers
Each code location server loads your Python definitions and runs as one replica, so each location is a unit you deploy and restart on its own. In Docker that is one container per location, built from your image. In Kubernetes it is one pod and one service per location, so a crash leaves that location unavailable until the pod recovers. On a VM it is one service process per location with its own Python environment. Confirm with Dagster how to roll out a change to one location without touching the others, and how much memory your largest definitions need before you size the hosts.
Run, event log and schedule storage
Run, event log and schedule storage defaults to SQLite, with PostgreSQL as the other option, so this choice decides which components can share state. A SQLite file must sit on storage that every reader can reach, which suits a single-host layout. In Docker that usually means a volume on one host. In Kubernetes, check the access mode of any persistent volume before a second pod mounts it. On a VM, plan disk space and backups around the file. Confirm with Dagster which storage each component supports, how storage grows with run history, and how retention is set.
How the Dagster processes and storage connect in a self-hosted deployment
The diagram starts with users in a browser, who reach the webserver, which can run as multiple replicas. The webserver and the daemon both read and write run, event log and schedule storage, which defaults to SQLite and can use PostgreSQL. The daemon is a single instance and hands runs to the run launcher, which starts run workers. Each run worker loads code from code location servers, and each of those is limited to one replica. Check how many daemon instances your deployment runs and which storage option backs run and event data before you size the hosts.
Components and hand-offs in an open-source Dagster deployment.
Why the single daemon sets the availability ceiling in every model
In open-source Dagster, one daemon runs schedules, sensors and run queuing, as the Dagster OSS deployment architecture describes. That makes restart speed the main continuity control for scheduling in every hosting model. On Docker, a restart policy decides how quickly the container returns after a crash. On Kubernetes, the Deployment recreates the pod, and on a VM, a service manager such as systemd does the same job. The model changes who notices the failure and how fast, while the daemon count stays at one. Illustratively, a schedule due during a restart window may be delayed or skipped, depending on how Dagster reconciles missed ticks, and you must confirm that behavior. A process that is running but stalled also looks healthy to a restart policy, so add a liveness check that covers scheduling, not just the container state.
The webserver is the easy tier to scale. It serves the UI and GraphQL and can run several replicas behind a load balancer or a Kubernetes Service, so losing one web instance leaves the UI reachable. That redundancy does not extend to scheduling, because losing the daemon stops ticks no matter how many webservers are up. Before you commit to a model, put these questions to Dagster in writing: what happens to queued runs and schedules during a daemon restart, whether schedules and sensors resume without skipped or duplicated ticks, and whether any active-standby daemon setup is supported. Then test it yourself: stop the daemon during a scheduled window in a staging copy and record what appears in the run history.
PostgreSQL high availability is a separate layer. Run, event log and schedule storage default to SQLite and can use PostgreSQL, so a file-based store on a single host is usually the first thing to replace in production. Making that database highly available is its own decision, covered in the infrastructure options for PostgreSQL high availability on this site, and it does not make the daemon redundant. Code location servers are also limited to one replica each, so a code location outage stops its runs in every model. Plan for both layers: a daemon restart runbook and a storage recovery plan you have rehearsed. Decide the storage tier before judging any model on uptime, because a clustered database paired with a slow-restarting daemon still leaves a low ceiling.
Choosing a Dagster deployment by team: platform engineers, data teams and small VM teams
If your organization already runs Kubernetes, the open-source Dagster deployment fits your existing platform tooling. Helm-managed rollouts and multiple webserver replicas come with the platform, so the UI and GraphQL layer scale the way your other services do. The parts that stay with your team are the stateful and timing-sensitive pieces, which the deployment architecture documentation describes in detail.
- Daemon restart behavior: The daemon runs schedules, sensors and run queuing, and it runs as a single instance. Test how it recovers from a pod eviction or node drain before you rely on it for scheduled production runs.
- PostgreSQL: Run, event log and schedule storage default to SQLite, so a cluster deployment usually points them at PostgreSQL. Backups, failover and version upgrades of that database belong to your database owners or managed service.
- Upgrade rhythm: Dagster publishes releases often. Set a fixed cadence, test each release in staging, and upgrade the webserver, daemon and code locations in a planned order.
- Code location scaling: Each code location server runs one replica, so scaling a heavy workload means splitting code into more locations. Plan that layout early, because moving pipelines between locations later is extra work.
- Run launcher and executor: These components are swappable. Confirm which launcher and executor your Helm values select, and test how runs behave when a worker pod fails.
Confirm that your platform team will own the daemon's restart behavior and the PostgreSQL instance before you commit to this model.
A small data team running on one Docker host or a few VMs gets the fewest moving parts. There is no cluster to operate, and the webserver, daemon and storage sit on machines the team can inspect directly. The trade-off is that the people who write pipelines also perform upgrades, backups and restore tests, and that work competes with delivery for the same time.
- Upgrades: You apply each new release yourself, which means updating the installed packages or images, running storage migrations and restarting the processes in order. Read the release notes for every version you skip.
- Backups: Storage defaults to SQLite, so run and event history lives in files on the host unless you move it to PostgreSQL. Decide which option you use, and back up that location on a fixed schedule.
- Restore tests: A backup nobody has restored is unproven. Restore into a separate host regularly and after any change to storage.
- Host failure: A single host is a single point of failure. Decide how long pipelines can stay stopped and what it takes to bring a replacement host online.
- Ownership: Name one person for host patching and one owner for backups, and agree who covers when either is away.
Before you choose this model, ask who will run the upgrade and restore checklist each time a release is applied, and whether that time is scheduled in the team's plan.
When a compliance review asks who can open which pipeline, who changed a setting and where that record is kept, the answer depends on controls that open-source Dagster does not provide. The pricing page lists role-based access control, SAML SSO and audit logs as Dagster+ features, and they are not part of open-source Dagster. The team must either supply access control and audit evidence from the layers around the deployment or weigh Dagster+ before the review starts.
- Access to the UI: Limit who reaches the webserver with network segmentation, a VPN or an authenticating reverse proxy. Confirm what the proxy can enforce for each path and user group.
- SSO: Place single sign-on at the proxy or identity-aware gateway, and confirm that group membership maps cleanly to the people who should reach the UI.
- Audit evidence: Proxy and host logs show who connected and when, but they may not show who launched or changed a run. Confirm what your log sources record and how long they are kept.
- Database access: Restrict direct access to the PostgreSQL instance and its credentials, because run and event data lives there.
- Dagster+ option: If the review requires in-product role-based access or audit logs, request a quote and compare it with the cost of building those controls around a self-hosted deployment.
Give the reviewer's control list to your security team and map each item to a layer, so you know which gaps the proxy or identity provider can close and which need Dagster+.
Upgrades, backups and monitoring: what each model asks of your team
This table compares the recurring operating work for Dagster on Docker on VMs and on Kubernetes with Helm: upgrades, backups, restore checks, monitoring, rollback and on-call. Read each row as a list of tasks your team would own, then check which of them your staff can cover. The main takeaway is that Dagster point releases arrive at the same cadence on every model, so the difference lies in how many moving parts your team must sequence and watch.
| Factor | Docker on VMs | Kubernetes with Helm |
|---|---|---|
| Upgrade sequence | Update the image version on each host, check schema notes, then restart the daemon and webserver in documented order. | Bump chart and image versions together, review schema changes and chart value changes, then confirm rollout order in the release notes before applying. |
| Release cadence (GitHub releases) | Point releases are frequent: 1.13.24 (September 21, 2026), 1.13.25 (October 1) and 1.13.26 (October 9, 2026). | Same cadence applies, so schedule chart and image bumps on a set cycle and track each point release. |
| Backup scope | Run, event log and schedule storage, plus code, environment files and host configuration needed to rebuild each VM. | Run, event log and schedule storage, plus chart values, secret references and image tags that reproduce each release. |
| Restore testing | Restore storage to a spare VM and confirm the daemon resumes schedules and sensors. Repeat this test on a fixed schedule. | Restore into a separate namespace, then confirm the daemon, webserver and code locations start cleanly before routing traffic. |
| Monitoring of processes and daemon health | Watch the webserver, daemon and each code location process on every VM. Alert if the daemon stops or runs queue up. | Watch pod status for webserver, daemon and code locations. The daemon runs one replica, so alert on restarts and stalled scheduling. |
| Rollback | Repoint each VM to the previous image tag. Restore storage from backup if a schema migration already ran. | Roll back the chart release to the previous revision, then check schema state, since database changes may not reverse on their own. |
| On-call load | Usually the team that owns the VMs, with the daemon as the main point to watch. Confirm who covers nights and weekends. | Shared between the platform team that runs the cluster and the data team that owns pipelines. Confirm escalation paths across both before go-live. |
What Dagster+ changes about who runs the control plane
The managed option moves the control features into the service itself. The Dagster pricing page lists role-based access control, SAML SSO, catalog search, column lineage, branch deployments, alerts and audit logs as Dagster+ features. A team running open-source Dagster on its own infrastructure must supply the equivalent platform, identity and audit layers from its own tooling, or go without them. Those layers decide who can trigger runs, which identity provider signs users in, and where evidence of changes is kept. Before you choose self-hosting, list which of the seven features your data team already depends on, then check the current Dagster pricing page for what each plan includes. That feature list is the main input to this decision.
If your team chooses self-hosting for data residency or control, accept that it will build these layers itself. In the open-source architecture, the webserver serves the UI and GraphQL and can run several replicas, so SSO and access control usually sit in front of it, in a reverse proxy or identity-aware gateway that your platform team operates. The single daemon runs schedules, sensors and run queuing, so its health needs its own monitoring and alerting. Audit trails are not something the pricing list places in open-source Dagster, so decide where they come from, such as run and event log storage (SQLite by default, or PostgreSQL), and confirm retention with your compliance team. Get each of these choices confirmed in writing before the work starts. Whether to self-host is a separate decision from whether to buy Dagster+, which is covered on the page comparing Dagster OSS with Dagster+.
What does a Dagster deployment on Kubernetes or Docker cost and take?
What drives the cost of running Dagster on Docker or Kubernetes?
Staff time is usually the largest cost driver, with infrastructure spend a separate and more predictable line. Four components make up most of the cost: the people who build and operate the hosts or cluster, the storage and backups that protect run and event data, the on-call coverage needed for the Dagster daemon, and the effort to port existing pipelines onto assets. Each one grows with the number of environments, code locations and teams sharing the deployment, and with how often you upgrade. Open-source Dagster is Apache-2.0 licensed, so the software itself carries no license fee. In a quote, ask the vendor to separate its labor from the cloud, data center or hardware costs that you pay your own providers.
Which Dagster deployment costs are one-time and which recur?
One-time work is the build: initial setup, the Helm values or host build, and the pipeline and configuration work that moves your jobs onto assets. Recurring work keeps the platform running, and it should appear as an ongoing line in any quote:
- Upgrades to Dagster and its dependencies, including test runs before each one
- Patching hosts, cluster nodes and the container images you build
- Monitoring and alert tuning as pipelines change
- Restore tests for run and event storage, repeated on a schedule you set
- Host or cluster capacity as run volume and data grow
Recurring costs are the ones that decide the total over time, so compare vendors on them as well as on the setup price.
Can a small team run Dagster in Docker on one VM alone?
A small team with Linux and Docker experience can run Dagster on one VM, but it should expect to own every part of the work. Open-source Dagster runs a webserver that can have multiple replicas, a single daemon for schedules, sensors and run queuing, and code location servers with one replica each. One VM puts all of these in a single failure domain. The team needs people who can own the container configuration, the run and event storage and its backups, host patching, certificates and an on-call rota for the daemon. If nobody has performed a restore before, request an outside review of the first build and the restore procedure. The self-hosting Dagster documentation lists the open-source deployment options to compare against your size.
Which deployment model needs more platform engineering skills?
Kubernetes with Helm needs more platform engineering skills, because the team operates the cluster as well as Dagster. That adds cluster upgrades, node pools, ingress, storage classes, secrets, resource requests and limits, and Helm value management across environments. Docker on a VM has fewer layers but more manual work on each host, including restarts, host hardening and backup scripts that the team writes and maintains. Both models need the same Dagster-specific skills: run storage configuration, daemon health checks, code location setup and upgrade testing. If your platform team already runs a cluster with GitOps and monitoring, Kubernetes often adds less new work. Check which of these skills your staff already have before you choose.
How long does it take to set up a Dagster deployment?
The timeline depends on the scope, so ask for a written timeline tied to a written scope before planning around any date. The main drivers are how many hosts or cluster components are in scope, whether storage and backups must meet a tested standard, how many environments you need, how many pipelines require porting from another orchestrator, and when your identity provider, network access and change approvals will be ready. Ask the vendor to list which of these it assumes you provide. Look for milestones that end with a working restore and a documented upgrade path, not only with a running UI. A timeline without those assumptions gives you little to plan against.
What should a Dagster quote include before work starts?
A useful quote states the host and storage scope, the availability expectation, the backup and restore test, the upgrade runbook and the handover, each as a named deliverable. Ask for:
- Which hosts, cluster components, databases and storage volumes are included, and who provisions each one
- The availability expectation in plain terms, including what happens when the daemon or webserver fails
- A backup scope and a restore test, performed and documented before go-live
- An upgrade runbook covering Dagster, the Helm chart or images and the database
- A handover of documentation, credentials and on-call tasks
Also confirm whether SSO, role-based access and audit logs are in scope. The Dagster pricing page lists these as Dagster+ features rather than part of open-source Dagster, so they change the design. DeployOpen agrees scope, deliverables and timelines in writing before work starts.
What does on-call coverage for the Dagster daemon involve?
On-call coverage means a named person is alerted and can act when the daemon stops, because schedules, sensors and run queuing depend on it. The open-source architecture runs a single daemon, so a stopped or unhealthy daemon halts scheduled and sensor-triggered work until it recovers. Coverage needs health checks that alert when the daemon stops, a documented restart procedure, a confirmed check that queued runs resume after a restart, and a clear owner for out-of-hours response. Agree on response expectations in writing and decide who is paid to be on call. Ask whether a quote includes the rota itself or only the alerting tools.
What storage and backups does a Dagster deployment need?
A Dagster deployment needs durable storage for runs, event logs and schedules, plus backups you have restored at least once. That storage defaults to SQLite and can use PostgreSQL, so the choice matters once more than one host or team depends on it. SQLite keeps state in a file on one host, which ties recovery to that machine. PostgreSQL moves that state into a database you can back up, replicate and monitor with your existing tools. Plan backups for the database, configuration and any code artifacts, and set a retention period that your compliance team approves. Confirm whether your database standards already cover these steps before you accept a separate backup design.
How to move a Dagster deployment between models without rewriting pipelines
This sequence moves a Dagster deployment between Docker, Kubernetes and virtual machines without changing the Python asset definitions. The changes are deployment configuration, the run launcher and executor, and the storage backend. It ends with a tested restore, one active daemon and a runbook the operating team owns.
Set availability goals and name daemon owner
Agree in writing how long schedules and sensors may pause during maintenance, since open-source Dagster runs a single daemon for schedules, sensors and run queuing. Name one team, usually platform engineering, that owns that daemon, its restarts, its health checks and its alerts. Record the owner, the acceptable gap and the restart procedure in the runbook draft. The step is done when the owning team signs off on all three.
Choose storage and confirm SQLite fit
Dagster keeps runs, event logs and schedule storage in SQLite by default and can use PostgreSQL instead. Ask Dagster whether SQLite suits your expected run volume and how many hosts or replicas will touch the same state. If the answer points to shared state or heavier load, use PostgreSQL for run and event log storage and provision its backups before go-live. The step is done when the storage decision, Dagster's answer and the backup plan are recorded.
Pick the host model and confirm components
Choose Docker, Kubernetes or virtual machines based on the platform skills and tooling your team already runs. Dagster's run launcher, run coordinator and executor are swappable, so the host model decides which launcher and executor you configure. Confirm the exact components for that host with Dagster, and confirm how code location servers, which run one replica each, will be deployed and restarted. The step is done when a development deployment launches a run on the chosen host with the agreed launcher and executor.
Build staging and test restore and restart
Build a staging copy on the target host with the same configuration, then restore a recent copy of the run and event log storage into it. Run a restore test that confirms runs, event history and schedule state come back intact. Then run a daemon restart test and confirm that schedules and sensors resume and that no run is launched twice. The step is done when both tests pass and the results, including any failures you fixed, are written into the runbook.
Cut over schedules and sensors to one daemon
Move schedules and sensors in a planned window, stopping the old daemon before the new one starts so that two daemons never evaluate the same schedules. Confirm in the Dagster UI and in your process monitoring that exactly one daemon is running on the new host. Watch the first scheduled and sensor-triggered runs to confirm each fires once. The step is done when the old deployment is shut down and the first cycle of scheduled runs completes with one run per trigger.
Write the runbook and hand it over
Write the runbook for upgrades and rollbacks. It should pin versions, set the order for upgrading the webserver, the daemon and code locations, require a storage backup before each change, and state how a rollback restores storage. Walk the operating team through it and rehearse one rollback in staging. The step is done when the owning team signs off after performing that rollback itself.
How DeployOpen scopes, delivers and supports self-hosted Dagster
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Dagster, the Docker, Kubernetes or virtual machine choice is scoped against your sizing, availability and team skills before any build starts. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first.
How we scope
- The written scope names the runtime for Dagster: Docker, Kubernetes with Helm, or virtual machines.
- Scope covers sizing for the webserver, daemon, code locations and run storage, with the capacity inputs you must supply.
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.
How we build
- Deployment into your infrastructure, with the single daemon and one-replica code location servers set up as documented.
- Run, event log and schedule storage moved from SQLite defaults to PostgreSQL, with the launcher matched to your runtime.
- Hardening, backup routines and a retest of the deployed setup, documented for your security and compliance reviewers.
How we hand over
- Written runbooks for upgrades across Dagster releases, such as the 1.13.x line, and for rolling back a failed upgrade.
- Architecture and configuration documentation that states which component runs where, so your team can review the layout.
- A handover session with your platform engineers covering backup restores, scaling and day-to-day operations.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the original build.
- Ask in the quote which Dagster upgrades are included and who patches the underlying host.
- Confirm response expectations and escalation paths in the written scope before work starts.

