This is a step by step tutorial to deploying stateful applications with high-availability and zero downtime DR (RTO,RPO~>0). You will need a cluster and the ability to spawn new ones. This tutorial works on AWS, but the concepts may be reused everywhere.
The resulting deployment will looks as this:
This tutorial is comprised of the following steps:
- cluster preparation
- establishing trust between the clusters
- deploying cockroachdb