Here’s how to quickly get Koken installed on Amazon EC2:

  1. Go to the AWS website and log in.
  2. Create a new t2.micro (or whatever the current free tier instance size is) instance.
  3. Select the Amazon Machine Image (AMI) when asked.
  4. Create a new key if you don’t have one already, when prompted. Keep the file that is downloaded for you.
  5. When creating a security group, be sure to add a rule to allow HTTP access from everywhere.
  6. After creating your instance, note it’s public address and open up a shell.
  7. Find your key file and run chmod 600 <key-name>.pem.
  8. Run ssh -i <key-name>.pem ec2-user@<ec2-instance-public-address>.
  9. Run the following commands on your EC2 instance:
sudo yum update -y
sudo yum install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
  1. Type exit and then run step 8 again.
  2. Run the following:
wget -qO - | sudo bash
  1. Done! You should now be able to open your EC2 instance’s public address in a web browser to complete the installation process.
  2. (Optional) To use your own domain or subdomain, create a CNAME record on your DNS records to point to the EC2 instance’s public address.