# Best Self-Hosted Supabase, PocketBase & Appwrite VPS Hosting: 2026 TCO & RAM Sizing Guide

> Updated: 2026-11-24 · Canonical: https://hostingsurge.com/en/best-supabase-pocketbase-appwrite-hosting · Author: Hostingsurge Engineering (Transverto LTD, London, UK · EU NVMe Infrastructure in France).

Choosing the right **self-hosted Supabase hosting**, **PocketBase**, or **Appwrite VPS** setup starts with container memory math rather than teaser monthly rates. Single-binary PocketBase runs comfortably on **1 to 2 GB RAM** (from €226.80 for 36 months on Hostingsurge Starter), while full 12-container Supabase and Appwrite stacks need **4 to 8 GB RAM** on EU NVMe nodes to cut 3-year managed cloud bills by 60% to 78%.

## Published 2026 BaaS Hosting Pricing & 36-Month TCO Comparison

| Hosting Stack / Provider | Monthly Rate | 36-Month TCO | RAM, CPU & Storage | Fit & Billing Notes |
| :--- | :--- | :--- | :--- | :--- |
| **Hostingsurge Starter (EU NVMe)** | €9/mo (€6.30 eq. on 3-yr -30%) | **€226.80 locked** | 1 vCPU, 1 GB RAM, 5 GB volume | Ideal for PocketBase SQLite WAL + TLS 1.3. |
| **Hostingsurge Pro (EU NVMe + PG16)** | €25/mo (€17.50 eq. on 3-yr -30%) | **€630 locked** | 2 vCPU / 4 GB RAM per app (16 GB cap), 20 GB volume | Fits PocketBase + workers or Managed PG16 + S3. |
| **Hostingsurge Business (Multi-Env)** | €50/mo (€35 eq. on 3-yr -30%) | **€1,260 locked** | 4 vCPU / 8 GB RAM per app (32 GB cap), 100 GB volume | Unlimited seats; full Supabase or Appwrite + staging. |
| Unmanaged EU KVM VPS + Coolify | ~€10–€16/mo (+SMTP & S3) | ~€432–€720 (+ops) | 4 vCPU, 8 GB RAM, 80–160 GB local disk | Cheapest bare server; manual patching and WAL backups. |
| Supabase Cloud Pro + Medium (4 GB) | $75/mo ($25 base + $50 net) | $2,700 (+egress/PITR) | 2-core ARM, 4 GB RAM, 8 GB disk, 250 GB egress | Zero ops; adding PITR (+$100/mo) reaches $6,300. |
| Supabase Cloud Pro + Large (8 GB) | $125/mo ($25 base + $100 net) | $4,500 (+egress/PITR) | 2-core ARM, 8 GB RAM, 8 GB disk, 250 GB egress | Each extra production project bills another compute tier. |
| Appwrite Cloud Pro (4 Developers) | $60/mo ($15/seat x 4) | $2,160 (+overages) | Metered executions, bandwidth & storage | Fast onboarding; seat billing grows with team size. |

## Container Topology & RAM Sizing: Supabase vs PocketBase vs Appwrite

| BaaS Stack | Official Architecture | Min / Prod RAM | Storage Engine | Target Tier |
| :--- | :--- | :--- | :--- | :--- |
| **Supabase** | 12 Docker containers (Postgres, Kong, GoTrue, PostgREST, Realtime, Storage, Deno, Logflare, Studio, Supavisor) | 4 GB / **8 GB & 4 vCPU** | PostgreSQL 15/16 + `pgvector`; high WAL fsync IOPS. | 8 GB EU VPS or Hostingsurge Business. |
| **PocketBase** | Single static Go binary (~40 MB) with Auth, Admin UI, Realtime SSE, and hooks | 512 MB / **1–2 GB & 1–2 vCPU** | SQLite `WAL` on local persistent NVMe volume + S3. | Hostingsurge Starter or Pro. |
| **Appwrite** | 18–20 Docker containers (Traefik, API, MariaDB, Redis, OpenRuntimes, queue workers) | 4 GB / **8 GB & 4 vCPU** | MariaDB InnoDB + Redis; build spikes during function deploys. | 8 GB EU VPS or Hostingsurge Business. |

## How Much Does Self-Hosted Supabase Hosting Cost Over 36 Months?

Headline monthly pricing hides how fast managed backend invoices climb once real users arrive. Supabase Cloud Pro starts at $25 per month per organization and bundles a $10 compute credit covering one Micro database (1 GB RAM, 8 GB disk, 100,000 monthly active users, 250 GB egress). Side projects run fine on Micro. Production SQL queries and `pgvector` indexes rarely stay there.

### Where Managed Supabase Cloud Bills Escalate Past $100 Per Month

Published 2026 add-on math makes the **36-month BaaS TCO** gap clear. Stepping up to Medium compute (4 GB RAM, 2-core ARM) adds $60 gross ($50 net after the $10 credit), putting your base bill at $75/month or $2,700 over three years. Large compute (8 GB RAM) adds $110 gross ($100 net), hitting $125/month or $4,500 over 36 months before $0.09/GB extra egress, $0.125/GB extra disk, or Point-in-Time Recovery at $100/month ($6,300 to $8,100 total).

Running separate staging and production databases doubles compute line items. Appwrite Cloud Pro scales by headcount instead at $15 per member each month ($60 monthly, or $2,160 across 36 months for four developers) plus metered function runs. Flat EU container plans on Hostingsurge lock 3-year rates at -30% upfront: Starter totals €226.80 (€6.30/mo eq.), Pro totals €630 (€17.50/mo eq.), and Business totals €1,260 (€35/mo eq.) with unlimited seats and card or on-chain BTC, USDT, and USDC checkout. Test your own workload numbers in the [3-year hosting TCO calculator](https://hostingsurge.com/en/tools/hosting-cost-calculator), or weigh standalone databases in our [managed PostgreSQL and pgvector hosting guide](https://hostingsurge.com/en/best-managed-postgresql-pgvector-hosting).

## RAM, CPU & NVMe Sizing: 12-Container Supabase vs Single-Binary PocketBase vs Appwrite

Most rocky migrations into **self-hosted Supabase hosting** fail on day one for one simple reason. Teams rent a cheap 2 GB VPS and start the official Docker Compose file without adding up resident RAM across every container. Each open-source BaaS brings a distinct memory floor and NVMe disk profile.

### Self-Hosted Supabase Docker Stack: 12 Containers, Supavisor & WAL IOPS

Official self-hosted Supabase boots twelve services together: PostgreSQL 15/16 (`db`) with `pgvector`, Kong Gateway, GoTrue (`auth`), PostgREST (`rest`), Elixir BEAM Realtime, Storage API, Imgproxy, Postgres Meta, Deno Edge Runtime, Logflare analytics, Vector, Studio, and the Supavisor pooler. Idle usage sits around 2.2 GB to 3.4 GB RAM before users even sign in. Plan on 4 GB RAM / 2 vCPU strictly for staging, and budget **8 GB RAM with 4 vCPU on RAID-10 NVMe** for production traffic, HNSW vector indexing, and concurrent PostgREST joins. Turning off Logflare frees roughly 800 MB to 1.2 GB RAM if you forward logs externally.

### PocketBase Hosting Architecture: SQLite WAL Mode & Persistent NVMe Volumes

PocketBase takes the opposite path. One static ~40 MB Go binary handles REST endpoints, JWT auth, OAuth2, Realtime Server-Sent Events, the Admin UI, and embedded SQLite in Write-Ahead Logging (`WAL`) mode. Idle usage stays around 35 MB to 80 MB RSS, so **PocketBase SQLite WAL** stacks run briskly on 1 to 2 GB RAM and 1 to 2 vCPU. Two disk rules matter: mount a local **persistent NVMe volume** at `/pb/pb_data` (Hostingsurge attaches volumes via `create_volume` so redeploys keep every table intact), and enable scheduled S3 backups rather than placing SQLite on NFS where POSIX locking breaks WAL integrity.

### Self-Hosted Appwrite VPS Sizing: MariaDB InnoDB, Redis & OpenRuntimes Spikes

Appwrite self-hosted orchestrates 18 to 20 Docker containers behind Traefik: core PHP/Swoole workers, MariaDB, Redis, OpenRuntimes executor, and async queues for mail, builds, webhooks, audits, and realtime events. Idle RAM averages 2 GB to 2.8 GB. Deploying Node.js, Python, or Dart functions sparks sudden Docker image build spikes that force 4 GB nodes into heavy swap. Sizing an **Appwrite VPS** at 8 GB RAM and 4 vCPU keeps MariaDB InnoDB buffers steady under builds. Verify memory headroom with our [VPS RAM and vCPU sizing calculator](https://hostingsurge.com/en/tools/vps-sizing-calculator), or read our [managed EU Docker container hosting guide](https://hostingsurge.com/en/best-docker-container-hosting).

## Coolify Self-Hosted VPS vs Managed EU Container Cloud: Ops & Security Checklist

Picking the engine is only half the choice. Next you decide between running Coolify on an unmanaged European KVM VPS or deploying on a managed EU container cloud. Raw 8 GB KVM servers with Coolify run roughly €10 to €16/month and offer one-click BaaS templates. That bare invoice buys zero operations: you own Ubuntu kernel patches, Docker upgrades, UFW firewalls, SMTP reputation, and off-site WAL restore drills.

Hostingsurge (operated by Transverto LTD in London on French EU servers) removes that plumbing while keeping predictable flat pricing. PocketBase deploys as a one-click self-hosted template with persistent NVMe volumes and automatic ECDSA TLS 1.3 certificates. Teams who only want Postgres, `pgvector`, Redis, and S3 storage without twelve sidecars can wire [managed EU PostgreSQL 16, Redis, and S3 object storage](https://hostingsurge.com/backend) over a private team network directly to Next.js, FastAPI, or Go containers. Review raw-server trade-offs in our [Vercel vs self-hosted Coolify VPS comparison](https://hostingsurge.com/en/vercel-vs-coolify-self-hosted-vps), or compare editorial API stacks in our [Strapi, Payload, and Directus hosting guide](https://hostingsurge.com/en/best-strapi-payload-directus-hosting).

1. **Keep internal ports off public interfaces:** Bind PostgreSQL (`5432`), Redis (`6379`), MariaDB (`3306`), and Supabase Studio to private VLANs, VPNs, or reverse-proxy auth instead of `0.0.0.0`.
2. **Rotate cryptographic keys before first boot:** Generate fresh `JWT_SECRET`, `ANON_KEY`, `SERVICE_ROLE_KEY`, and `_APP_OPENSSL_KEY_V1` secrets, enforce Row-Level Security (RLS) on public tables, and verify `HMAC-SHA256` webhooks on raw bytes while honoring `X-RateLimit-Remaining`.
3. **Connect authenticated transactional SMTP:** Most VPS providers block outbound port 25; wire an SPF, DKIM, and DMARC verified SMTP relay so GoTrue, PocketBase, and Appwrite password resets hit inboxes cleanly.
4. **Automate S3 snapshots and test restores:** Ship encrypted WAL-G or `pg_dump` archives, PocketBase S3 backups, or Appwrite `mysqldump` exports off-node and run a dry-run restore every quarter.

## EU Data Residency, GDPR Art. 28 & Zero-Lock-In Portability in France

European product teams often self-host BaaS infrastructure for legal clarity as much as savings. Keeping auth tables, session tokens, uploads, and vector embeddings on servers in France under a signed **GDPR Article 28 DPA** shortens subprocessor lists and aligns with **ISO/IEC 27001** controls and **NIS2** supply-chain rules using TLS 1.3 and AES-256 encryption.

Open-source backends also guarantee clean exits with zero proprietary lock-in. Leaving takes a standard `pg_dump` archive plus S3 object sync for Supabase, copying the single `pb_data` directory for PocketBase, or migrating a MariaDB dump with `appwrite.json` for Appwrite. Builders exporting prototypes from Lovable, Bolt.new, Cursor, or Claude Code can use our [EU deployment guide for AI-coded apps](https://hostingsurge.com/en/deploy-lovable-bolt-cursor-apps-eu) to attach existing SQL schemas cleanly before DNS cutover.

## Honest Limitations: When Managed Supabase Cloud Beats Self-Hosting

### When You Should Pay for Managed Supabase Cloud or Appwrite Cloud Instead

Self-hosting is not always the winning trade. When a solo founder or two-person team has zero spare Linux hours and stays within $25 to $75/month on Supabase Cloud Pro, that fee buys managed zero-downtime Postgres upgrades, paid Point-in-Time Recovery, multi-region Read Replicas, Git PR database branching, and 24/7 vendor paging. One VPS running Docker Compose remains a single hardware failure point unless you operate multi-node HA PostgreSQL like Patroni. Apps needing global Edge Functions across 30+ PoPs outside Europe will also get lower worldwide latency on managed edge clouds than on a single French node.

### Four Costly Mistakes to Avoid Before Production Cutover

- **Undersizing Supabase on 2 GB RAM:** Running all 12 containers with Logflare and Realtime on 2 GB triggers silent Linux OOM kills during normal auth traffic.
- **Skipping persistent volumes for PocketBase:** Container filesystems reset on redeploy; leaving `/pb/pb_data` unmounted erases every user record on your next push.
- **Expecting multi-project orchestration in Compose:** Official self-hosted Supabase runs one project per stack, so five client apps need five isolated stacks.
- **Forgetting crypto expiry windows:** Hostingsurge non-custodial BTC, USDT, and USDC prepayments never auto-debit; act on the 14-, 7-, and 3-day renewal emails.

## Technical FAQ

### How much does self-hosted Supabase hosting cost compared to Supabase Cloud Pro?
Under published 2026 rates, Supabase Cloud Pro with Medium 4 GB compute runs $75/month ($2,700 over 36 months) and Large 8 GB compute runs $125/month ($4,500 over 36 months) before egress or $100/month Point-in-Time Recovery. An 8 GB EU NVMe VPS with Coolify runs roughly €10 to €16/month in bare compute (€432 to €720 over 36 months plus ops hours), while Hostingsurge Business locks 36 months at €1,260 (€35/mo eq., -30% prepaid) with unlimited team seats.

### How much RAM and CPU do Supabase, PocketBase, and Appwrite need in production?
PocketBase ships as one Go binary with SQLite WAL and runs comfortably on 1 to 2 GB RAM and 1 to 2 vCPU. Full 12-container Supabase and 18-to-20 container Appwrite stacks need 4 GB RAM minimum for staging and 8 GB RAM with 4 vCPU on NVMe storage for production.

### Can PocketBase handle production workloads on a single EU NVMe container?
Yes, for read-heavy SaaS apps, internal portals, and MVPs handling thousands of reads per second, as long as SQLite runs in WAL mode on a local persistent NVMe volume with automated S3 snapshots. Choose PostgreSQL or Supabase if you need multi-node write scaling or pgvector.

### Should I self-host full Supabase via Coolify or use managed EU PostgreSQL plus Docker containers?
Use full self-hosted Supabase on an 8 GB NVMe node if your frontend relies directly on PostgREST APIs, GoTrue JWT auth, and Supabase Realtime. If you only need PostgreSQL 16 with pgvector, Redis, and S3 storage behind Next.js, FastAPI, or Go, pairing managed EU PostgreSQL on Hostingsurge Pro (€630/36 mo) with your app removes 10 extra sidecars.

### When is managed Supabase Cloud better than self-hosting on a VPS?
Stay on managed Supabase Cloud if your small team lacks Linux/Docker ops bandwidth, relies on PR database branching or multi-region Read Replicas, or wants managed Point-in-Time Recovery and vendor SLA paging without maintaining HA Postgres clusters.

*Pricing & Sizing Verification Note (2026-11-24): Compiled by Hostingsurge Engineering (Transverto LTD, London, UK) from published 2026 provider pricing sheets (Supabase Pro/Compute add-ons, Appwrite Cloud Pro, Hostingsurge Starter/Pro/Business catalog) and official Docker Compose service manifests for Supabase, PocketBase, and Appwrite on France EU NVMe infrastructure.*
