Automating Application Installation Using AWS CloudFormation and Cloud-Init

Articles & Tutorials>Automating Application Installation Using AWS CloudFormation and Cloud Init
Amazon Linux AMI can be used along with AWS CloudFormation to start up and configure an application dynamically at boot time. This article shows how to use the new WaitCondition resource supported by AWS CloudFormation to wait for a Ruby on Rails application to be configured and launched before the stack is considered to be successfully created. The example also takes advantage of the Amazon Linux AMI support for Cloud-init, an open source application built by Canonical. Cloud-init enables you to use the Amazon Elastic Compute Cloud (Amazon EC2) UserData parameter to specify actions to run on your instance at boot time.

Details

Submitted By: ChrisW@AWS
AWS Products Used: AWS CloudFormation, Linux
Created On: June 8, 2011 5:13 AM GMT
Last Updated: June 8, 2011 5:13 AM GMT
To learn more about using Cloud-Init, Amazon Linux and AWS CloudFormation to launch applications that are dyanmically installed at runtime read on....

Download the Sample Template

If you want to download, modify, or try out the Rails sample template, it is available as part of the AWS CloudFormation sample templates in the US East (Northern Virginia) region. To download the template click here.

Launch a Sample Stack

To launch a new Rails application in the US-East (Northern Virginia) Region, you can simply click below.

Launch Stack, style=

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.