
Sharded, replicated analytics clusters
Deploy a production-ready ClickHouse cluster on your own servers with configurable shards and replicas. Includes ClickHouse Keeper for distributed coordination, CHProxy for load balancing and connection pooling, automated S3 backups, and hot/cold tiered storage. Self-host ClickHouse with the reliability of a managed service.
Configure your cluster topology with flexible sharding and replication. Each shard can have multiple replicas for high availability and data redundancy.
ClickHouse Keeper provides distributed coordination for your cluster without external dependencies like ZooKeeper.
CHProxy provides intelligent load balancing and query routing for your ClickHouse cluster.
Integrated backup and restore with S3-compatible storage for reliable disaster recovery.
Optimize costs with automatic data tiering between hot and cold storage. Simply define your cold storage location and ClickHouse handles the rest.
Each ClickHouse node includes a restore_replica.sh script that can recover a failed replica by streaming metadata and access control data from a healthy peer in the same shard. The script automatically stops the local container, transfers the necessary files via SSH, sets proper ownership, creates a force_restore_data flag, and restarts ClickHouse. This allows you to quickly restore a replica without manual intervention or complex recovery procedures.
Customize your ClickHouse configuration without editing raw XML files. Our visual config editor layers your customizations on top of battle-tested defaults.
Why Self-Host
Skip the markup. Deploy on your own servers and save 60-90% compared to ClickHouse Cloud.
| Setup | ClickHouse Cloud | Self-Hosted |
|---|---|---|
| Small (3 nodes, 16GB RAM) | $100-400/mo | $45/mo |
| Medium (3 nodes, 64GB RAM) | $2,000-4,000/mo | $135/mo |
| Large (6 nodes, 64GB RAM) | $4,000-8,000/mo | $270/mo |
Self-hosted prices based on Hetzner dedicated servers. Managed prices based on ClickHouse Cloud production tier.
FAQ
Common questions about this deployment recipe.
Learn More
In-depth guides to help you get the most out of your deployment.
Learn how to deploy a production-ready ClickHouse cluster with sharding, replication, and ClickHouse Keeper. Covers architecture decisions, hardware sizing, and step-by-step configuration.
A detailed comparison of ClickHouse and Apache Druid for analytics workloads. Learn how they differ in architecture, query performance, ingestion, and operational complexity.
Learn what ClickHouse is, how columnar storage works, and why it's the fastest open-source analytics database. A practical introduction with real-world use cases.
A detailed cost and feature comparison between ClickHouse Cloud and self-hosted ClickHouse. Real pricing breakdowns, operational trade-offs, and a decision framework.
Learn how to back up and restore ClickHouse databases. Covers clickhouse-backup, S3 storage, incremental backups, retention policies, and disaster recovery testing.
Pay once, get free updates for a year. After that, pay again to continue receiving updates.
50 spots remaining
One-time payment • Free updates for 1 year
After 1 year, pay again to continue receiving updates
Explore our other production-ready database clusters.

Deploy a high-availability PostgreSQL cluster with Patroni for automatic failover, etcd for distributed consensus, PgBouncer for connection pooling, and HAProxy for read/write splitting. Includes pgBackRest for automated backups and cross-region read replicas. A production-ready, self-hosted alternative to AWS RDS.

Deploy a Redis Sentinel cluster with automatic failover, HAProxy for transparent master routing, and cross-region replicas for geo-distributed caching. Configurable persistence with RDB and AOF. A self-hosted, production-ready alternative to AWS ElastiCache.