Create Amazon EC2 Auto Scaling groups with AWS CloudFormation - Amazon EC2 Auto Scaling

Create Amazon EC2 Auto Scaling groups with AWS CloudFormation

Amazon EC2 Auto Scaling is integrated with AWS CloudFormation, a service that helps you to model and set up your AWS resources so that you can spend less time creating and managing your resources and infrastructure. You create a template that describes all the AWS resources that you want (such as Amazon EC2 Auto Scaling groups), and CloudFormation provisions and configures those resources for you.

When you use CloudFormation, you can reuse your template to set up your Amazon EC2 Auto Scaling resources consistently and repeatedly. Describe your resources once, and then provision the same resources over and over in multiple AWS accounts and Regions.

Amazon EC2 Auto Scaling and CloudFormation templates

To provision and configure resources for Amazon EC2 Auto Scaling and related services, you must understand CloudFormation templates. Templates are formatted text files in JSON or YAML. These templates describe the resources that you want to provision in your CloudFormation stacks. If you're unfamiliar with JSON or YAML, you can use CloudFormation Designer to help you get started with CloudFormation templates. For more information, see What is CloudFormation Designer? in the AWS CloudFormation User Guide.

To get started creating your own stack templates for Amazon EC2 Auto Scaling, complete the following tasks:

For a walkthrough that shows you how to deploy an Amazon EC2 Auto Scaling group behind an Application Load Balancer, see Walkthrough: Create a scaled and load-balanced application in the AWS CloudFormation User Guide.

You can find additional useful examples of template snippets that create Amazon EC2 Auto Scaling groups and related resources in the following sections of the AWS CloudFormation User Guide:

Learn more about CloudFormation

To learn more about CloudFormation, see the following resources: