How to use CockroachDB Community Edition with Django and Multipass on OSX

Over the break, I wrote a short tutorial on using CockroachDB with Django. This is a slight derivative of
that post using Multipass and community edition of CockroachDB. It means it does not require a license
and is missing RBAC features but for the purposes of the tutorial, all features of CockroachDB will be

Since the original tutorial was based on Ubuntu, I decided to use Multipass as it allows me to spin up
Ubuntu instances quickly on my Mac. Binaries for multipass are available for Windows and Linux as well.
Granted same can be achieved with a virtual machine, docker container or a Vagrant environment,
I chose to give this a spin as I was not familiar with the tool.

Documentation on installing cockroach can be found at the following link. The video below depicts
the process in two steps but once you're inside multipass shell, you can follow the instructions as
advertised and download the binary as well as uncompressing it in one step.

For the purposes of brevity, I will only highlight the new commands, for everything else, the original
tutorial and my previous tutorial can be followed as is.


Popular posts from this blog

VirtualBox options to start VM in Normal, Detached and Headless Modes

Running CockroachDB with Docker Compose and Minio, Part 2