Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

ASG – Auto Scaling Group, Scaling Processes Explained

AWS Auto scaling group (ASG) comes into the picture when we want to have a declarative control and fault tolerant over the infrastructure. By declarative It meant describing how many Instances one wants to run at a given time. Providing min, max and desired count of the Instances.

Based on the values given for min, max and desired as and when there is any change in these values because of any external or internal failures of EC2 instances, ASG will try to bring the system back to desired state.

ASG also supports scaling EC2 instances Horizontally, based on different parameters which could be Average CPU usage or Cloud watch alarms just to name some.

In this article we are going to discuss on ASG scaling policy and their importance from SysOps Admin Certification Examination.

ASG Scaling policies, are configured while setting up the ASG configuration.

Page looks something like below.

Step 1
Step 2

In Step 1 screenshot, Group Size parameters defines the desired state of the ASG being created.
In Subnets block we are setting all the subnets where ASG can start instances based on scaling polices, good practice selecting all the AZ’s under a region to give you maximum High Availability and Fault Tolerance.

For this demo I’m keeping Group Size parameter to 1, you can change it to 5 or 10 or any other number depending on the need. ASG will start those many instances first and that number will become the desired state of the application under ASG.

Moving to Step 2, we have two settings here.
1. Keep this group to its initial size – which means there will not be any scaling operation in any event of increased traffic situation(Which is not encouraged) though it can come handy when you know you will not encounter any spike or high load situation for the application which is behind ASG.
2. Use scaling policies to adjust the capacity of this group – (this is where magic happens) We have selected this settings. This means we can have policies based on which we can increase or decrease the number of instance. Imagine a situation when you don’t have to interfere and your application automatically scales to the need of the hour and be functional in the event of high traffic it’s being subjected to encounter. Sounds like a fairytale ?
Let’s see how we can achieve this !

Here Scale between block, provides us minimum and maximum number of instances against which ASG would be scaled too.

Now let’s focus on Scaling our ASG based on some parameter. We will move our focus to Scale group size block now and options it provides.

Scale group size have 4 main settings for us which are explained below :
1. Metric Type : This has values against which metric we want to scale our ASG with. Values could be Avg. CPU utilisation of the Instances running as part of ASG. Other values available are network though put in and out etc.
2. Target Value : In this block we have to enter the value at which our Scaling out operation will trigger. Consider if we have selected Avg CPU Utilisation as metric, and we want our ASG to scale once CPU usage crosses 80% we can enter 80 here.
3. Instance Needs : This block hold time in seconds, that an Instance needs after which it can start receiving traffic. Consider some bootstrap script needs to be run to install some software.
4. Disable scale In : This saves us money :), when load decreases ASG auto scales in.

Thats all folks ! we will have subsequent ASG tutorials where we will discuss about ASG notification, Step Scaling policies and more. Stay tuned 🙂

Gaurav Bajpai

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in offers unparalleled convenience and affordability in bike rentals, allowing users to enjoy hassle-free rides for commuting, exploring, or leisure trips. With a wide range of bikes and scooters, it’s your trusted partner for all two-wheeler needs.

Related Posts

AWS CLI Credentials Setup: Configure, Verify, and Secure Access

Learn how to configure AWS credentials with the AWS CLI, verify your identity, and understand where credentials are stored. This updated guide also compares profiles, environment variables, and role-based access.

Read More

Provision an AWS EC2 Instance with Chef (Legacy ChefDK Workflow)

A practical, step-by-step walkthrough for provisioning an AWS EC2 VM using the classic ChefDK and chef-provisioning approach. Includes workflow, commands, recipe examples, and validation checks for legacy environments.

Read More

EC2 Boot from EBS Explained: Architecture, Trade-offs, and an AWS CLI Workflow

Booting Amazon EC2 instances from Amazon EBS was a major shift from ephemeral root disks to persistent root volumes. This guide explains what changed, why it mattered, and how to use the model safely in modern operations.

Read More

Deploying Java EE on Amazon EC2 with EC2Deploy: Workflow, Script, and Modern Lessons

This revised guide breaks down the original EC2Deploy approach for provisioning EC2 instances, deploying Java EE apps, and running JMeter tests. It also maps the same deployment pattern to modern DevOps practices.

Read More

EC2Deploy and the Cloud Tools Maven Plugin: Architecture, Goals, and Deployment Workflow

This revised guide explains what the 2010 EC2Deploy and Cloud Tools release actually introduced, how its components fit together, and how the Maven goals map to deployment operations on EC2. It also covers what modern teams should verify before relying on this legacy toolchain.

Read More

Cloud Tools Adds Amazon EBS Support: Durable EC2 Storage for Database Workloads

This historical update covers when Cloud Tools introduced Amazon EBS support for EC2 applications, including database-backed deployments. It explains the supported storage modes, the backup/restore flow, and practical command-level equivalents.

Read More