Setup a Scylla Cluster

This section describes how to set up the three node cluster which will be used throughout this course. This isn’t a stand-alone lesson. The procedure below is used by some other lessons.


Before we proceed with the Scylla installation, please ensure that your environment meets the following prerequisites:

  1. Docker for MacWindows or Unix. Please note that running in Scylla in Docker is recommended for testing and evaluation purposes. Use caution when doing this in a production environment.
  2. This Git repository.
  3. 3. 3GB of RAM or greater for Docker.
  4. If you are using Linux, you will need docker-compose.

Now let’s proceed and get a three node cluster up and running in Docker.

If you haven’t done so yet, download the example from git:

git clone

Setting up a Cluster

If you already set up a cluster in previous lessons stop and remove it by stopping all the containers. The following stops and removes all containers in the system, make sure that you don’t delete other non-Scylla related containers!

docker stop $(docker ps -aq)
docker rm $(docker ps -aq)

Now, use docker-compose to set up the cluster:

cd scylla-code-samples/mms
docker-compose up -d

After a minute or so, the MMS should be up and running. Let’s verify this:

docker exec -it mms_scylla-node1_1 nodetool status

Here, using nodetool, we can see that all three nodes are up and running in the cluster.