Skip to main content


Now we should initialize the servers as configurations that we made.


The command examples used in this section uses kupboard bash script. Check out Bash script for running kupboard for more information.


The private key used to create server instances must be in data/certs and its name should be ssh.pem.

Generate SSH Keys#

First, we need to generate a private key and public key for ssh connection to all servers. You can create new keys with the kupboard command setup --keygen.

$ kupboard setup --keygen

If the command works properly, you can find ssh-kupboard.pem and in data/certs.

$ ls data/certs/

Initialize User#

setup --init-user will copy the public key to all servers so that kupboard can access them through ssh connection with the public key.

$ kupboard setup --init-user

Once this step is completed properly, you should access admin-node1 using kupboard ssh admin-node1.


You can use a specific username when you need to use a specific username to initialize servers. For example, we should use a username used to register a public key when setting up servers on GCP.

$ kupboard setup --init-user --root-username kupboard

Initialize Cluster#

To initialize all servers with basic setting, setup --init-cluster is used. (init step 1)

$ kupboard setup --init-cluster

Initialize Kubernetes#

To initialize all servers with, setup --init-k8s is used. (init step 2)

$ kupboard setup --init-k8s

Finish Initialization#

To finish initialization, setup --init-finish is used. (init step 3)

$ kupboard setup --init-finish