Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

ClickHouse on a VPS

ClickHouse is an open-source columnar database for analytical SQL over billions of rows. Run it on NVMe and DDR5 without a per-query bill.

4 GBMinimum memory
Ubuntu 24.04 LTSBase image
8123/tcp, 9000/tcpPorts
Apache-2.0License

About ClickHouse

ClickHouse is an open-source, column-oriented database built for analytics. Each column is stored separately and compressed, so aggregations read only the data they need. It speaks SQL, ingests dozens of file formats and is licensed Apache-2.0.

Hosted warehouses often bill by data scanned. On a CloudSat server the price is the plan, with NVMe storage and DDR5 memory, and you resize to a bigger plan as the dataset grows.

After deploy, ClickHouse server runs on Ubuntu 24.04 LTS. Its default config listens on localhost only, with the HTTP interface on port 8123 and the native protocol on 9000.

What you get with ClickHouse

  • Columnar storage with strong compression
  • SQL with joins, window functions and arrays
  • MergeTree tables with partitions, TTLs and materialized views
  • Reads Parquet, CSV, JSON and many other formats
  • Queries files in S3-compatible storage in place

ClickHouse use cases

  • Product analytics over billions of events
  • Log and observability storage you query with SQL
  • Fast backends for Grafana or Metabase dashboards

After you deploy ClickHouse

  1. When the server is Running, SSH in as root and check the service with systemctl status clickhouse-server.
  2. Open a SQL shell with clickhouse-client (add --password if the default user has one) and run SELECT version().
  3. Create a dedicated user with a password for each application instead of sharing default.
  4. Before exposing 8123 or 9000, change listen_host, add TLS or a proxy, and allow only your app servers in the CloudSat firewall.

ClickHouse ports

Open these in your firewall if you use one: 8123/tcp HTTP interface, 9000/tcp Native protocol.

ClickHouse FAQ

How much RAM does ClickHouse need?

Its docs say it can run in as little as 2 GB with tuning, warn of memory errors below 16 GB, and recommend 32 GB or more for production. Test on 4 GB, then move to 16 GB ($39.98) for real data.

Can Grafana or Metabase query it?

Yes, both have ClickHouse connectors. Point them at port 8123 or 9000 and allow only the dashboard server's IP in your firewall rules.

Disclaimer. The ClickHouse project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

ClickHouse on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back