AWS CloudFormation gives developers and systems administrators an easy way to create a collection of related AWS resources and provision them in an orderly and predictable fashion. The AWS CloudFormation samples package contains a collection of templates that illustrate various usage cases. Stacks can be created from the templates via the AWS Management Console, the AWS CLI, the AWS CloudFormation APIs, or the AWS Toolkits. You can use the templates as-is or you can use them as a starting point for creating your own templates. All the sample templates can be downloaded here.

AWS CloudFormation is available in all AWS regions. For more details click here.

The following sample templates show you how to provision existing open source application stack. Each of the samples shows how to deploy and install the application at launch time using the AWS CloudFormation application bootstrap support described here.

Description

Template URL

Launch in US West (Oregon) Region

Drupal is an open source content management platform powering millions of websites and applications. For more details click here.

Example of creating an Amazon Relational Database Service database instance with the snapshot deletion policy. This will cause a snapshot of the Amazon RDS database instance to be created before the database resource is deleted.

Create a multi-tier web application in a VPC with multiple subnets. The first subnet is public and contains and internet facing load balancer, a NAT device for internet access from the private subnet and a bastion host to allow SSH access to the hosts in the private subnet. The second subnet is private and contains a Frontend fleet of EC2 instances, an internal load balancer and a Backend fleet of EC2 instances.

AWS CloudFromation provides helper scripts to make it easy for you to bootstrap applications in the cloud. We have provided several whitepapers that describe how AWS CloudFormation can help you to configure and/or install your application as well as how to bootstrap deployment and management tools that you may already use in your environment such as Chef and Puppet. The following templates accompany those whitepapers:

Install the open source WordPress application with the Puppet Client using the Puppet configuration in an embedded template puppet-client-configuration.template. You need to deploy a Puppet Master using the previous template.

CloudFormer is a prototype tool that enables you to create AWS CloudFormation templates from the existing AWS resources in your account. You can provision and configure your application resources the way you want using your existing processes and tools. Once everything is setup and you have the resources provisioned, simply take a "snapshot" of the configuration to create a template, enabling you to launch copies of the application with just a few clicks through the AWS Management Console. The CloudFormer tool is packaged as a standalone application that you can launch inside your AWS environment. The application is started on a t1.micro Amazon EC2 instance via AWS CloudFormation. No other AWS resources are required to run CloudFormer.

You must reference a template in an S3 bucket in the same region in which you are creating the stack. Each sample template is available in every AWS Region. You can use the same template files from each region from the following pages: