New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Dashboards, analytics and smart home

PostHog hosting on a Swiss VPS.

PostHog hosting in Switzerland: honest sizing for the Docker hobby stack, the Debian 13 installer fix, ports to close, and costs from $22.99 a month.

Runs here
  • PostHog
  • ClickHouse
  • PostgreSQL
  • Redis

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · ProductionPro · 6 vCPU · 8 GB RAM$22.99/mo320 GB NVMe · 20 TB transfer · 1 Gbps
  • 1 Gbps port20 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$22.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $206.99 a year, about 25% less

Deploy VPS Pro
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 6 vCPU, 8 GB RAM
  • 320 GB NVMe local storage
  • 20 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. PostHog's self-hosted Docker Compose stack, which PostHog calls the hobby deployment, runs on our Cloud VPS in ALP1 in the Swiss Alps. Start on Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99. Eight gigabytes is the minimum PostHog's own installer asks for, not a comfortable margin; PostHog's documentation sizes the same stack at 16 GB, which is our Power plan. What matters most is not hardware, though. PostHog gives no support for self-hosted instances, publishes no versions, ships every commit on master to its images, and expects this single-server stack to top out around 100,000 events a month, so you are signing up to operate it.

02/06

What PostHog is, and who runs this copy.

PostHog is an open-source product analytics suite: event and web analytics, session replay, feature flags, experiments, error tracking and surveys in one application. The repository is MIT-licensed apart from its ee directory, and the separate posthog-foss repository has the proprietary code removed. Self-hosted PostHog is the code PostHog runs on its own Cloud, minus the paid-plan features. PostHog publishes no CVEs for it, because a CVE needs a version to name and there are none; its advice is to stay on the latest image.

The stack is heavier than the word "hobby" suggests. The compose files on master, as we read them on 4 November 2026, define about three dozen services: ClickHouse 26.6 for events, PostgreSQL 15.12 for application data, Redpanda 25.1 in place of Kafka, ZooKeeper, Redis and Valkey, MinIO and SeaweedFS for exports and recordings, Temporal 1.26 with Elasticsearch 7.17, a headless Chromium for image exports and heatmaps, Caddy for TLS, and a row of Rust and Node services for capture and ingestion.

Price is not the reason to host it here. PostHog Cloud, with US and EU regions, is free every month up to 1 million events and 5,000 recordings, which at hobby volumes undercuts our $22.99. The reason is custody. In ALP1 the events, recordings and person profiles sit on a machine you control, under the revised Federal Act on Data Protection, in force since 1 September 2023, and the European Commission confirmed on 15 January 2024 that Switzerland still offers adequate protection, so data about EU visitors can come here without extra safeguards. The US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, so no such agreement lets US authorities serve orders directly on a Swiss host. That is narrower than immunity, and our page on offshore hosting in Switzerland is precise about the difference.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

PostHog publishes three memory figures for the same deployment, and they disagree:

Where PostHog says it (read 4 Nov 2026)CPURAMDiskScale
README of the PostHog/posthog repository—4 GB "recommended"—about 100,000 events/month
Banner printed by bin/deploy-hobby—8 GB or more——
Self-host documentation4 vCPU16 GBmore than 30 GB—

We set the README figure aside. The base compose file starts Redpanda with --memory 3G, gives Elasticsearch a fixed 256 MB heap and caps Redis and Valkey at 200 MB each. That is roughly 3.7 GB (theoretical, from the configured limits) before ClickHouse, Postgres, Chromium and the Node workers have taken anything, so we do not offer the 4 GB Standard plan for PostHog and treat Pro as the floor.

PlanvCPU / RAM / NVMeTransferPrice/monthFit for PostHog
Standard4 / 4 GB / 160 GB15 TB$12.99Below the installer's 8 GB floor
Pro6 / 8 GB / 320 GB20 TB$22.99Evaluation, one low-traffic product, replay used sparingly
Power12 / 16 GB / 640 GB40 TB$42.99Matches PostHog's documented sizing; our pick for anything you rely on
Ultra16 / 32 GB / 1 TB60 TB$65.99Headroom for long retention and heavy replay

Past PostHog's ~100,000 events a month, a bigger machine is not the answer. A dedicated server adds cores, but the stack stays a single-node design, and PostHog's own advice at that volume is to move to its Cloud.

Disk is rarely the constraint; replay storage and the image set grow, and upgrade-hobby warns once Docker's disk passes 80 %. Transfer is smaller still: 100,000 events at a generous 5 KB each is 0.5 GB a month (theoretical), against the 20 TB included in Pro.

Caddy needs ports 80 and 443 open and an A record pointing at the VPS; the installer wants a domain name, not an IP, for the Let's Encrypt certificate. The hobby compose file also publishes MinIO on 19000 and 19001, Temporal on 7233 and the Temporal web UI on 8081 on every interface, and MinIO's root credentials are fixed strings in that public file. Docker's documentation warns that published ports bypass ufw and firewalld, so the steps below rebind those four ports to localhost instead of trusting a host firewall.

04/06

How to deploy PostHog on our VPS.

Order Cloud VPS Pro with Debian 13, then create an A record such as posthog.example.com pointing at its IPv4 address.

The stock installer refuses that image. bin/deploy-hobby exits unless /etc/os-release gives the ID ubuntu, and its Docker setup hard-codes Docker's Ubuntu 22.04 repository. Nothing else in the script is Ubuntu-specific, and it skips its own Docker setup when a docker binary already exists. On Debian 13 we therefore install Docker from Docker's Debian repository, which supports Trixie, and run the installer without the Ubuntu check. To run it unmodified instead, deploy VPS Pro with Ubuntu 22.04, the release its Docker setup targets; the steps below are for Debian 13.

bash
# as root on a fresh Debian 13 VPS apt update && apt install -y ca-certificates curl git sudo openssl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc cat > /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: $(. /etc/os-release && echo "$VERSION_CODENAME") Components: stable Signed-By: /etc/apt/keyrings/docker.asc EOF apt update && apt install -y docker-ce docker-ce-cli containerd.io

Next, fetch the installer and edit it before running it as root. The first sed expression removes the Ubuntu check. The second removes the two curl calls that report the start and end of your install, with your domain name, to PostHog's US Cloud; the installer works without them. It still needs GitHub and Docker Hub for code and images, and mmdbcdn.posthog.net for the GeoLite2 city database. When it asks for Anthropic and OpenAI API keys, leave them blank unless you accept that PostHog's AI features send your queries to those providers.

bash
mkdir -p /opt/posthog && cd /opt/posthog curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby -o deploy-hobby sed -i -e '/^if ! grep -Eq/,/^fi$/d' \ -e '/curl -o \/dev\/null -L --header/,/us\.i\.posthog\.com\/batch/d' deploy-hobby less deploy-hobby # read what you are about to run bash deploy-hobby latest posthog.example.com

After five to ten minutes for migrations and the certificate, the installer prints your URL. Two changes follow. OPT_OUT_CAPTURE=true stops the instance reporting product-usage data to PostHog, which the compose file leaves on by default. An override file binds MinIO and Temporal to localhost: upgrade-hobby rewrites docker-compose.yml on every run but leaves docker-compose.override.yml alone, and Compose reads the override whenever you call it without -f, so the change survives upgrades.

bash
cd /opt/posthog echo 'OPT_OUT_CAPTURE=true' >> .env cat > docker-compose.override.yml <<'EOF' services: objectstorage: ports: !override - '127.0.0.1:19000:19000' - '127.0.0.1:19001:19001' temporal: ports: !override - '127.0.0.1:7233:7233' temporal-ui: ports: !override - '127.0.0.1:8081:8080' EOF docker-compose up -d

From another machine, nmap -Pn -p 7233,8081,19000,19001 <vps-ip> should now report all four closed; repeat with -6 against the IPv6 address if the VPS has one. The Temporal UI stays reachable through an SSH tunnel when you need it.

Upgrades go through bin/upgrade-hobby, which pulls master, rewrites the compose file and takes the stack down for a few minutes; on older installs it also walks you through the MinIO-to-SeaweedFS move and the PostgreSQL 12 to 15 jump, so read its prompts rather than answering yes by reflex. You cannot freeze the stack in place. The installer accepts a commit hash for the main image, but the Rust services pull :master tags and the Node services latest, so each upgrade moves you to whatever PostHog merged that day, and with no CVEs published those upgrades are your only security patches.

Take a backup before each one. The daily backup option gives you a way back from a broken upgrade; for data you would hate to lose, add a logical dump of Postgres (docker-compose exec -T db pg_dumpall -U posthog) and ClickHouse's native BACKUP DATABASE posthog TO S3(...), both sent with rclone or restic to an S3-compatible object storage bucket in ALP1.

05/06

Cost.

ItemProPower
Cloud VPS (6 vCPU / 8 GB / 320 GB, or 12 vCPU / 16 GB / 640 GB)$22.99$42.99
Daily backups (+20 % of the plan price)$4.60$8.60
Object storage, 250 GB bucket for dumps$1.99$1.99
Total per month$29.58$53.58

Yearly billing takes about 25 % off the VPS, roughly $17.25 a month for Pro before options (theoretical). The plan includes full root, the monthly transfer at 1 Gbps (2 Gbps on Power) and outbound port 25; an extra IPv4 is $2 a month. VPS traffic is metered against that allowance rather than unmetered, and PostHog at hobby volumes will not come near it. Our support covers the VPS and the network; the PostHog stack on it is yours to run.

Payment is in crypto only (Monero, Bitcoin, USDT, Ethereum, Litecoin and others), priced in US dollars, with a top-up bonus from 5 % at $50 to 20 % at $500 and the unused paid part refundable within 14 days. The account is no-KYC: an email address is enough, as our no-KYC hosting page explains, and every option is on the pricing page.

06/06

Limits and acceptable use.

Running PostHog makes you the controller of what it records about your visitors; a Swiss server does not move that responsibility to us. Under the FADP you must tell visitors what you collect and why, and if they are in the EU the GDPR applies to you as well. Session replay can capture form contents, so keep input masking on and exclude pages that handle payment cards, health data or logins before you enable it.

Instrumenting sites you do not operate or have no permission to track is not acceptable use, and neither is using replay or autocapture to harvest passwords or card numbers. Keeping the instance patched and its internal ports closed is your job too.

Complaints about content or data on your VPS reach you first. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful, as the Swico Code of Conduct Hosting 2025 provides.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Will PostHog run on the 4 GB Standard plan?

We do not recommend it. PostHog's installer asks for 8 GB or more, and the configured memory of Redpanda, Elasticsearch, Redis and Valkey alone adds up to about 3.7 GB (theoretical). Start on Pro with 8 GB, or Power with 16 GB to match PostHog's documented sizing.

Why does the PostHog installer stop on Debian 13?

bin/deploy-hobby exits unless /etc/os-release identifies the system as Ubuntu, and its Docker setup targets Ubuntu 22.04. Install Docker from Docker's Debian repository first, then run the installer with that check removed; it skips its own Docker setup when Docker is present.

Does a self-hosted PostHog instance still send data to PostHog?

A little, by default. The installer reports the start and end of the install with your domain, the application reports product-usage data unless OPT_OUT_CAPTURE=true is set, and the GeoLite2 database comes from PostHog's CDN. Anthropic or OpenAI keys, if you add them, send PostHog AI requests to those providers. Events and recordings stay on the VPS unless you configure an export.

Can session recordings live in your object storage instead of on the VPS disk?

We have not tested it. The recording store is set by SESSION_RECORDING_V2_S3_* variables on four services (web, worker, ingestion-sessionreplay and recording-api), which the same override file could point at our endpoint and keys. Keep recordings on the VPS disk and use the bucket for backups.

Can PostHog send its own email from the VPS?

Yes. Outbound port 25 is open on every VPS, and PostHog's SMTP settings (EMAIL_HOST, EMAIL_PORT, EMAIL_DEFAULT_FROM and related values) live in its instance settings; without them it cannot email invitations or password resets. Mail sent straight from a new server needs SPF and DKIM records for your domain to reach inboxes, so a relay you already use is often simpler.

Sources

Every fact on this page, with its source

Verified 31 Oct 2026 unless noted.

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.