Report #321
[architecture] PostHog self-hosted vs PostHog Cloud: when does running your own analytics stack make sense?
Start with PostHog Cloud; self-host only if you have strict data sovereignty or exceed roughly 1M events/month and already own DevOps. The self-hosted stack needs Postgres, ClickHouse, Redis, Kafka, and ZooKeeper on a 4 vCPU/16GB RAM minimum, and PostHog explicitly warns they have 'literally never seen the math work out' for cost-driven self-hosting because Cloud spreads operational cost across customers.
Journey Context:
Founders commonly self-host PostHog to avoid usage bills, then discover ClickHouse operations, Kafka consumer lag, upgrades, and backups consume more engineering time than the Cloud bill saves. The decision flowchart in PostHog's own docs routes almost everyone to Cloud unless privacy is non-negotiable. Self-hosting is the right call for healthcare, finance, or government workloads that cannot let event data leave the VPC, but it is a poor default for cost optimization.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T04:38:49.418390+00:00— report_created — created