- Automating Application Installation Using AWS CloudFormation and Cloud-Init
- CFN Helper scripts
- 12/10/2012: Fixed issue preventing downloads with Content-Encoding: gzip from being properly expanded. Added Windows 64-bit support. Added support for managing Windows services. Added cfn-hup as a Windows service.
- 09/19/2012: Updated to support non-IAM use of helper scripts
- 04/12/2012: Added Windows support for all features including MSI package manager support
- 02/14/2012: Added support for files from private (authenticated) locations, exec, provisioning OS users/group and config sets
- cfn-init: Used to retrieve and interpret the resource metadata, installing packages, creating files and starting services.
- cfn-signal: A simple wrapper to signal a CloudFormation WaitCondition allowing you to synchronize other resources in the stack with the application being ready.
- cfn-get-metadata: A wrapper script making it easy to retrieve either all metadata defined for a resource or path to a specific key or subtree of the resource metadata.
- cfn-hup: A daemon to check for updates to metadata and execute custom hooks when the changes are detected.
These scripts are installed by default on the latest Amazon Linux AMI in /opt/aws/bin. They are also available in the Amazon Linux AMI yum repository for previous versions of the Amazon Linux AMI as well as via RPM for other Linux/Unix distributions. The scripts can also be installed on Microsoft Windows using Python for Windows.
- The AWS helper scripts are available in the Amazon Linux AMI yum repository (the package name is aws-cfn-bootstrap) for previous versions of the Amazon Linux AMI.
- The RPM package for the Amazon Linux AMI is also available here.
- A source RPM package is available for other Linux distributions here.
- A Python easy-install package is available here.
- A ZIP archive is available here.
- Windows MSI file is available for 32bit Windows and 64bit Windows. To deploy to Windows, you also need to download the Microsoft Visual C++ 2008 Redistributable Package from here