Cross-region replication is in private preview on AWS. To request access, join the waitlist and tell us which regions you need.
When should you use it?
A standard ClickHouse Cloud service runs in a single region. If that region goes down, the service is unavailable until the region recovers, or until you restore a backup that was exported to another region into a new service there. The recovery point in that case is the most recent backup (up to 24 hours old with the default policy, or 6 hours with configurable backups), and recovery time grows with the amount of data to restore—hours for larger services. Data resiliency covers that process in detail. Cross-region replication is built for enterprises that need the highest level of availability guarantees—typically a recovery time objective (RTO) and recovery point objective (RPO) of less than an hour, which backup and restore can’t deliver. With the data already in the secondary region, there’s nothing to restore. Recovery time comes down to provisioning compute there (minutes), and the recovery point is the last part written to object storage. If your recovery objectives are measured in hours, backups are enough and come without the trade-offs of a second region.How it works
A cross-region service is active-passive. The primary region is active and serves all reads and writes, while the secondary region holds a complete copy of the data and takes over after a failover. You choose both regions when you create the service, and they must be on the same continent (us-east-1 and us-west-2, for example).

Failover and failback
Failover is manual (ie - ClickHouse Cloud won’t fail a service over on its own). When you trigger it, ClickHouse Cloud stops writing to the primary region, removes the primary region’s Keeper nodes from the cluster, transfers Keeper leadership to the secondary region, and starts replicas there.
Trade-offs
A cross-region service costs more to run than a single-region one, and its inserts are slower:
Merges rewrite data in the background and each merged part is transferred too, so egress is a multiple of the volume you insert. The insert latency penalty depends on the distance between the two regions and on the shape of your insert workload.