This post will be described how i did Deis installation from start to finish on bare metal.
3 nodes will be used in the installation. I have VivoPC with 8GB RAM.
Prepare the LiveCD
Download Ubuntu 14.04 and prepare the LiveCD(via unetbootin or Ubuntu startup disk creator).
Generate SSH Key
deisctl utility communicates with remote machines over an SSH tunnel. If you don’t already have an SSH key, the
following command will generate a new keypair named
Here is an example cloud-config.yml
You must change the
discovery and all visible ip’s.
You must also change the hostname for each node.(coreos-1, coreos-2, coreos-3)
Finally, you should copy the cloud-config.yml and coreos_install.sh files to livecd’s root.
- Start from the LiveCD.
- Open the xterm.
- Copy the cloud-config.yml and coreos_install.sh files to home directory.
coreos_install.sh script install to
/dev/sda disk. If you want to install the other disk, edit this script file.
This step should be repeated for each node.
See Configure DNS for more information on properly setting up your DNS records with Deis.
I used xip.io. It is so simple.
Install Deis Platform
First check that you have deisctl installed and the version is correct.
If not, follow instructions:
Find the public IP address of one of your nodes, and export it to the DEISCTL_TUNNEL environment variable (substituting your own IP address):
If you set up the “convenience” DNS records, you can just refer to them via
Before provisioning the platform, we’ll need to add the SSH key to Deis so it can connect to remote hosts during deis run:
We’ll also need to tell the controller which domain name we are deploying applications under:
Once finished, run this command to provision the Deis platform:
You will see output like the following, which indicates that the units required to run Deis have been loaded on the CoreOS cluster:
Run this command to start the Deis platform:
Once you see “Deis started.”, your Deis platform is running on a cluster! You may verify that all of the Deis units are loaded and active by running the following command:
All of the units should be active.
Register a User
Note: The first user to register with Deis receives “superuser” privileges.
Upload Your SSH Public Key
If you plan on using git push to deploy applications to Deis, you must provide your SSH public key. Use the deis keys:add command to upload your default SSH public key, usually one of:
References:comments powered by Disqus