PaaS & DevOpsSave ~$238/yr vs Firebase Blaze / Supabase Pro

Self-Hosting PocketBase on a VPS (2026): 10,000+ RPS on a $5 KVM Node

PocketBase compiles Auth, Realtime DB, and File Storage into a ~40 MB Go binary using ~60 MB RAM idle. Even KVM 1 (4 GB RAM, ~$5.19/mo with XF3PLUTARXVF) handles tens of thousands of concurrent connections thanks to SQLite WAL on NVMe.

Self-Hosting PocketBase on a VPS (2026): 10,000+ RPS on a $5 KVM Node
RATE SHEET

Hardware Spec & Verified Rate Sheet: PocketBase

November 22, 2026
Hardware Spec & Verified Rate Sheet: PocketBase
Provider / TierHardware & ArchitectureListNet BenefitCodeLink
Hostinger KVM 1
Recommended for PocketBase
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 PocketBase

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

NVMe write latency for SQLite WAL fsync under heavy write bursts

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

Production Deployment Stack (PocketBase)

Docker Stack Sizer
docker-compose.ymlyaml
services:
  pocketbase:
    image: ghcr.io/muchobien/pocketbase:latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:8090:8090"
    volumes:
      - ./pb_data:/pb_data
      - ./pb_public:/pb_public
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/api/health"]
      interval: 15s
      timeout: 5s
      retries: 3
    deploy:
      resources:
        limits:
          memory: 1G
deploy-and-verify.shbash
mkdir -p /opt/pocketbase && cd /opt/pocketbase
docker compose up -d
# Verify health endpoint locally
curl -s http://127.0.0.1:8090/api/health
03 / PRODUCTION FIELD NOTES

Critical Operational Insights

Because SQLite runs in-process without TCP network hops, PocketBase on local Gen4 NVMe routinely beats managed cloud Postgres on read latency.
04 / SECURITY & PRIVACY

UFW Firewall, TLS & WireGuard / ProtonVPN Hardening

Serve behind Caddy TLS and enable PocketBase's built-in S3 automated zip backups to Cloudflare R2 daily. Restrict `/_/` Admin UI by IP allowlist or WireGuard VPN.

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

When does PocketBase outgrow a single VPS?

Only when you require multi-region active-active writes or horizontal read replicas — for 95% of indie SaaS apps, one 4–8 GB NVMe KVM node scales past 50,000 daily active users.

More blueprints in this category

All guides