Getting Started with Auto Scaling
There are several ways to get started with Auto Scaling. You can set up Auto Scaling through the AWS Management Console, with the AWS Command Line Interfaces (CLI), or with AWS SDKs. To learn more, see below for tutorials, blogs and videos.
Getting Started with the AWS Management Console
1
Step 1: Sign into the AWS Management Console
Create an account and sign into the console. With Amazon EC2, you pay only for what you use. If you are a new AWS customer, you can get started with Amazon EC2 for free. For more information, see
AWS Free Tier.
2
Step 2: Create a launch template
In the
Amazon EC2 Dashboard, choose "Launch Templates" to create a launch template, specifying a name, AMI, instance type, and other details. Below are some guidelines on setting up your first launch template.
Choose an Amazon Machine Image (AMI): We recommend the Amazon Linux 2 AMI (free-tier eligible).
Choose an instance type: We recommend the t2.micro (free-tier eligible).
Security group: You have the option to configure your virtual firewall.
3
Step 3: Create an Auto Scaling group
Using the Auto Scaling wizard, create an Auto Scaling group specifying a name, size, and network for your Auto Scaling group.
4
Step 4: Add Elastic Load Balancers (Optional)
When you set up Auto Scaling with
Elastic Load Balancing, you can automatically distribute incoming application traffic across Amazon EC2 instances within your Auto Scaling groups to build highly available, fault-tolerant applications.
Associate your load balancer with your Auto Scaling group to distribute traffic for your application across a fleet of EC2 instances that can scale with demand.
You must first create a load balancer.
Associate your load balancer with your Auto Scaling group to distribute traffic for your application across a fleet of EC2 instances that can scale with demand.
You must first create a load balancer.
5
Step 5: Configure Scaling Policies (Optional)
Configure scaling policies for your Auto Scaling group.
Getting Started with the AWS Command Line Tools (CLI)
You can access the features of Amazon Auto Scaling using the AWS CLI, which provides commands for a broad set of AWS products, including Amazon EC2 and Amazon CloudWatch. For more information about the commands for Auto Scaling, see the
Auto Scaling section of the AWS Command Line Interface Reference.
Getting Started with the AWS SDKs
Get started with Auto Scaling by using APIs tailored to your programming language or platform, or AWS Mobile SDK to help you build high-quality mobile apps quickly and easily. See
Tools for Amazon Web Services for more information.
Tutorials
Blogs
Videos

Automating Management of Amazon EC2 Instances
Learn about how to automate launches with Launch Configurations, configure the software environment before your instance accepts traffic using Lifecycle hooks, and how to create a resilient multi-AZ fleet to run your application with minimal effort.

Auto Scaling - the Fleet Management Solution for Planet Earth
AWS and NASA Jet Propulsion Laboratory (JPL) discuss how Auto Scaling offers an advantage to everyone – whether it’s basic fleet management to keep instances healthy as an EC2 best practice, or dynamic scaling to manage “extremes”.
Videos

Lifecycle Hooks Made Easier
Dr. Matt Wood, Director Product Marketing, AWS discusses how Auto Scaling emits an event using Amazon CloudWatch Events when an Amazon Elastic Compute Cloud (EC2) instance is ready to execute a launch or termination lifecycle hook.

All You Need to Know About Auto Scaling
This video introduces the basics of how to use Auto Scaling before moving on to more advanced topics such as mixing Spot and On-Demand instances to optimize cost or strategies for blue/green deployments.

Auto Scaling EC2 with Custom Scaling Policy
This video shows how to set-up up Auto Scaling EC2 instances and put them into an Elastic Load Balancer (ELB). You will also learn how to set-up a custom scaling policy that is triggered from a CloudWatch alert.
Get Started with AWS for Free
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages