Self-hosted app·Dashboards, analytics and smart home
Druid hosting in the Swiss Alps Apache Druid on a VPS.
Druid hosting on a VPS in the Swiss Alps: sizing for Druid 38, a locked-down Docker or tarball install, S3 deep storage and real costs from $22.99.
- Apache Druid
- Java
- PostgreSQL
- Apache Kafka
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port20 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $206.99 a year, about 25% less
- 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. Apache Druid runs on our Cloud VPS in ALP1, and the plan we put it on first is VPS Pro: 6 vCPU, 8 GB of RAM, 320 GB of NVMe and 20 TB of monthly transfer on a 1 Gbps port, for $22.99 a month. That is a sensible home for a single-server Druid 38.0.0 behind internal dashboards, an evaluation or one modest event stream. It is the floor rather than the comfortable size, and the sizing section says where the ceiling sits.
The thing that matters most has nothing to do with the plan. Druid ships with authentication and authorisation switched off, and the example Compose file in the Druid repository publishes PostgreSQL, with the password FoolishPassword, and ZooKeeper on every address of the host. Docker writes its own packet-filter rules for published ports, so a ufw rule will not keep anyone away from them. Bind those ports to loopback before the first docker compose up; the commands are below.
Order it here: VPS Pro with Debian 13.
02/06
What Druid is and who runs it.
Druid is an open-source, column-oriented analytics database maintained by the Apache Software Foundation under the Apache License 2.0. The current stable release is 38.0.0, published on 1 October 2026; 37.0.0 from May is the previous line. It stores data as immutable segments partitioned by time and is built for one kind of question asked very often: filters, aggregations and top-N lists over timestamped events, answered quickly enough to sit behind a dashboard that many people click through at once. Data comes in as batch, usually SQL INSERT or REPLACE through the multi-stage query engine, or as streams through Kafka and Kinesis supervisors, which commit offsets together with the segments they publish so that a restart does not count events twice.
A deployment is several Java services rather than one daemon. The Coordinator manages segments and the Overlord manages ingestion tasks (on a single server they run as one process), the Broker plans and merges queries, Historicals serve segments, the MiddleManager forks a separate JVM, a "peon", for every ingestion task, and the Router serves the web console and API on port 8888. Around them sit three dependencies: a metadata store (embedded Derby in the quickstart, PostgreSQL or MySQL beyond that), ZooKeeper, and deep storage, where every segment is kept permanently and from which Historicals fill their local cache.
Our view: if your data arrives in nightly batches into one table for a handful of analysts, a single-node ClickHouse or a well-partitioned PostgreSQL is less machinery than five JVMs, ZooKeeper and a metadata store. Druid repays its moving parts when ingestion is continuous and query concurrency is high.

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.
Druid's own floor for 38.0.0 is a machine with at least 6 GiB of RAM, a Unix-like OS, Python 3 and Perl 5 for the launch scripts, and Java. The project's Java runtime page lists Java 21 and 25 as supported; the quickstart page still mentions Java 17, which we read as a leftover, since Java 11 was already removed and dropping 17 was on the table for this release. Debian 13 packages OpenJDK 21 and 25 itself, so no third-party JDK is needed.
Memory decides the plan. bin/start-druid sizes every service from the machine it finds and by default lets Druid use up to 80 % of RAM, about 6.4 GB on VPS Pro (theoretical: 0.8 × 8 GB). The rest goes to the kernel and the page cache, and the page cache matters more than it looks: Historicals memory-map their segments, so data that fits in free RAM is answered from memory and the remainder is read from NVMe on each query. The Docker example is less frugal. Its environment file selects the micro-quickstart profile, a reference configuration for 4 CPU and 16 GiB; each Druid container defaults to a 1 GB heap with up to 6 GiB of direct memory, and every ingestion task gets another 1 GiB heap and up to 3 GiB of direct memory. Five services plus one task is 6 GiB of heap before PostgreSQL, ZooKeeper and the OS take their share (theoretical, from the shipped files). On 8 GB that is the line between a working stack and containers dying with exit code 137.
| Plan | vCPU / RAM | Disk | Transfer / port | Price per month | Druid fit |
|---|---|---|---|---|---|
| VPS Pro | 6 / 8 GB | 320 GB NVMe | 20 TB / 1 Gbps | $22.99 | Evaluation, internal dashboards, one ingestion task at a time |
| VPS Power | 12 / 16 GB | 640 GB NVMe | 40 TB / 2 Gbps | $42.99 | The memory the micro-quickstart profile assumes; a Kafka stream plus concurrent queries |
| VPS Ultra | 16 / 32 GB | 1 TB NVMe | 60 TB / 2 Gbps | $65.99 | A larger hot set held in page cache |
| Rigi (dedicated) | 6 cores / 12 threads, 32 GB DDR5 ECC | 1 TB NVMe Gen4 | 10 Gbps, unmetered under fair use | $64.99 | Heavy external ingestion where a transfer allowance would bite |
Druid listens on the Router (8888), the Coordinator/Overlord (8081), the Broker (8082), a Historical (8083), the MiddleManager (8091) and peons from 8100 upwards; ZooKeeper uses 2181 and PostgreSQL 5432. None of them needs to face the internet. Reach the console through an SSH tunnel, and when applications need to query, put the Router or Broker behind a TLS reverse proxy only after authentication is on.
04/06
How to deploy it with us.
Deploy VPS Pro with Debian 13 from the link above and add your SSH key. Everything below targets Druid 38.0.0. There are two reasonable routes. On an 8 GB machine we prefer the release tarball, because start-druid sizes itself to the box and an ordinary host firewall behaves as expected; Compose is the right choice when you want pinned images and containers you can throw away.
- 01
Tarball with start-druid (our choice on 8 GB)
apt update && apt install -y openjdk-21-jre-headless python3 perl curl nftables useradd --system --create-home --home-dir /opt/druid --shell /usr/sbin/nologin druid cd /opt/druid curl -fLO https://archive.apache.org/dist/druid/38.0.0/apache-druid-38.0.0-bin.tar.gz curl -fLO https://archive.apache.org/dist/druid/38.0.0/apache-druid-38.0.0-bin.tar.gz.sha512 sha512sum apache-druid-38.0.0-bin.tar.gz && cat apache-druid-38.0.0-bin.tar.gz.sha512 # the two hashes must match tar -xzf apache-druid-38.0.0-bin.tar.gz && chown -R druid: apache-druid-38.0.0 sudo -u druid apache-druid-38.0.0/bin/verify-java# /etc/systemd/system/druid.service [Unit] Description=Apache Druid 38.0.0 (single server) After=network-online.target Wants=network-online.target [Service] User=druid WorkingDirectory=/opt/druid/apache-druid-38.0.0 Environment=AWS_REGION=<region> ExecStart=/opt/druid/apache-druid-38.0.0/bin/start-druid -m 5g Restart=on-failure LimitNOFILE=65536 [Install] WantedBy=multi-user.targetThe
-m 5gis deliberately below the 80 % default, leaving roughly 3 GB for the kernel and page cache (theoretical); raise it once you have watched the box under your own queries. Runsystemctl daemon-reload && systemctl enable --now druid. Druid's services bind to all interfaces, so close everything except SSH:cat > /etc/nftables.conf <<'EOF' #!/usr/sbin/nft -f flush ruleset table inet filter { chain input { type filter hook input priority 0; policy drop; iif lo accept ct state established,related accept meta l4proto { icmp, ipv6-icmp } accept tcp dport 22 accept } } EOF systemctl enable --now nftablesDo not load this ruleset on a Docker host:
flush rulesetremoves Docker's own tables, and Docker does not support rules written withnft. - 02
Docker Compose (the Druid Docker route)
Install Docker Engine and the Compose plugin from Docker's own Debian repository, which supports Debian 13; remove the distribution's
docker.ioanddocker-composepackages first, as Docker's instructions say. Then fetch the two upstream files and fix them before anything starts:mkdir -p /opt/druid-docker && cd /opt/druid-docker curl -fLO https://raw.githubusercontent.com/apache/druid/38.0.0/distribution/docker/docker-compose.yml curl -fLO https://raw.githubusercontent.com/apache/druid/38.0.0/distribution/docker/environment # publish every port on loopback only; Docker's rules bypass ufw and the INPUT chain sed -i -E 's/- "([0-9-]+:[0-9-]+)"/- "127.0.0.1:\1"/' docker-compose.yml # replace the shipped metadata-store password before the first start PW=$(openssl rand -hex 24) sed -i "s/FoolishPassword/$PW/g" docker-compose.yml environment# docker-compose.override.yml, merged automatically by `docker compose` x-restart: &restart restart: unless-stopped services: postgres: { <<: *restart } zookeeper: { <<: *restart } coordinator: { <<: *restart, environment: { DRUID_XMS: 768m, DRUID_XMX: 768m } } broker: { <<: *restart, environment: { DRUID_XMS: 1g, DRUID_XMX: 1g } } historical: { <<: *restart, environment: { DRUID_XMS: 1g, DRUID_XMX: 1g } } middlemanager: { <<: *restart, environment: { DRUID_XMS: 128m, DRUID_XMX: 128m } } router: { <<: *restart, environment: { DRUID_XMS: 128m, DRUID_XMX: 128m } }Then
docker compose up -d, and from your workstationssh -N -L 8888:127.0.0.1:8888 you@<vps-ip>before openinghttp://localhost:8888. A few details explain the edits. The 38.0.0 file defines seven containers (five Druid services,postgres:17.6andzookeeper:3.5.10) and publishes all of their ports on every address; after thesedthey answer only on 127.0.0.1, and the services still reach each other by name on the Compose network. The PostgreSQL image readsPOSTGRES_PASSWORDonly when it initialises an empty data volume, so changing it after the first start does nothing. The heap values are a starting point, not a measured optimum; setDRUID_XMSandDRUID_XMXtogether, because the image defaults both to 1 GB and a JVM refuses to start when the initial heap exceeds the maximum. Compose will also warn that the file'sversionkey is obsolete; that warning is harmless. - 03
Deep storage on our object storage
Both routes default to local deep storage, the
var/directory or thedruid_sharedvolume, which leaves the only copy of every segment on the same disk as the cache. Point it at a bucket on our S3-compatible object storage instead: you get an endpoint and access keys, billing is by size only, and there are no request fees. For the tarball, comment out thelocalandfilestorage lines inconf/druid/auto/_common/common.runtime.properties, append"druid-s3-extensions"todruid.extensions.loadList, and add:druid.storage.type=s3 druid.storage.bucket=druid-segments druid.storage.baseKey=segments druid.storage.disableAcl=true druid.indexer.logs.type=s3 druid.indexer.logs.s3Bucket=druid-segments druid.indexer.logs.s3Prefix=task-logs druid.indexer.logs.disableAcl=true druid.s3.endpoint.url=https://<endpoint issued with your bucket> druid.s3.endpoint.signingRegion=<region> druid.s3.enablePathStyleAccess=true druid.s3.accessKey=<access key> druid.s3.secretKey=<secret key> druid.startup.logging.maskProperties=["password","secretKey"]For Docker, write the same keys into the
environmentfile with dots turned into underscores (druid_storage_type=s3and so on), add the extension todruid_extensions_loadList, and setAWS_REGION.disableAcl=truestops Druid from setting per-object ACLs, which need permissions an S3-compatible store has no reason to grant; the AWS SDK inside Druid insists on a region, which is whyAWS_REGIONappears in the unit file. - 04
Turn authentication on
Before the console is reachable by anyone but you, load
druid-basic-security, configure the authenticator, authoriser and escalator as in Druid's security overview, generate the admin and internal-client passwords, and give dashboard users read-only roles. Supply the passwords through Druid's environment-variable password provider rather than in the properties file. The reason is Druid's trust model: a user with write access to any datasource can do anything the Druid process can, because ingestion tasks run as that process. The quickstart's own "Local disk" input reads the server's filesystem, so an open console will happily ingest any file thedruiduser can read. That is also why the unit above runs Druid as an unprivileged user and never as root.
05/06
Cost.
| Item | Per month |
|---|---|
| VPS Pro (6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer) | $22.99 |
| Daily backups (+20 %) | $4.60 |
| Object storage, 250 GB bucket for deep storage | $1.99 |
| Total | $29.58 |
With deep storage in a bucket, the VPS still holds two things the bucket cannot rebuild: the metadata store and your configuration. Daily backups cover both; a nightly pg_dump pushed to the same bucket with rclone or restic is the cheaper alternative. Yearly billing takes roughly 25 % off the VPS, which brings VPS Pro to about $17.25 a month (the yearly price divided by twelve). An extra IPv4 is $2 a month and priority support $10. Full figures for every plan are on the pricing page.
We take crypto only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part of a top-up is refundable within 14 days. A $250 top-up becomes a $287.50 balance, about 9.7 months of the setup above (theoretical). Opening an account is no-KYC: an email address is enough, and business customers paying in crypto are welcome. The contract is with Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen); questions go through a support ticket from the client panel.
06/06
Limits and acceptable use.
VPS traffic is not unmetered. VPS Pro includes 20 TB a month, which averages out at about 61.7 Mbit/s sustained (theoretical: 20 × 10¹² bytes over a 30-day month). A Kafka feed from another network, dashboard traffic and any segment traffic to storage outside ALP1 all deserve a line in that budget.
Securing the instance and the data in it is your responsibility. Event data usually carries personal data such as IP addresses and device or user identifiers, and for that data you are the controller under the revised Swiss FADP, in force since 1 September 2023. Druid's retention rules help, with one trap: a drop rule only unloads segments from Historicals, and the data stays in deep storage until a kill task deletes it, so enable automatic kill (druid.coordinator.kill.on) if your retention promise covers the bucket as well.
You may not use the server to store or make available content that is unlawful in Switzerland. 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 (Swico Code of Conduct Hosting 2025).
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.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProRecommendedProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy 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
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Will Druid run on VPS Standard with 4 GB?
Druid keeps a deprecated nano-quickstart profile for 1 CPU and 4 GiB, which the project describes as meant for limited evaluations in resource-constrained environments. VPS Standard (4 vCPU, 4 GB, $12.99) sits below the 6 GiB the 38.0.0 quickstart asks for. Use it to look around the console for an afternoon, not to keep data you care about.
Do I need ZooKeeper and PostgreSQL on a single server?
ZooKeeper, yes, but there is nothing extra to install: start-druid launches one next to the Druid services, and the Compose file runs its own container. The metadata store is a choice. The tarball defaults to embedded Derby under var/, fine for an evaluation; for anything you keep, use Debian's PostgreSQL with the bundled postgresql-metadata-storage extension. It holds the catalogue of which segments exist, plus your supervisors, rules and users, so it is the first thing to back up.
Can I mount the object-storage bucket as the segment cache or as var/?
No. Our object storage consists of S3 buckets reached through an endpoint and access keys; it is not a block volume, and there is nothing to format or attach. Druid memory-maps its segment cache and the metadata store expects a real filesystem, neither of which a FUSE mount over S3 provides. Use the bucket as deep storage through druid-s3-extensions and keep the cache on the VPS's local NVMe.
When is it time for a dedicated server?
When the segments you query daily no longer fit in free RAM, when ingestion and queries fight over the same 8 GB, or when the transfer allowance becomes the constraint. VPS Power ($42.99, 16 GB) matches what the micro-quickstart profile assumes. Among the dedicated servers, Rigi ($64.99, 32 GB DDR5 ECC) costs a dollar less than VPS Ultra with the same RAM, dedicated cores and unmetered traffic under fair use, but fewer threads. For scan-heavy work on one box, memory bandwidth often runs out before cores do; the EPYC 4004 models have two DDR5 channels, while Matterhorn (EPYC 9254, 24 cores, 192 GB, $219.99) has twelve.
Does hosting in Switzerland keep my analytics data out of foreign reach?
It puts the server under Swiss law, which has concrete effects. The European Commission's review of 15 January 2024 confirmed that Switzerland ensures an adequate level of protection, so EU event data can be sent to ALP1 without additional safeguards, and since 15 September 2024 Switzerland recognises US companies certified under the Swiss-U.S. Data Privacy Framework as adequate, which matters if aggregates flow on to a US tool. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That does not shield data from a US order if you yourself fall under US jurisdiction. On the Swiss side, the revision of the surveillance ordinance put to consultation on 29 January 2025 is not in force as of 31 October 2026, and the Federal Council has announced a second consultation. The details are on our offshore hosting page.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
- EU adequacy for Switzerland confirmed 15 Jan 2024 (decision 2000/518/EC)commission.europa.eu
- CLOUD Act executive agreements with the UK and Australia only, verified 31 Oct 2026justice.gov · verified 31 Oct 2026
Industry, providers and software
- Debian 13 (trixie) OpenJDK 21 and 25 packagespackages.debian.org
- Docker Engine on Debian, Debian 13 support and firewall limitationsdocs.docker.com
Other references
- Apache Druid downloads, latest release 38.0.0 (1 Oct 2026) and 37.0.0 (8 May 2026)druid.apache.org
- Druid local quickstart, 6 GiB RAM, Python 3, Perl 5, start-druid -mdruid.apache.org
- Druid Java runtime, Java 21 and 25 supporteddruid.apache.org
- Druid upgrade notes, Java 11 support removeddruid.apache.org
- Druid single-server deployment, 80 % memory default and reference profilesdruid.apache.org
- Druid "Run with Docker" and the 38.0.0 Compose and environment filesdruid.apache.org
- Druid S3-compatible extension, deep storage and endpoint propertiesdruid.apache.org
- Druid security overview and trust modeldruid.apache.org
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.
