Mastering Amazon EC2 Dynamic Scaling Policies

Mastering Amazon EC2 Dynamic Scaling Policies
Mastering Amazon EC2 Dynamic Scaling Policies

CLOUD LABS

Mastering Amazon EC2 Dynamic Scaling Policies

In this Cloud Lab, you’ll learn about the different scaling options available for the Auto Scaling group, get a deep knowledge of dynamic scaling policies, and learn to use them with different metrics.

11 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of the launch template and the Auto Scaling group
Hands-on experience creating an Auto Scaling group
Hands-on experience creating and understanding target tracking policy for CPU utilization
Proficiency in SQS based dynamic policy and its flow
An understanding of CloudWatch alarms and their conditions
The ability to integrate SQS-based policy to a fully functional application

Technologies
CloudWatch logoCloudWatch
EC2 logoEC2
SQS logoSQS
Cloud Lab Overview

EC2 Auto Scaling enables you to configure the group size for your EC2 instances based on some statistics, patterns, behaviors, scenarios, and the nature of your application. Dynamic scaling is one of the auto scaling policies that scales your group size based on your defined criteria.

Firstly, you’ll create a launch template and an Auto Scaling group to provision an EC2 instance. Then, you’ll create a dynamic policy to monitor the CPU utilization of the group so that if it exceeds the specific threshold, the group should scale automatically. You’ll also use an SNS topic, an SQS queue, and CloudWatch alarms to create dynamic policies based on SQS. Finally, you’ll test these policies using a web application.

By the end of this Cloud Lab, you’ll thoroughly understand dynamic scaling policies and how to use them in your scenarios. You’ll also be able to expand the working with Auto Scaling groups and policies more efficiently.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
Scaling Policies
2.Auto Scaling Group
Create Security Group and Launch Template
Create an Auto Scaling Group
3.Scaling Based on CPU Utilization
Target Tracking Scaling
4.Scaling Based on SQS Queue
SNS Topic and SQS Queue
CloudWatch Alarms
SQS-based Scaling
Putting it All Together
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image