Web, ERP & AnalyticsSave ~$166/yr vs Plausible / Fathom Cloud (100k)

Self-Hosting Umami Analytics on a VPS (2026): Cookie-Free GA4 Alternative (<300 MB)

Umami is GDPR/cookie-free web analytics in Next.js + PostgreSQL consuming ~280 MB RAM idle (compared to Plausible's ~1.4 GB ClickHouse stack). Ideal add-on on any Hostinger KVM 1/2 VPS.

Self-Hosting Umami Analytics on a VPS (2026): Cookie-Free GA4 Alternative (<300 MB)
RATE SHEET

Hardware Spec & Verified Rate Sheet: Umami Analytics

November 22, 2026
Hardware Spec & Verified Rate Sheet: Umami Analytics
Provider / TierHardware & ArchitectureListNet BenefitCodeLink
Hostinger KVM 1
Recommended for Umami Analytics
1 vCPU AMD EPYC · 4 GB DDR5 · 50 GB NVMe · 4 TB$6.49/mo~$5.19/mo (-20%)Claim -20%
Proton (VPN & Privacy)
WireGuard + VPS Privacy
Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/PassSubscription$20 USD creditClaim $20
01 Open the link to bind XF3PLUTARXVF (-20%) or 5AA9X0DA ($20 USD).02 Pick 12/24-mo KVM VPS or Proton Plus/Unlimited.03 Deploy Ubuntu 24.04 + Docker + WireGuard tunnel.
01 / HARDWARE TELEMETRY

Measured RAM, vCPU & NVMe Profile for Umami Analytics

Min → Rec RAM
1 GB → 4 GB
Idle 280 MB · Peak 750 MB
Min → Rec vCPU
1 → 1 vCPU
AMD EPYC / High-Clock
Min → Rec NVMe
20 → 50 GB
PCIe Gen4 NVMe SSD
Primary Bottleneck

PostgreSQL index writes during viral traffic spikes (>100 req/s)

Projected Memory Footprint on Hostinger KVM 1 (4 GB RAM)Idle 7% · Peak 18% · Headroom 82%
02 / DOCKER COMPOSE & SHELL

Production Deployment Stack (Umami Analytics)

Docker Stack Sizer
docker-compose.ymlyaml
services:
  umami:
    image: ghcr.io/umami-software/umami:postgresql-latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:3005:3000"
    depends_on:
      - db
    environment:
      DATABASE_URL: postgresql://umami:${POSTGRES_PASSWORD}@db:5432/umami
      APP_SECRET: ${UMAMI_SECRET}
      TRACKER_SCRIPT_NAME: metrics.js
    deploy:
      resources:
        limits:
          memory: 768M

  db:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: umami
      POSTGRES_USER: umami
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
    volumes:
      - umami_pg:/var/lib/postgresql/data

volumes:
  umami_pg:
deploy-and-verify.shbash
mkdir -p /opt/umami && cd /opt/umami
printf "POSTGRES_PASSWORD=%s\nUMAMI_SECRET=%s\n" "$(openssl rand -hex 24)" "$(openssl rand -hex 32)" > .env
docker compose up -d
03 / PRODUCTION FIELD NOTES

Critical Operational Insights

Umami's tracking script is ~2 KB gzipped — 20x smaller than Google Analytics 4, directly improving Core Web Vitals (LCP/INP).
04 / SECURITY & PRIVACY

UFW Firewall, TLS & WireGuard / ProtonVPN Hardening

Change the default `admin` / `umami` password immediately after first login and set `TRACKER_SCRIPT_NAME=metrics.js` behind your own subdomain.

Isolate container egress with ProtonVPN WireGuard + Proton Suite (US$20 in credits · code 5AA9X0DA).Claim US$20 on Proton
05 / VERIFIED DEPLOYMENT STACK

Deploy on Verified Infrastructure

KVM COMPUTE · EXTRA −20%

Hostinger KVM 1

~$5.19/mo
$6.49/mo
vCPU
1 EPYC
RAM
4 GB
NVMe
50 GB
24m Save
~$31
Renew: $9.99/mo · Free backups
SWISS PRIVACY · ACCOUNT CREDIT

Proton VPN & Unlimited

US$20
in credits
Tunnel
WireGuard
Docker
Gluetun + NAT
Suite
VPN·Mail·Drive
pr.tn/ref/5AA9X0DA

Frequently Asked Questions

Umami vs Plausible on a 4 GB VPS?

Umami wins on 4 GB VPS nodes because PostgreSQL uses ~280 MB total, whereas Plausible requires ClickHouse (~1.2–2 GB RAM alone).

More blueprints in this category

All guides