Deploy PostHog on Northflank
Published 14th April 2025

By
Northflank
PostHog is an open-source product analytics platform designed to help teams build better products by offering deep insights into user behaviour. Unlike traditional analytics tools that often rely on event tracking alone, PostHog provides a suite of features—including session replays, feature flags, heatmaps, A/B testing, and user funnels—all within a single platform.
You can self-host PostHog on Northflank or bring your own cloud for full data control and privacy, especially appealing for companies with strict compliance needs. PostHog emphasizes developer-friendliness, offering rich integrations and powerful APIs to customize data collection and experimentation workflows, enabling rapid iteration and data-driven decision-making.
- 16 services to deploy PostHog components
- 4 addons; a PostgreSQL database, MinIO object storage, and two Redis message brokers
- 3 volumes to persist data for ClickHouse, Kafka, and ZooKeeper
- 4 jobs to initialise databases, storage, and run migrations
- Create an account on Northflank
- Click deploy PostHog now
- Click
deploy stack
to save and run the PostHog template - Select the
posthog-web
service when the template run has finished - When the service has finished deploying, open the code.run domain in the service header to access PostHog and begin configuring and using it!
- PostHog do not provide support for self-hosted deployments
- Changing the PostHog version may affect PostHog features