EC2 Preparation
First you need to sign up for Amazon's EC2 service and download your X.509 certificate and private key. The certificate and private key files are named as cert-<GUID>.pem and pk-<GUID>.pem.
Create a directory to hold your EC2 access credentials.
$ mkdir ~/.ec2 $ mv ~/Downloads/*.pem ~/.ec2
Next download the EC2 API command line tools, add it to your PATH and create a few environment variables.
$ cd ~/bin $ unzip ~/Downloads/ec2-api-tools.zip $ ln -s /ec2-api-tools-1.3-46266 ec2 $ export $EC2_HOME=~/bin/ec2 $ export …[Read more]