CloudLinux - Setting up KuberDock on AWS
Getting started with KuberDock

 

In this article, we are going to describe how to setup KuberDock on Amazon Web Services (AWS).

We will refer to it as a control workstation further.

Get to the terminal prompt, first we need to install python pip.

yum install python-pip

Make sure that it is up to date by upgrading it.

Now, install AWSCLI to enable remote deployment at AWS.

pip install awscli

Once it is done, we can proceed with the downloading of the installation script.

Copy the command to download AWS KuberDock installation script and paste it in your terminal.

Download the script by running the command:

wget http://repo.cloudlinux.com/kuberdock/aws-kd-deploy.tar.gz

And then extract it from the archive.

Now we need to specify a few environment variables at control workstation using export command.

Set the appropriate region for your servers.

Set desired AWS instancetype for your KuberDock master server.

Set the number of nodes, we will use 2 nodes in our example. So, the total number of AWS instances for this KuberDock cluster will be three.

Set the AWS instance type for your KuberDock nodes.

Set the AWS region for S3 bucket.

In the next step we will create AWS access keys.

Log into your AWS account and go to “Identify and Security Management” section.

Go the to Users list.

Select a user for which the KuberDock cluster will be created.

Click on “Create Access Key”, it will be immediately created.

You can either click on “Show User Security Credentials” and copy the ID with your key or use “Download Credentials” button to get your ID and key directly to your PC.

Get back to your terminal and export the ID you’ve got.

Repeat that for the security key.

Start the installation script with the following command:

aws-kd-deploy/cluster/aws-kd-deploy.sh

...and allow some time for the installation process to complete.

Once it is done, you will get the link to KuberDock web interface along with username and password.