hands-on lab

Using Amazon EC2 Auto Scaling with the AWS CLI

Up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Amazon EC2 Auto Scaling Groups enable you to adjust capacity to meet changes in resource demand over time. Auto Scaling groups can also help you ensure availability of your applications by ensuring a minimum number of instances are always running.

Learning how to use Amazon EC2 Auto Scaling Groups with the AWS command-line interface will make you more effective at deploying and managing Amazon EC2 based applications in the AWS cloud.

In this hands-on lab, you will use the AWS CLI to create a new Auto Scaling Group, and you will explore the scaling options available.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Create a new Amazon EC2 Launch Template
  • Create a new Amazon EC2 Auto Scaling Group
  • Observe your Auto Scaling Group using the AWS CLI
  • Scale your Auto Scaling Group manually and on a schedule

Intended Audience

  • Candidates for AWS certification
  • Cloud Architects
  • DevOps Engineers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Amazon Elastic Compute Cloud (EC2)
  • Amazon EC2 Auto Scaling
  • AWS Command-Line Interface

The following content can be used to fulfill the prerequisite:

Environment before

Environment after

About the author

Learning paths

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Connecting to a Shell using AWS Systems Manager
Creating an Auto Scaling Group
Configuring and Observing an Auto Scaling Group