ecm (Elastic Cluster Maker) is a simple python script that help you to configure and instantiate your elastic cluster.
You have to install euca2ools software.
- on CentOS
sudo yum install euca2ools
- on Ubuntu
sudo apt-get install euca2ools
You only have to follow some simple step:
- Use your EC2 credential
$ source ec2rc.sh
where ec2rc is the ec2rc file of the project where you want to instantiate your cluster.
-
Edit the cluster.conf file
-
Launch the ecm script and follow the instructions
$ python ecm.py
Using a CentOS7 based cluster you can submit jobs using the docker universe of HTCondor.
You can customize your cluster edit the master_files and the slave_files before running the script.
More details in http://www.pd.infn.it/cloud/Users_Guide/html-desktop/#ClusterConfiguration.