sudo apt-get install ruby
sudo apt-get install rubygems
sudo gem install gem install CloudyScripts
mkdir /etc/cloutomate
cp /root/.ssh/id_rsa /etc/cloutomate/cloutomate.pem
RUBYOPT=rubygems ruby encrypt_credentials.rb -A accesskey -S accesskey -f ec2_credentials.cfg
for ec2
ruby check_cloudwatch.rb -a ec2-54-246-198-110.eu-west-1.compute.amazonaws.com -i i-747fad39 -f ec2_credentials.cfg -C CPUUtilization
ruby check_cloudwatch.rb -a rdsurl -i dbidentifier -f ec2_credentials.cfg -D CPUUtilization