Deploy PostHog

Measure where people leave a product workflow using events tied to the actions your application actually accepts.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Mixpanel
Licence
MIT for the core
by handInboxn8nn8nERPCRM

PostHog self-hosted open-source edition among the workflow and data apps

The automations and dashboards a department builds for itself, running where the data already is instead of where a SaaS keeps it.

PostHog self-hosted open-source edition system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshaccess by identityencrypted tunnelencrypted, offsitePostHog self-hosted open-source editionpinned, patched, watched01Pilot host02Storage03Collection routeHTTPS endpoint04Persistent stateClickHouse and PostgreSQLYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedPostHog self-hosted open-source editionpinned, patched, watched01Pilot host02Storage03CollectionrouteHTTPS endpoint04PersistentstateClickHouse and Postg…Your teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs PostHog self-hosted open-source edition and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. Pilot host4 vCPU · 16 GB RAMUpstream gives this as the starting point for the hobby deployment. Collect actual load before sizing a retained dataset.
  2. StorageMore than 30 GB initiallyEstimate retained event volume, indexes, free space during upgrades and separate recovery storage.
  3. Collection routeHTTPS endpointTest from the devices that emit the events. Agree which properties the client or server may send.
  4. Persistent stateClickHouse and PostgreSQLInclude events, project configuration and the other persistent services used by the selected Compose revision in the recovery inventory.

Running PostHog self-hosted open-source edition in production: what it takes

  1. Follow an event through the pipeline

    Issue a labelled test submission and verify its timestamp, event name and project in a query. Check the delay between the application accepting it and the analyst seeing it.

  2. Test an upgrade against a known cohort

    Record the deployed image digests and configuration. Back up the stores before a change, then replay a controlled journey against the candidate deployment and check the saved funnel.

  3. Rehearse recovery

    Restore the relevant stores and project settings in isolation. Compare an earlier reporting period with its saved totals, then verify a newly submitted event appears.

Deployment reference

Three decisions behind a conversion rate

Funnel controlPilot definition
StepsDraft opened → claim committed. A validation error leaves the draft open.
OrderRequire these steps in sequence and allow intervening edits to the draft.
Conversion windowAllow seven days from opening the draft. Compare only cohorts that have had seven full days to finish.
Worked example applying PostHog’s documented funnel controls to an expense-claim workflow. The choices below define the metric for a pilot.

Migrating from Mixpanel to PostHog self-hosted open-source edition

Save the definition of one Mixpanel funnel before changing instrumentation. Capture its user identifier, event names, exclusions, conversion window and timezone. Rebuild and compare that funnel over the same cohort. Retain access to old reports and exports for the historical period agreed with the product owner.

Moving from Mixpanel to PostHog self-hosted open-source edition, step by step

  1. Define a successful attempt: Pick one path such as submitting an expense claim. Identify the transition that commits the claim and document how drafts, failed validations and resubmissions should count.
  2. Compare a complete window: Collect an approved pilot cohort in both systems. Wait for the full conversion window to close. Compare distinct starters and finishers, then trace discrepancies to event timing, identity changes or repeat submissions.
  3. Hand over the metric: Record the agreed difference, the person who accepted it and the final reporting interval in the old tool. Change dashboard links and the collection destination only after the owner accepts the result.
  4. Keep a route back: Retain the previous instrumentation configuration and the final validated export. If counts diverge, pause the new dashboard, return collection to the previous destination and mark the affected reporting interval.

What PostHog self-hosted open-source edition is, and who runs it

PostHog's root licence covers the core under MIT. Enterprise code in the ee directory and third-party components carry separate terms. Confirm the required feature set for the selected deployment.

Which applicants stopped, and which are still editing?

Consider an employee who starts an expense claim on Friday and submits it on Monday. A product owner measuring same-day completion sees an abandoned draft. With a seven-day window the same employee completes the journey. Record the duration and the event that counts as completion alongside the chart. A server-confirmed claim submission gives finance a transaction against which to reconcile counts. Keep the claim amount, employee name and attachments outside the analytics event unless there is a documented reason to collect them. PostHog funnel controls

A funnel counts people under its chosen definition. Finance may count several claims from one person. For a rehearsal, choose a fixed cohort, match accepted submissions to that cohort and count distinct submitters before comparing the two totals. Ask about the reason for an abandoned step using a focused Formbricks survey. For teams mainly interested in traffic across public pages, Matomo covers website analytics and reporting.

Read the full briefFold the brief

Decide whether the team can own self-hosting

PostHog publishes its self-hosted software continuously and supplies no tagged self-hosted releases or paid support plan for that stack. The project recommends keeping up with the latest image. A team that needs a vendor-backed release lifecycle should settle that requirement before making this deployment its reporting system of record. Bring peak events per second, retention, an example funnel and the longest reporting interruption the product team can accept. Upstream self-hosting guidance · Project licence and enterprise exceptions

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

PostHog self-hosted open-source edition runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

PostHog self-hosted open-source edition: common questions

Does PostHog support this stack in production?

PostHog describes its Compose distribution as a hobby deployment. It offers no paid support or service guarantees for self-hosted installations. Size the workload and assign owners for recovery and incidents.

Does a drop in conversion mean the interface got worse?

Check instrumentation first. A changed event name, lost ingestion or a new identity assigned halfway through the workflow can produce a similar drop. Compare completed actions with the application record.

Can we omit session recordings?

An event funnel can be defined from selected product events. Establish which properties are needed for the analysis, keep recording out of the pilot and inspect a sample payload before expanding collection.

What happens to historical Mixpanel dashboards?

Keep the dashboard definitions and historical exports available under your retention policy. Validate reconstructed metrics and identity mappings separately before combining the two reporting periods.

Talk to an engineer about your PostHog self-hosted open-source edition

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.