Details

About the Sample Templates

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, through the AWS
CloudFormation command line tools or via the AWS CloudFormation APIs.
To learn more about AWS CloudFormation, visit the AWS CloudFormation detail page or the Getting Started Guide.

You can use the template as-is or you can use them as a starting point for creating your own
templates.

AWS CloudFormation Command Line Tools

Use the cfn-validate-template command with the --template-file option to validate the template and list the template parameters

Use the cfn-create-stack command with the --template-file option to create a stack. If the stack requires parameter values to be filled in, you will need to also specify the --parameters option.

Using the Templates directly from Amazon Simple Storage Service (S3)

All of the sample templates are also available directly from S3. You can use the S3 URL
of a template directly from the command line tool using the --template-url option.
To view the templates that are stored in S3, click on the following links: