Creating your first Auto Scaling group


634 students completed the lab in ~36m

Total available time: 1h:0m

363 students rated this lab!

This Lab introduces the basics of Auto Scaling in Amazon Web Services (AWS). The 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 the 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. Auto Scaling is well suited for applications that have stable demand patterns, or that experience hourly, daily, or weekly variability in usage.



This is a beginner level Lab, however, in order to follow the next steps you should be able to:

  • Describe and launch EC2 instances
  • Describe, create, and configure Security Groups


Learning Objectives:

By the end of this Lab, you should be able to:

  • Understand user data
  • Describe and create a launch configuration
  • Describe and create an Auto Scaling group


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

Creating a launch configuration

In this step, we will define a few concepts, identify the goal for the lab, and start creating a launch configuration in the AWS console.

Creating an Auto Scaling group

In this step, we will create the Auto Scaling group

Testing the ASG behaviour during failures

In this step, we will check out what was created and test the Auto Scaling group during failures