From the course: AWS Certified Machine Learning Engineer - Associate (MLA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 26,500 courses taught by industry experts.

Scaling Amazon EC2 instances using Auto Scaling groups (ASGs)

Scaling Amazon EC2 instances using Auto Scaling groups (ASGs)

From the course: AWS Certified Machine Learning Engineer - Associate (MLA-C02) Cert Prep

Scaling Amazon EC2 instances using Auto Scaling groups (ASGs)

“

Let's learn how to scale Amazon EC2 instances using an auto-scaling group in AWS. Scaling our EC2 instances using an auto-scaling group ensures that our application can handle varying loads by automatically adjusting the number of running instances based on the demand. For this guide, we will first create a launch template that specifies the configuration information of the EC2 instance. Afterwards, we'll proceed in creating an auto-scaling group, and finally, configure the auto-scaling group with a simple scaling policy. Now, let's create a launch template. Log into your AWS account to access the AWS Management Console. Go to the unified search bar on top and type EC2. Click EC2 on the results below. The screen that you see here is the Amazon EC2 dashboard. On the left-hand panel are other menu links that we can use such as EC2 Global View, Events, Instances, Instance Types, Launch Templates, and so on. Under Instances, select Launch Templates, and click Create Launch Template. Enter…

Contents