Installing EC2 Tools
From KlavoWiki
To install the EC2 tools simple copy the text below into your Linux CLI.
yum -y install ruby rsync wget http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm rpm -i ec2-ami-tools.noarch.rpm rm -f ec2-ami-tools.noarch.rpm
You're done. The tools are now installed. Have a look at Building_an_AMI on how to create an image to work with EC2.