Umami on Docker vs Kubernetes vs VMs

Docker Compose, Kubernetes and virtual machines each run Umami differently. Choose by team skills, uptime needs and how much upgrade and backup work your team can own.

On this page

Umami on Docker vs Kubernetes vs VMs: which model fits your team

Choose Docker Compose if you are a small team that wants the fewest moving parts, Kubernetes if you already run clusters and standard tooling, and a virtual machine if you manage Linux hosts and want direct control of Node.js and PostgreSQL. The license does not separate these options. Umami is MIT licensed and free to self-host, so the decision turns on staff time and infrastructure. Three factors should settle it: the skills already on your team, the uptime your analytics must meet, and who owns patching and backups. Name that owner before you pick a model, because the owner carries the operating work in every option.

Start with existing skills, because they set the real effort in each model. Docker Compose asks for Docker on a host and a PostgreSQL data volume you can back up. Kubernetes asks for operators who already handle ingress, secrets, persistent volumes and upgrades for stateful services. A VM asks for someone who patches the operating system, manages the Node.js runtime (a source install needs Node.js 18.18 or newer) and administers PostgreSQL (Umami supports version 12.14 and later). Uptime is the second test. A single Compose host or single VM is one point of failure. Extra Umami replicas on Kubernetes do not protect analytics if the database has no separate high availability plan. Check the Umami installation documentation against your own environment before you commit.

Last, decide who owns patching and backups, since that owner carries the work in every model. With Compose, your team pulls the prebuilt image at docker.umami.is/umami-software/umami and maintains the bundled PostgreSQL. That bundled database suits evaluation, but treat it as a production choice only after backups have been restored in a test. On a VM, your team patches the host, Node.js and PostgreSQL. On Kubernetes, the platform team often owns the cluster while the application team owns the Umami release, so write that split into the runbook. Before go-live, ask for a restore test, a pinned image tag, and a written upgrade path between Umami releases such as v3.4.0, published September 17, 2026.

How Umami on Docker, Kubernetes and VMs compare on uptime, upgrades and skills

This table compares how Umami runs on a single Docker Compose host, a Kubernetes cluster and a VM with a source install, across setup, components, high availability, upgrades, backups, patching and skills. Cells marked Documented rest on Umami's published Docker and installation paths, while cells marked Confirm need an answer from Umami or your own environment before you commit. The Docker Compose path has the fewest open questions, and the Kubernetes and source install paths leave more high availability and upgrade steps for you to verify.

AreaDocker Compose on one hostKubernetes clusterVM with source install
Setup pathDocumented: prebuilt Umami image and a Compose file that starts Umami with a bundled PostgreSQL.Confirm: whether Umami publishes Kubernetes manifests or a chart, and who maintains them.Documented: source install on Node.js 18.18 or newer, with PostgreSQL 12.14 or newer.
Components your team runsUmami container, PostgreSQL container, the Docker host and its volumes.Umami workload, ingress, cluster nodes and PostgreSQL, unless a managed database service provides it.Node.js runtime, Umami app process, PostgreSQL, reverse proxy and the VM operating system.
High availability approachOne host means no automatic failover. Confirm with Umami whether the bundled database suits production use.Confirm: whether several Umami replicas are supported against one external PostgreSQL database.Needs a second VM, a load balancer and a shared PostgreSQL. Confirm that Umami supports two app instances.
Upgrade pathDocumented: pull a newer image and recreate containers. Confirm database migration steps for each release.Confirm: rollout method and database migration handling for your chart or manifests.Confirm: exact rebuild, migration and restart steps per release. Latest listed release is v3.4.0 (September 17, 2026).
Backup scopePostgreSQL data in the Compose volume, plus the Compose file and environment settings.PostgreSQL data wherever it runs, Kubernetes secrets and config, and any persistent volumes.PostgreSQL data, application configuration and environment file, and the host's own configuration.
OS patching ownerYour team patches the host OS and Docker engine, and a restart takes the single instance offline.Node pool owner, often the platform team or a managed provider. Confirm who patches nodes.Your team patches the VM operating system, Node.js runtime and PostgreSQL.
Skills neededLinux administration, Docker and Compose, and basic PostgreSQL backup and restore.Kubernetes operations, ingress and secrets, PostgreSQL operations, and Helm or manifest handling.Linux administration, Node.js runtime management, PostgreSQL operations, reverse proxy and TLS.

What runs in each model and where the parts sit

Every model runs the same three moving parts: the Umami application, a PostgreSQL database and the layer that exposes them to visitors and your team. What changes is where each part sits, who patches it and how it is restored. Read the cards in order to see which parts your team must own in each model.

Umami application

Umami is MIT-licensed and runs on Node.js, so the application is the part you version, patch and restart in every model. On Docker, the prebuilt image and the Compose file start Umami with a bundled PostgreSQL database, which is the shortest path to a working install but ties the database lifecycle to the Compose stack. On Kubernetes and VMs, you own the Deployment or the service unit and the Node.js runtime beneath it. Check which Umami release each environment pins and test upgrades in staging before production.

Installation docs

PostgreSQL database

Umami keeps its analytics data in PostgreSQL, and Umami supports PostgreSQL from version 12.14. The Compose file bundles a database container, which suits a single-host evaluation but makes it your job to snapshot its volume and test restores. On Kubernetes, a managed or operator-run PostgreSQL may bring backup and failover tooling, which you should confirm. On VMs, you install and patch it yourself. Confirm the version your environment runs before you size storage.

Reverse proxy and TLS termination

Umami sits behind a proxy you choose, and that proxy is where TLS ends. Each model needs a decision: a Compose service or host-level proxy on Docker, an ingress controller and certificate manager on Kubernetes, or a web server on the VM. Check that the tracking script and collection endpoint stay reachable through the proxy, that forwarded headers are handled as you expect, and who renews certificates and how often.

Host or node layer

This is the machine, virtual machine or Kubernetes node that runs the containers or the Node.js process. A source install needs Node.js 18.18 or newer on this layer, and a Docker or Kubernetes install needs a container runtime and OS patch cadence your security team can approve. Sizing here follows your expected event volume, which a pilot can measure before you commit to node counts or VM specifications.

Source install requirements

Backup target

The backup target holds PostgreSQL dumps or volume snapshots, along with the configuration needed to rebuild the stack. A backup that captures only the database volume leaves out the Compose file, environment variables and proxy settings, so keep those in version control too. Set retention and a restore test schedule before go-live, and record who can access the backup location, since it holds all collected analytics.

How a tracked visit reaches Umami and PostgreSQL in a self-hosted install

The diagram starts with a visitor's browser loading a page that carries the Umami tracking script. The event travels over HTTPS to a reverse proxy or ingress, which is where TLS ends in this layout. Umami then reads and writes PostgreSQL inside the same boundary, and a scheduled backup copies the database to a separate target. The Docker host, VM or cluster is the trust and network boundary, so review firewall scope, access rules and backup location there. The Kubernetes path sits in its own box because it is an option you must confirm before design, including where TLS terminates and where the database runs.

Request path from visitor browser to PostgreSQL and backups, with the trust boundary marked.

How high availability changes between Docker, Kubernetes and VMs

The documented baseline is one Umami application instance connected to one PostgreSQL database, and the Docker Compose file starts Umami with a bundled PostgreSQL database. A default install therefore has a single point of failure at both layers. Real high availability needs three things beyond that baseline: more than one application instance, a PostgreSQL setup with replication or managed failover, and a load balancer that health-checks the instances and stops routing traffic to a failed one. Docker on a single host gives you restart policies but no second host to fail over to. Kubernetes can run several replicas and reschedule them, but only if the database and ingress are also highly available. A VM restart recovers the same machine, so failover has to come from a second VM behind the load balancer. Check the installation documentation for any multi-instance guidance, and ask Umami directly whether a multi-instance topology is documented before you design for one.

A host reboot, a VM restart and a Kubernetes reschedule all end the in-flight requests on the affected instance. The process stops mid-request, and an event is lost unless the sender retries it. Confirm with Umami how failed event sends are handled before you promise any loss rate to the business. For the database, the impact depends on where PostgreSQL runs. If it sits on the same host, the reboot stops it too, and Umami cannot record events until PostgreSQL is back and its data volume is mounted. In Kubernetes, a rescheduled pod starts from a fresh container on another node, so the application must reconnect to the database, and a single replica leaves the endpoint unavailable for the length of that move. The gap depends on image pull time, node health and database startup, so measure it in your own cluster instead of relying on a vendor figure.

Before you pick a topology, write down the acceptable downtime for this analytics workload. Set the number of minutes of event collection the data owner accepts per incident, and state whether gaps in the dashboards people use for reporting are acceptable. Analytics gaps usually carry less risk than gaps in security logging, but that judgment belongs in writing and needs sign-off from the team that owns the data. If Umami confirms a multi-instance topology, the number decides whether you need database replication, managed PostgreSQL failover and a load balancer. If it does not, plan for one instance with a tested restore and a documented restart procedure. Ask your implementation partner to rehearse a reboot and a database failover in staging and record the observed gap, so the written target is checked against a measured result.

Upgrades and backups for Umami on Docker, Kubernetes and VMs

This table compares how Umami upgrades, schema changes, PostgreSQL backups, host patching and monitoring split between your team and any managed provider on Docker, Kubernetes and virtual machines. Read each row as a question to answer before you choose a model. v3.3.1 arrived eight days after v3.3.0, and v3.4.0 came 28 days after that, so a repeatable upgrade and restore-test routine is the main requirement on all three.

AreaDockerKubernetesVirtual machines
Applying a releaseChange the image tag in the Compose file, pull it and recreate the containers.Update the image tag in your manifests or chart and roll it out through your pipeline.Deploy the new build to the host, restart the Node.js service and check it is healthy.
Database migrationsCheck each release note for schema changes and confirm whether the container applies them at start.Confirm whether migrations run at container start or as a separate job before the rollout.Run any schema step the release notes call for during a maintenance window, after a verified backup.
PostgreSQL backups and restore testsThe sample Compose file bundles PostgreSQL, so you must back up its data or point Umami at an external server.Ownership depends on where PostgreSQL runs: an operator, a cloud service or an external server. Confirm it.Schedule dumps or physical backups on the host and test restores on a separate machine.
Patching the host or nodesYour team patches the Docker host and rebuilds or pulls updated images for the app and database.Node patching belongs to your team or your managed Kubernetes provider. Confirm which in writing.Your team patches the operating system, Node.js runtime and PostgreSQL packages on every VM.
Monitoring the app and databaseContainer health checks and logs on the host, plus an external uptime probe for the Umami endpoint.Liveness and readiness probes, pod logs and cluster metrics, with PostgreSQL watched by its own tooling.Process supervision, host metrics and log shipping that your team builds and maintains per VM.
Release cadence: v3.3.0 (August 12, 2026), v3.3.1 (August 20), v3.4.0 (September 17)Someone must track each release and test the new tag in staging before production.Pipelines should absorb frequent tag changes, and staging should mirror production.Each release is a manual change with a test, a maintenance window and a rollback plan.

Which team should pick Docker, Kubernetes or a VM

Choose this model when one team owns a single Linux host, the expected traffic fits on one database server, and nobody on the team runs a cluster today. Umami publishes a prebuilt Docker image and a Compose file that starts Umami with a bundled PostgreSQL database, so the first install is short and easy to reproduce. For one or a few sites, the simpler option is the better choice because it has fewer moving parts to patch, monitor and explain during a review.

  • Skills needed: Linux administration, Docker Compose, a reverse proxy with TLS, firewall rules, and PostgreSQL dump and restore.
  • Upgrades: The host operator pins an image tag, reads the release notes for that tag, and pulls the new version during a planned window.
  • Restores: The same operator owns database dumps and restores. Test a restore on a second machine, because a dump that has never been restored is not yet a tested backup.
  • Where it fits: One or a few sites, modest event volume, and no existing cluster. Compose keeps the stack small and reproducible.
  • Where it falls short: A single host is a single point of failure. The supplied material does not describe a high availability setup for this model, so confirm your failover design and recovery time with your own team.

Before you choose this model, measure how long a restore takes on your hardware and confirm that your analytics owners accept the data gap that a restore would leave.

What it costs to move Umami to another deployment model later

Moving Umami between deployment models is mostly a database, configuration and cutover exercise. The application itself is the same in each model, so the work centers on what the instance holds and how outside traffic reaches it. That covers the PostgreSQL data, the environment settings that point Umami at its database and public address, the TLS certificates and DNS records that serve the dashboard, and the hostname that every tracking script sends events to. The last item is the one teams underestimate. Changing it means editing the script on each website, or keeping the old hostname alive as a forwarder for as long as those pages exist. Check the Umami installation documentation and your own install notes to see which settings embed the public URL before you pick a cutover date.

The cost of the move comes from four places, and each has a different owner. The downtime window is the first. While the final database copy is taken and restored, the dashboard and collection endpoint may be unavailable, and events sent during that window are lost unless something upstream queues them. Backup verification is the second. A backup only helps a cutover after someone has restored it and checked the result. Retesting is third: confirm login, tracking, reports and any scheduled jobs on the new side. Staff time is the fourth, on both the source and target sides, whether your platform team, your database administrator or a partner carries it. These costs are one-time for each move but recur if you move again. A quote or internal estimate should state who restores the database, who signs off the cutover, what retest scope is included, and how the rollback path is handled if the cutover fails.

Rehearse the move on a copy of the production database before you schedule the cutover. Restore the latest PostgreSQL dump into a staging instance on the target model, point a test website's tracking script at it, and compare dashboards and event counts with the source for the same period. Time the restore and configuration steps from start to finish, because that measured duration is the downtime window you can promise internally. Keep the source instance and its database untouched until the target passes these checks, so rollback means moving DNS or the script hostname back. Write the steps into a runbook with one named owner each, and repeat the rehearsal after each Umami upgrade so the runbook matches production. (Illustrative: if the restore runs longer than the planned window, move the cutover to a quieter period or widen the window before you announce the date.)

How to choose a model and roll out Umami in five steps

This sequence takes a team from an inventory of what it already runs to a live Umami install with tested backups and a rollback path. Each step names who decides and what a security or compliance reviewer will ask to see. The output is a decision record that the reviewer can check against the install itself.

  1. Inventory existing platforms and skills

    The platform lead, with the team that will run Umami, lists the container hosts, Kubernetes clusters, virtual machines, PostgreSQL databases, backup tooling and on-call skills already in place. Compare that list with what the Docker, Kubernetes and VM options each require. A reviewer will ask for the inventory with named owners for every system. The step is done when each gap is either closed or accepted in writing by the owner of the service.

  2. Set uptime and retention requirements

    The analytics owner sets the uptime target, the period each data class is kept and the regions where data may sit, with the compliance lead approving retention. Umami Cloud's published plans offer 6 months, 2 years and 5 years of retention, which gives a benchmark for what a self-hosted install must match or justify. Self-hosting also means someone owns backups, patching and recovery, so the recovery time and recovery point targets belong here too. The reviewer will expect a signed requirements note that maps each target to a test in step four.

  3. Choose the deployment model and sizing

    The head of platform engineering picks Docker, Kubernetes or virtual machines, with the CISO approving the choice against the requirements from step two. Confirm the runtime baseline first: Umami's installation docs call for Node.js 18.18 or newer for a source install, and PostgreSQL 12.14 or newer. Record who patches the host, who restores the database and how high availability is handled, or why it is not needed. The output is a short architecture decision record that names the model, the owner of each layer and the open risks.

  4. Run a rehearsal install with restore tests

    The platform engineer builds the chosen model in a non-production environment, using the Umami Docker image or a source install, and pins the version under test, such as v3.4.0, released September 17, 2026. Then run a backup and a full restore into a separate environment, confirm the analytics data and admin accounts return, and confirm Umami starts against the restored database. The security reviewer will ask for the install record, backup job logs and a restore test result that maps to the targets from step two. The step closes when a restore has succeeded and been witnessed by someone other than the person who ran it.

  5. Cut over with a tested rollback plan

    The service owner approves go-live through the organization's change process, with the platform lead executing it. Switch the tracking script and any reporting links, keep the previous environment available until the rollback window closes, and run the rollback steps once in rehearsal so they are known to work. A reviewer will ask for the signed change record, the rollback runbook, admin access review and the log of the first production backup. The output is a closed change ticket and a live install that has passed its first scheduled backup.

How much effort, time and staff does an Umami deployment on Docker, Kubernetes or a VM need?

What drives the cost and effort of running Umami on Docker, Kubernetes or a VM?

Most of the cost comes from who operates the stack after launch, and the first install is usually the smaller share. On Docker Compose, the host owner handles patching, TLS, backups and upgrades for the containers and the bundled PostgreSQL database. On Kubernetes, the same tasks sit on top of cluster upkeep, ingress, storage and the manifests or charts that describe Umami. On a VM, the operating system lifecycle and the database layer are yours, and each upgrade is more manual. The main drivers are:

  • The number of environments, including staging and restore tests
  • Traffic volume and the database size that follows from it
  • Whether the database is self-run or on a service you already operate
  • Whether the cluster or VM platform already exists and is supported
  • The compliance evidence you must produce for each change

Ask any quote to split one-time setup from recurring upkeep and to name who is paid for each item.

What does an Umami deployment need from our own team?

Your team needs an owner for the hosts or cluster, the network path, the database and the admin access, plus someone who reviews each upgrade before it reaches production. Umami publishes a Docker image and a Compose file that starts the app with a bundled PostgreSQL database, so the first install is a small task for a platform engineer. The ongoing work is the larger part:

  • Scheduling database backups and restore tests
  • Applying upgrades, such as the v3.4.0 release published on September 17, 2026, after testing on a copy of your data
  • Monitoring uptime, certificates and database disk space
  • Keeping data retention and tracking settings aligned with your privacy notices

Confirm with any implementation partner which of these tasks transfer to them and which stay with your team after handover.

Can a small team run the Umami Docker Compose setup on its own?

A small team can run the Docker Compose setup alone if it has container experience and a restore procedure that it has tested. The Compose file starts Umami with a bundled PostgreSQL database, which keeps the first deployment to few moving parts. The bundled database is the point to check, because a production team often wants the database on a backed-up and monitored service it already runs. Before go-live, confirm that a named person can:

  • Restore the database to a new host within your recovery target
  • Roll back to the previous image tag
  • Rotate the database password and the application secret
  • Respond to an outage outside business hours

If any of these depends on one person who is not available, the setup is not yet covered by staff.

When is Kubernetes overhead worth it for Umami?

Kubernetes is worth its overhead when your organization already runs clusters with standard deployment, monitoring, secrets and backup tooling, and wants Umami managed the same way as other services. For a single analytics service, a cluster adds control plane upkeep, ingress and storage decisions, and another upgrade path to test. The overhead tends to pay back when:

  • Several environments need identical, reviewable manifests
  • Platform engineers already own the cluster lifecycle
  • Admission or image policies apply to every workload
  • You need one rollout, rollback and audit path for all services

If the cluster is new to your team, ask for the cluster build as separate scope, since it may take more effort than Umami itself. Confirm which Kubernetes manifests or charts will be used, who maintains them and how they are tested against each Umami release.

How are timelines set for an Umami deployment project?

Timelines are set in the written scope, once the deployment model, environments and handover items are agreed. DeployOpen works mainly on fixed-scope engagements, so the scope document lists deliverables, dependencies and dates before work starts. The inputs that move a timeline most are:

  • The chosen model and whether the cluster or VM already exists
  • Access approvals for cloud accounts, DNS, certificates and the database
  • Whether backup, restore testing and hardening are included
  • Your change windows and review cycles
  • Compliance evidence that must be produced during the work

Treat any duration without a named dependency for each phase as incomplete, and ask for one before you compare offers.

Will DeployOpen run the Umami model our team chooses?

Yes, DeployOpen can plan, implement, harden, back up, upgrade, document and support a self-hosted Umami deployment in your own cloud account, data center or air-gapped network, whichever of the three models you choose. Scope, deliverables and timelines are agreed in writing before work starts, and ongoing support, upgrades and continuous testing are available as retainers. The written scope should name the model, the hosts or cluster, who holds the admin and database credentials, the Umami and PostgreSQL versions covered, and what happens at handover. DeployOpen does not publish a price list, so a quote follows from that scope.

How does self-hosting Umami compare with Umami Cloud on cost?

Self-hosting Umami is free to run under its MIT license, while Umami Cloud is a subscription priced by plan and event volume. Umami's pricing page lists Hobby at $0 per month for up to 100K events with 6 months of retention, Pro at $20 per month for 1 million events with 2 years of retention, and Business at $200 per month for 10 million events with 5 years of retention. Cloud also adds email reports and a streaming API that the self-hosted version lacks. Self-hosting moves hosting, backup, upgrade and security work to your team or a partner, and that work recurs every year. Ask for a quote that compares the run cost of your self-hosted model with the Cloud tier that matches your event volume and retention. Umami pricing

How DeployOpen plans, builds and supports a self-hosted Umami deployment

DeployOpen starts from the hosting model your team chooses: Docker, Kubernetes or virtual machines, inside your own cloud account, data center or air-gapped network. Umami is MIT licensed and runs on Node.js with PostgreSQL, so most of the work sits in the runtime around it: sizing, database availability, backups, upgrades and access controls. Each engagement follows a written, fixed scope agreed before any build starts.

How we scope

  • The written scope names the hosting model: Docker, Kubernetes or virtual machines, with the reasons for the choice.
  • Sizing for web and PostgreSQL load is agreed from your traffic and event volumes, with the assumptions written down.
  • Ongoing upgrades, support and continuous testing can be added as a retainer after the initial handover.

How we build

  • Umami runs from its prebuilt Docker image or a Node.js 18.18 or newer source install, depending on the chosen model.
  • PostgreSQL is set to version 12.14 or newer, with backups and access controls configured for the database tier.
  • Hardening covers secrets, network exposure, admin accounts and logging, and security testing can be scoped alongside the build.

How we hand over

  • Handover documentation is scoped to cover the chosen topology, upgrade steps, backup and restore procedure and the team's runbook.
  • Backup coverage for the PostgreSQL database is confirmed in writing before handover, with the owner named.
  • Configuration, secrets handling and access settings are documented for your security and compliance reviewers.

How we support

  • Retainers cover upgrades, ongoing support and continuous testing once the installation is live.
  • Upgrades are planned against Umami releases, for example v3.4.0 from September 17, 2026, tested in a staging copy first.
  • Ask for support hours, response expectations and escalation contacts in writing before signing.

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.