Customize of Scaling Plan in Auto Scaling Groups Using AWS Auto Scaling

“ I have checked the documents of AWS to resolve the issue of how to customize of scaling plan in auto scaling groups using aws auto scaling. So I got AWS Auto Scaling which is used to create a scaling plan as per requirement. Pricing of AWS Auto Scaling is free of cost and only need to pay for ec2 instances.” Scaling plan is used to configure auto scaling for related or associated scalable resources in a matter of minutes. For example, you can use tags to group resources in categories such as prod, test or dev. Then you can search for and set up scaling plans for scalable resources that belong to each category. Also can include AWS CloudFormation so you can define stack templates to use to create collections of resources. Then, create a scaling plan for the scalable resources that belong to each stack. AWS Auto Scaling supports the use of scaling plans for the following services and resources: Amazon Aurora, Amazon EC2 Auto Scaling, Amazon Elastic Container Service, Amazon DynamoDB and Spot Fleet. In this post, you will get to know how to customize of scaling plan in auto scaling groups using aws auto scaling. Here I have created an auto scaling group, launch template and scaling plan. Architecture Overview The architecture diagram shows the overall deployment architecture with data flow, amazon ec2, aws auto scaling and auto scaling groups. Solution overview The blog post consists of the following phases: Create of Auto Scaling Group with Required Launch Template for Instance Auto Creation Create Scaling Plan Using AWS Auto Scaling Phase 1: Create of Auto Scaling Group with Required Launch Template for Instance Auto Creation Open the Auto Scaling Groups console and Create an autoscaling group named as “test-asg” with launch template configuration. This configuration will create ec2 instances as per configuration set. We can check the instance status in the instance management tab. Also we can do instance refresh with required settings if any instance has issues to spin up a new instance or fix the issue. We can also check the instance activity in the activity tab. Phase 2: Create Scaling Plan Using AWS Auto Scaling Open the AWS Auto Scaling console and create a scaling plan with choose a method as “ec2 auto scaling groups” which are created in phase 1. Specify scaling strategy with name as “Test-Plan”, option as optimize for availability and enable dynamic scaling. Keep advanced settings as default and review and create the scaling plan. Once the scaling plan is created and active, we can check the auto scaling group configuration with dynamic scaling and policy details. Also can see cpu utilization and network metric. Clean-up Delete Scaling Plan, Launch Template and Auto Scaling Group. Pricing I review the pricing and estimated cost of this example. Cost of Auto Scaling Groups = $0.00 Cost of AWS Auto Scaling = $0.00 Cost of Elastic Compute Cloud Instance = $0.0116 per On Demand Linux t2.micro Instance Hour for 1.555 Hrs = $0.02 $0.08 per GB-month of General Purpose (gp3) provisioned storage - US East (N. Virginia) for 0.018 GB-Mo = $0.00 Total Cost = ($0.00 + $0.00 + $0.02 + $0.00) = $0.02 Summary In this post, I showed “how to customize of scaling plan in auto scaling groups using aws auto scaling”. For more details on AWS Auto Scaling, Checkout Get started AWS Auto Scaling, open the AWS Auto Scaling console. To learn more, read the AWS Auto Scaling documentation. Thanks for reading! Connect with me: Linkedin

Apr 30, 2025 - 11:27
 0
Customize of Scaling Plan in Auto Scaling Groups Using AWS Auto Scaling

“ I have checked the documents of AWS to resolve the issue of how to customize of scaling plan in auto scaling groups using aws auto scaling. So I got AWS Auto Scaling which is used to create a scaling plan as per requirement. Pricing of AWS Auto Scaling is free of cost and only need to pay for ec2 instances.”

Scaling plan is used to configure auto scaling for related or associated scalable resources in a matter of minutes. For example, you can use tags to group resources in categories such as prod, test or dev. Then you can search for and set up scaling plans for scalable resources that belong to each category. Also can include AWS CloudFormation so you can define stack templates to use to create collections of resources. Then, create a scaling plan for the scalable resources that belong to each stack.

AWS Auto Scaling supports the use of scaling plans for the following services and resources: Amazon Aurora, Amazon EC2 Auto Scaling, Amazon Elastic Container Service, Amazon DynamoDB and Spot Fleet.

In this post, you will get to know how to customize of scaling plan in auto scaling groups using aws auto scaling. Here I have created an auto scaling group, launch template and scaling plan.

Architecture Overview

Image description
The architecture diagram shows the overall deployment architecture with data flow, amazon ec2, aws auto scaling and auto scaling groups.

Solution overview

The blog post consists of the following phases:

  1. Create of Auto Scaling Group with Required Launch Template for Instance Auto Creation
  2. Create Scaling Plan Using AWS Auto Scaling

Phase 1: Create of Auto Scaling Group with Required Launch Template for Instance Auto Creation

  1. Open the Auto Scaling Groups console and Create an autoscaling group named as “test-asg” with launch template configuration. This configuration will create ec2 instances as per configuration set. We can check the instance status in the instance management tab. Also we can do instance refresh with required settings if any instance has issues to spin up a new instance or fix the issue. We can also check the instance activity in the activity tab.

Image description

Image description

Image description

Image description

Image description

Phase 2: Create Scaling Plan Using AWS Auto Scaling

  1. Open the AWS Auto Scaling console and create a scaling plan with choose a method as “ec2 auto scaling groups” which are created in phase 1. Specify scaling strategy with name as “Test-Plan”, option as optimize for availability and enable dynamic scaling. Keep advanced settings as default and review and create the scaling plan. Once the scaling plan is created and active, we can check the auto scaling group configuration with dynamic scaling and policy details. Also can see cpu utilization and network metric.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Clean-up

Delete Scaling Plan, Launch Template and Auto Scaling Group.

Pricing

I review the pricing and estimated cost of this example.

Cost of Auto Scaling Groups = $0.00

Cost of AWS Auto Scaling = $0.00

Cost of Elastic Compute Cloud Instance =
$0.0116 per On Demand Linux t2.micro Instance Hour for 1.555 Hrs = $0.02
$0.08 per GB-month of General Purpose (gp3) provisioned storage - US East (N. Virginia) for 0.018 GB-Mo = $0.00

Total Cost = ($0.00 + $0.00 + $0.02 + $0.00) = $0.02

Summary

In this post, I showed “how to customize of scaling plan in auto scaling groups using aws auto scaling”.

For more details on AWS Auto Scaling, Checkout Get started AWS Auto Scaling, open the AWS Auto Scaling console. To learn more, read the AWS Auto Scaling documentation.

Thanks for reading!

Connect with me: Linkedin