Web analytics

Umami VPS requirements: RAM, CPU, disk, and when 1 GB is enough

By VPSfit · Sources checked · Umami website · source code · MIT

Umami is a privacy-friendly, cookieless web analytics tool, and one of the lightest to self-host: one Next.js container plus PostgreSQL, with no ClickHouse. The project publishes no RAM figure. An idle install read about 165 MB in one independent test, while users running v3 report the app container alone at 270 to 360 MB. The prebuilt Docker image is comfortable on a 1 GB VPS with swap. Building from source is what needs more: Next.js builds have been killed on 1 GB servers, and 2 GB with swap is the reported fix. On big sites the limit moves to PostgreSQL queries, which is a CPU and disk question rather than RAM.

Sizing guide

Our recommendations, derived from the sourced figures below. Not measurements.

ScenarioRAMvCPUWhy
A few personal or small-business sites, prebuilt Docker image1 GB1Our estimate, which matches SelfHost Atlas's floor. Idle readings run from 165 MB in one install test to 270–360 MB for the v3 app container alone in user reports, plus PostgreSQL, so 1 GB fits with little to spare. Add 1–2 GB of swap. We haven't measured it on a VPS yet.
Building from source, or Umami next to other apps2 GB1Next.js builds have been killed on 1 GB servers and on 2 GB without swap; 2 GB with a 1 GB swap file is the reported working setup. The same 2 GB gives a light neighbour room.
Busy sites with millions of events, or several apps4 GB2Our estimate. At this scale PostgreSQL query time is the limit: give it a second vCPU, more shared_buffers and fast disk. Users have hit slow dashboards at 0.4 to 11 million event rows, so upgrade to v3.4.0 or later and run ANALYZE after major upgrades.

Official requirements

ItemWhat the project saysSource
InstallDocker Compose from the repo (ghcr.io/umami-software/umami:latest plus postgres:15-alpine), a prebuilt image you point at your own PostgreSQL, a source build with pnpm, or a third-party Helm chart. The app listens on port 3000Umami docs: Installation
checked Nov 12, 2026
Requirements"A server with Node.js version 20.19 or newer (22 LTS recommended)" for source installs, and PostgreSQL 12.14 or newer. The docs recommend running PostgreSQL in UTC. No RAM or CPU minimum is publishedUmami docs: Installation, Requirements
checked Nov 12, 2026
Database"Umami v3 no longer supports MySQL as a database option, only PostgreSQL." A guide covers moving a v2 MySQL install to PostgreSQLGitHub release notes: Umami v3.0.0 (7 Nov 2025)
checked Nov 12, 2026
SecretsAPP_SECRET must now be set explicitly (generate it with openssl rand -hex 32); v3.5.0 no longer falls back to DATABASE_URL. TWO_FACTOR_ENCRYPTION_KEY, a 64-character hex string, is required before anyone can turn on 2FAUmami v3.5.0 release notes; docs: Environment variables
checked Nov 12, 2026
Default loginThe first start creates admin / umami. The docs say to change it right away, and from v3.5.0 Umami requires the seeded admin password to be changed before you can continueUmami docs: Installation; v3.5.0 release notes
checked Nov 12, 2026
Optional servicesREDIS_URL turns on Redis-backed caching and coordination features; without it they stay off. PRIVATE_MODE=1 disables all external network calls, DISABLE_TELEMETRY=1 stops the anonymous telemetry, and DISABLE_UPDATES=1 stops the version checkUmami docs: Environment variables
checked Nov 12, 2026
ArchitecturesThe ghcr.io latest image is published for linux/amd64 and linux/arm64, so it runs on Arm VPS plans and Raspberry Pi-class boardsghcr.io umami-software/umami:latest manifest
checked Nov 12, 2026
Current versionv3.5.0, released 12 Nov 2026 UTC (browser error tracking, database migration 27_add_error_tracking). v3.4.1 (23 Oct 2026) was a security hotfix that upgraded Next.js to 16.4.2 for a critical RCEGitHub releases: umami-software/umami
checked Nov 12, 2026

What people report in practice

Individual reports, not controlled tests. Versions, hardware and settings differ, so treat these as data points, not guarantees.

  • Umami read 165 MB of RAM and 1.8 GB of Docker disk shortly after the documented install on a clean 2 vCPU / 8 GB VM. In the same sweep Plausible, which adds ClickHouse, read 619 MB. The testers list 1 GB as their own floor for app and database, noting that upstream publishes no RAM figure

    Independent test of 96 self-hosted apps, Google Cloud e2-standard-2, 28 Sep 2026. One reading shortly after install, with no data or traffic

    Blog SelfHost Atlas: Self-hosted app RAM usage, 96 apps measured (2026) · checked Nov 12, 2026

  • "Out of 15 containers, Umami is using the most RAM. 268MB." A second user on Railway reports the v3 container "averaging 300-360mb" on its own, on top of PostgreSQL, and says v3 uses considerably more memory than v2 did

    GitHub issue, opened Aug 2026, still open; comments through Nov 2026

    GitHub GitHub umami-software/umami #4498: High memory/RAM usage · checked Nov 12, 2026

  • The Docker image used to keep three idle launcher processes (npm, npm-run-all, npm) alive next to the server. Running the server as PID 1 cut container memory from about 255 MiB to 183 MiB (roughly 28%) under load in the author's test

    Merged pull request, Jun 2026

    GitHub GitHub umami-software/umami #4343: Run server as PID 1 in Docker · checked Nov 12, 2026

  • "A 1GB DigitalOcean server cannot create the build, but a 2GB server is fine." Another user's source build on a 2 GB VPS with no swap was killed and took the other sites down with it; a third confirmed "2GB RAM with a 1GB swap file worked fine"

    GitHub issue about yarn build being killed, Jun to Sep 2024. An older 2022 issue reports the same on a 1.5 GB shared host

    GitHub GitHub umami-software/umami #2812: Can't build after v2.11.2 · checked Nov 12, 2026

  • Opening one session profile ran a PostgreSQL query for over 5 minutes; two at once used about two CPU cores. The instance had about 443,000 website_event rows and 6.88 million event_data rows (about 1.7 GiB with indexes) on a 4 vCPU, 15 GiB host. The maintainer says it was fixed in v3.4.0

    GitHub issue, Sep 2026, closed Nov 2026

    GitHub GitHub umami-software/umami #4526: session activity query saturates CPU · checked Nov 12, 2026

  • After upgrading an instance with about 11 million website_event rows to v3, filtered dashboard queries were more than 10 times slower because PostgreSQL's planner statistics were stale. Running ANALYZE fixed it, and the update docs now say so

    GitHub issue, Jun 2026, closed Jul 2026

    GitHub GitHub umami-software/umami #4353: Run ANALYZE after migrations · checked Nov 12, 2026

  • After the v3.0 upgrade, one user's Umami PostgreSQL container on a Hetzner VPS with Coolify used 3 cores and 2.64 GB of RAM with heavy disk writes. It persisted after downgrading, and went away after redeploying and restoring the database from a backup

    GitHub issue, Nov 2025, closed by the reporter

    GitHub GitHub umami-software/umami #3777: Postgres resource usage after upgrade to 3 · checked Nov 12, 2026

  • Several users found crypto miners and unknown binaries running inside their Umami containers after the Next.js React Server Components RCE (CVE-2025-66478). Umami patched it in v3.0.2 and v2.20.0; one later report of a 2.6 GB process killed by the OOM killer on a Raspberry Pi was traced to the same cause on v2.19.0

    GitHub issues #3852 (Dec 2025) and #3988 (Jan 2026)

    GitHub GitHub umami-software/umami #3852: RCE via Next.js CVE-2025-66478 · checked Nov 12, 2026

Our measurements: coming soon

We haven't measured Umami yet, so there are no VPSfit lab numbers on this page. When we do, they'll show the app version, the plan it ran on, the date, and the raw data. Here's what we'll record:

  • Idle and 24-hour RAM of Umami 3.5 (app and PostgreSQL separately) with the default compose on a 1 GB and a 2 GB plan
  • Whether a 1 GB plan with 2 GB of swap stays up for a week with one low-traffic site and Redis off
  • Peak RAM and time of pnpm build on 1, 2 and 4 GB plans, with and without swap
  • Dashboard load time for 30 and 365 days at 100k, 1M and 10M events on 1 and 2 vCPU

How we measure →

What drives Umami's RAM use

Next.js, not PostgreSQL, sets the idle size

Umami is a Next.js app, and a Node process tends to hold memory it could release until it's under pressure. v3 uses noticeably more than v2: users report 268 MB and 300 to 360 MB for the app container (#4498). A June 2026 change that runs the server as PID 1 dropped three idle launcher processes and about 28% of container memory (#4343), so use a current image. PostgreSQL itself stays small on a small site.

The build is the RAM spike

The prebuilt image needs no build at all. If you install from source, pnpm build compiles the Next.js app and has been killed by the OOM killer on 1 GB and swapless 2 GB servers (#2812). Add swap before building, or use the Docker image and skip the problem. One user on a 1.5 GB host got the build through by limiting Next.js to one CPU and no worker threads (#1539).

Big datasets are a PostgreSQL problem

Everything lives in PostgreSQL. Dashboards over long ranges and session views get slow as tables grow: a session profile query ran for minutes at 6.88 million event_data rows until v3.4.0 fixed it (#4526), and stale planner statistics made an 11-million-row instance 10 times slower after the v3 upgrade (#4353). Disk speed and a second vCPU help more than extra RAM. There is no built-in retention setting yet; a pull request to delete a date range is open (#4730).

Gotchas on a VPS

  • Patch promptly: Umami is internet-facing Next.js. Your tracking endpoint has to be public, so Next.js vulnerabilities hit Umami directly. Users found crypto miners in their containers after CVE-2025-66478 (#3852), and v3.4.1 was another critical-RCE hotfix (release notes). Watch releases, and if a container ever shows unknown processes or a sudden RAM or CPU climb, treat the server as compromised.
  • Set APP_SECRET and change admin / umami first. The repo's compose file refuses to start without APP_SECRET in .env, and v3.5.0 no longer falls back to DATABASE_URL. Log in straight away and change the default admin / umami password, before anyone else finds the page (install docs).
  • MySQL installs must migrate before v3. v3 is PostgreSQL only. If you're on a v2 MySQL install, follow the project's MySQL to PostgreSQL guide before upgrading, and keep a dump of the old database.
  • Check the PostgreSQL volume path if you change the image. One user lost (and later recovered) eight months of data after moving to PostgreSQL 18, which stores its data in a different folder: the volume pointed at the wrong path, so recreating the container started an empty database and Umami re-initialised it (#4445). The repo's compose uses postgres:15-alpine; if you bump the major version, migrate the data and fix the mount first.
  • Run ANALYZE after a major upgrade. The update docs now say it: after migrations such as the move to v3, run ANALYZE; on the database so dashboard queries use good plans again. It's safe on a live database (updates).
  • Ad blockers and telemetry. Blocklists know script.js and /api/send; the documented fix is to rename them with TRACKER_SCRIPT_NAME and COLLECT_API_ENDPOINT before you add the snippet to your sites. Set DISABLE_TELEMETRY=1 if you don't want anonymous telemetry sent (environment variables).
  • It has to be reachable from the internet. Like Plausible, Umami must accept tracking requests from every visitor's browser, so it can't live only behind a VPN. You can keep it at home and publish just its hostname through a tunnel such as Pangolin. Behind more than one proxy, set TRUSTED_PROXIES so Umami records visitors' real IPs for country lookup. Back up the PostgreSQL volume or a pg_dump off the server; we haven't tested a restore ourselves yet.

Cheapest plans that fit

Umami (prebuilt Docker image + PostgreSQL) for a few small sites: 1 GB RAM and 1+ vCPU

Threshold: Our estimate, not a measurement: 165 MB idle in one test and 270–360 MB app-container reports, plus PostgreSQL and swap (source). Only plans with at least 1 vCPU are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Vultr Cloud Compute Regular 1 GB 1 GB 1 shared, previous-gen Intel 25 GB SSD $5.00
before tax
Monthly price, hourly billing vultr.com
checked Nov 12, 2026
DigitalOcean Basic 1 GiB 1 GB 1 shared 25 GB SSD $6.00
before tax
Monthly cap, per-second billing digitalocean.com
checked Nov 12, 2026
Hetzner CPX02 (Regular Performance) 1 GB 1 shared, AMD 20 GB NVMe €5.49
excl. VAT · ≈ $6.16
Monthly cap, hourly billing hetzner.com
checked Nov 12, 2026

Umami built from source, or next to other apps: 2 GB RAM and 1+ vCPU

Threshold: Community reports: source builds were killed on 1 GB and worked on 2 GB with 1 GB of swap (source). Only plans with at least 1 vCPU are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Vultr Cloud Compute Regular 2 GB 2 GB 1 shared, previous-gen Intel 55 GB SSD $10.00
before tax
Monthly price, hourly billing vultr.com
checked Nov 12, 2026
Hostinger KVM 1 4 GB 1 AMD EPYC 50 GB NVMe $11.99
intro $6.49
before tax
Prepaid intro rate; renews at $11.99/mo hostinger.com
checked Nov 12, 2026

Umami for busy sites (millions of events): 4 GB RAM and 2+ vCPU

Threshold: Our estimate, not a measurement: PostgreSQL query time dominates at this size, so a second vCPU and room for caches (source). Only plans with at least 2 vCPUs are listed.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Contabo Cloud VPS 8 24 GB 8 shared 300 GB SSD (or 150 GB NVMe) €11.20
excl. VAT · ≈ $12.56
24-month term (effective monthly rate) contabo.com
checked Nov 12, 2026
Hostinger KVM 2 8 GB 2 AMD EPYC 100 GB NVMe $14.99
intro $8.79
before tax
Prepaid intro rate; renews at $14.99/mo hostinger.com
checked Nov 12, 2026

Prices checked Nov 12, 2026 on each provider's official pricing page. EUR prices converted at the ECB rate of Nov 11, 2026 (1 € = $1.1127) only for ranking. See every plan on the cheapest 2 GB, 4 GB and 8 GB VPS pages.