EC2 Cloudinit and Redhat

Base Redhat AMIs do not come with aws-cfn-bootstrap installed. To use cfn-init in various cloudformation scripts, a new base image is needed with these tools installed. Here is how i did so:

1 $ easy_install requests
2 $ easy_install python-daemon
3 
4 $ wget https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
5 $ tar -xvzf aws-cfn-bootstrap-latest.tar.gz
6 $ cd aws-cfn-bootstrap*
7 $ python setup.py build
8 $ python setup.py install