Locked labs are available only to subscribers

Working with Amazon EC2 Auto Scaling Groups


4080 students completed the lab in ~30m

Total available time: 1h:0m

2090+ students rated this lab!

Learn to automatically scale up or down your EC2 infrastructure using Auto Scaling Groups

This lab introduces the basics of Auto Scaling in Amazon Web Services. The Amazon Web Services (AWS) Auto Scaling service automatically adds or removes compute resources allocated for your cloud application, in response to changes in demand. For applications configured to run on a cloud infrastructure, scaling is an important part of cost control and resource management.

Scaling is the ability to increase or decrease the compute capacity of your application either by changing the number of servers (horizontal scaling) or by changing the size of the servers (vertical scaling).

Auto Scaling helps you maintain application availability and allows you to scale your Amazon EC2 capacity up or down automatically according to the defined conditions. You can use Auto Scaling to help ensure that you are running your desired number of Amazon EC2 instances. Auto Scaling can also automatically increase the number of Amazon EC2 instances during demand spikes to maintain performance and decrease capacity during lulls to reduce costs. AS is well suited to applications that have stable demand patterns, or that experience hourly, daily, or weekly variability in usage.

By completing this lab you will learn about:

  • Configuring Auto Scaling to automatically launch web server instances
  • Building an elastic cluster by integrating Auto Scaling with an Elastic Load Balancer
  • Setting CloudWatch alarms to automatically adjust the size of the web farm based on CPU utilization
  • Utilizing Auto Scaling to ensure the availability of steady state resources


Follow these steps to learn by building helpful cloud resources

Log In to the Amazon Web Service Console

Your first step to start the laboratory experience

Auto Scaling Overview

Give an overview about the creation process of an Auto Scaling Group


Create a load balancer using ELB

How to create a load balancer using Elastic Load Balancing service.

Create a Launch Configuration

How to create an Auto Scaling Launch Configuration

Create an Auto Scaling Group

How to create an Auto Scaling Group by using a specific Launch Configuration