/plushcap/analysis/cockroach-labs/tutorial-how-to-simulate-a-multi-region-cockroachdb-cluster-on-localhost-with-docker

Tutorial: How to Simulate a Multi-Region CockroachDB Cluster on localhost with Docker

What's this blog post about?

This tutorial by Cockroach Labs enterprise architect Fabio Ghirardello demonstrates how to simulate a multi-region CockroachDB cluster on localhost using Docker. The instructions assume you are running Linux or macOS, and have Docker installed. The process involves creating the required networks, configuring the HAProxy in each region, creating Docker containers for nodes in each region, initializing the cluster, attaching nodes to inter-regional networks, and finally, setting up a license and configuration for your Cockroach Cluster. Once completed, you can view the CockroachDB Admin UI at localhost:8080 and start your development work on a simulated multi-region deployment.

Company
Cockroach Labs

Date published
Oct. 2, 2020

Author(s)
Fabio Ghirardello

Word count
1471

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.