This document provides information on how to deploy ClearOS on Amazon EC2
Launch your Amazon EC2 instance in the US East / N. Virginia location using the procedure described in the Amazon documentation. The following AMIs are beta quality – the final release AMIs will be available when the beta program is complete.
|ClearOS Professional 6 - 32-bit||ami-5b95f732||US East / N. Virginia|
|ClearOS Professional 6 - 64-bit||ami-ff9af896||US East / N. Virginia|
|ClearOS Community 6 - 32-bit||ami-dd98fab4||US East / N. Virginia|
|ClearOS Community 6 - 64-bit||ami-0397f56a||US East / N. Virginia|
Please take note of the following recommendations when configuring your instance.
If you plan on storing user data (for example mail stores), you can simplify the installation by adding an EBS Volume right away. When you get to the Storage Device Configuration step in the Amazon EC2 wizard, add an EBS volume of any size that you desire.
Your Security Group configuration should allow connections to SSH on TCP port 22, as well as the web-based administration tool on TCP port 81. If you can restrict access to this port from a particular IP or range of IPs, then we recommend this option.
Once the ClearOS system is up and running, the first thing you need to do is set the root password. Out of the box, ClearOS follows the defacto security standard used in Amazon EC2 - SSH login to ec2-user using an SSH key:
ssh -i my_amazon.pem firstname.lastname@example.org
Once you have a command line prompt, you can set the root password using the following command:
sudo passwd root
Once you have set a password, it is time to move on to the ClearOS first boot wizard.
Point your web browser to port 81 of your Amazon EC2 instance. If you are having connection problems, please double check the Security Groups setting to make sure access to port 81 is allowed.
During the install wizard, you are given a choice of configuring the system as either:
- A private server
- A public server
If you select public server, please note that the firewall only connections to TCP port 81 by default. If you have an SSH session running, it will get locked out. After you have completed the wizard, you can allow SSH connections by changing the firewall.
If you ever want to jump to a root prompt, run:
sudo su -