Amazon EC2 Auto Scaling Getting Started
How to get started
AWS Management Console
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
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
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
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.
5
Configure Scaling Policies (Optional)
Configure scaling policies for your Amazon EC2 Auto Scaling group.
AWS Command Line Tools (CLI)
AWS Software Development Kits (SDKs)
Tutorials
Set it and Forget it Auto Scaling Target Tracking Policies
Amazon EC2 Auto Scaling Target Tracking Policies.
Automating Management of Amazon EC2 Instances
Automating Management of Amazon EC2 Instances.
Auto Scaling Lifecycle Hooks Made Easier
Amazon EC2 Auto Scaling Lifecycle Hooks Made Easier.
Additional resources
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages.