Installing AWS Cloudformation Scripts on Debian


First install needed packages:

apt-get install python-pip python-yaml unattended-upgrades

These packages are needed to build the AWS package:

pip install pystache
pip install argparse
pip install python-daemon

Now get the latest scripts from here:

wget https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

And install it:

tar -xvpf aws-cfn-bootstrap-latest.tar.gz
cd aws-cfn-bootstrap-1.4
python setup.py build
python setup.py install

When the installation has finished successfully you wil find the scripts like cfn-init or cfn-up in /usr/local/bin/.