Web, ERP & AnalyticsSave ~$744/yr vs Plausible Cloud (1M pageviews)
Self-Hosting Plausible Analytics CE on a VPS (2026): ClickHouse RAM Tuning & Cost
Plausible CE runs Elixir + PostgreSQL + ClickHouse. Out of the box ClickHouse tries to cache aggressively (~1.5–2.5 GB), so capping ClickHouse memory lets Plausible run smoothly on KVM 1 (4 GB, ~$5.19/mo) or KVM 2 (8 GB, ~$7.03/mo with XF3PLUTARXVF).

RATE SHEET
November 22, 2026Hardware Spec & Verified Rate Sheet: Plausible Analytics CE
| Provider / Tier | Hardware & Architecture | List | Net Benefit | Code | Link |
|---|---|---|---|---|---|
Hostinger KVM 2 Recommended for Plausible Analytics CE | 2 vCPU AMD EPYC · 8 GB DDR5 · 100 GB NVMe · 8 TB | $8.79/mo | ~$7.03/mo (-20%) | Claim -20% | |
Proton (VPN & Privacy) WireGuard + VPS Privacy | Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/Pass | Subscription | $20 USD credit | Claim $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 Plausible Analytics CE
Min → Rec RAM
4 GB → 8 GB
Idle 1550 MB · Peak 3400 MB
Min → Rec vCPU
2 → 2 vCPU
AMD EPYC / High-Clock
Min → Rec NVMe
40 → 100 GB
PCIe Gen4 NVMe SSD
Primary Bottleneck
ClickHouse columnar query memory & AVX2/SSE4.2 CPU instruction requirement
Projected Memory Footprint on Hostinger KVM 2 (8 GB RAM)Idle 19% · Peak 42% · Headroom 58%
02 / DOCKER COMPOSE & SHELL
Cloud TCO & SavingsProduction Deployment Stack (Plausible Analytics CE)
docker-compose.ymlyaml
services:
plausible_db:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- db_data:/var/lib/postgresql/data
plausible_events_db:
image: clickhouse/clickhouse-server:24.3-alpine
restart: unless-stopped
ulimits:
nofile:
soft: 262144
hard: 262144
volumes:
- event_data:/var/lib/clickhouse
deploy:
resources:
limits:
memory: 2G
plausible:
image: ghcr.io/plausible/community-edition:v2.1
restart: unless-stopped
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
depends_on:
- plausible_db
- plausible_events_db
ports:
- "127.0.0.1:8000:8000"
environment:
BASE_URL: https://stats.${BASE_DOMAIN}
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@plausible_db:5432/plausible_db
CLICKHOUSE_DATABASE_URL: http://plausible_events_db:8123/plausible_events_db
deploy:
resources:
limits:
memory: 1536M
volumes:
db_data:
event_data:deploy-and-verify.shbash
mkdir -p /opt/plausible && cd /opt/plausible
printf "BASE_DOMAIN=yourdomain.com\nPOSTGRES_PASSWORD=%s\nSECRET_KEY_BASE=%s\n" "$(openssl rand -hex 24)" "$(openssl rand -base64 48 | tr -d '\n')" > .env
docker compose up -d03 / PRODUCTION FIELD NOTES
Critical Operational Insights
ClickHouse requires `SSE 4.2` CPU instructions — modern AMD EPYC KVM hosts (Hostinger KVM / Vultr) support this natively.
04 / SECURITY & PRIVACY
UFW Firewall, TLS & WireGuard / ProtonVPN Hardening
Set `DISABLE_REGISTRATION=invite_only` after creating your owner account and disable ClickHouse verbose system trace logs to protect NVMe wear.
Isolate container egress with ProtonVPN WireGuard + Proton Suite (US$20 in credits · code
5AA9X0DA).Claim US$20 on Proton05 / VERIFIED DEPLOYMENT STACK
Deploy on Verified Infrastructure
KVM COMPUTE · EXTRA −20%
Hostinger KVM 2
~$7.03/mo
$8.79/mo
vCPU
2 EPYC
RAM
8 GB
NVMe
100 GB
24m Save
~$42
Renew: $12.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
How many monthly pageviews can Plausible CE handle on KVM 2?
ClickHouse effortlessly ingests 5M–15M+ monthly events on 2 AMD EPYC vCPUs and 8 GB RAM — saving $69–$169+/mo vs SaaS pricing.

