Adding servers


Before you will be able to run any apps with Codemason, you will need to have added at least one server to an environment of your choosing. When multiple servers are added to an environment, they form a cluster where their resources are pooled and services are automatically spread across to utilise resources more effectively.

You can add any Linux server running Docker 1.10.3+.

We take care of your infrastructure, you retain total control.

Adding servers

Adding a server to Codemason is very simple. Once you have provisioned a Linux, server with Docker 1.10.3+ installed, go to Servers and click the "Add Server" button on the environment you want to add your server to.

Codemason will generate a Docker run command for you. Simply run that command on your server. This will launch a rancher-agent container on your server. It will then contact Codemason and automatically register itself with your environment.

The generated command is unique to your chosen environment, so always be sure to copy the command from Codemason each time you want to register a server.