Creating your first Auto Scaling group

Beginner

36 students completed the lab in ~25m

Total available time: 1h:0m

20+ students rated this lab!

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 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 to applications that have stable demand patterns, or that experience hourly, daily, or weekly variability in usage.

 

Pre-requisites:

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 in our community forum or send an email to support@cloudacademy.com.

You'll build and learn following these steps:

Log In to the Amazon Web Service Console

Your first step to start the laboratory 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