Skip to content

Instantly share code, notes, and snippets.

@weavenet
Created January 16, 2012 14:41
Show Gist options
  • Save weavenet/1621166 to your computer and use it in GitHub Desktop.
Save weavenet/1621166 to your computer and use it in GitHub Desktop.
Install AWS Cloud Init On RHEL 6u2
#!/bin/bash
# For latest cloud init source see
# http://aws.amazon.com/developertools/4026240853893296
# Download archive
wget https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-1.0-6.zip
# Unzip archive
unzip aws-cfn-*.zip
# Run python setup.py
cd aws-cfn* && python setup.py install
@rafaelfelix
Copy link

AWS now has a smarter link, so you'll always download the latest version of cfn tools without having to change the script:

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

Thanks!

@11xor6
Copy link

11xor6 commented Feb 7, 2013

You are going to at least need:

easy_install requests

And probably:

easy_install python-daemon

As they are dependencies of the python scripts.

@11xor6
Copy link

11xor6 commented Feb 8, 2013

It's a lot easier to do with epel-release; after a bunch of work I came up with this: https://gist.github.com/11xor6/4737097

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment