How to setup and configure Auto Scaling in AWS | RS Digitech

How to setup & configure Auto Scaling in AWS

Autoscaling a service automatically adds the instances or removes instances allocated for your AWS cloud application, to changes in depends on Incoming traffic. scaling is an important part of cost and resources management. If any error or failure on an instance, and immediately launches another instance to maintain the given required capacity.

This blog shows the steps for Autoscaling process in detail:

  1. First, login into the AWS account, then go to services and choose EC2.
  2. AWS account
  3. Launch EC2 instance with basic configuration details.

 

Launch EC2

 

  1. Create an AMI by using the ec2 instance.
  2.  

ec2 instance

 

  1. Enter AMI name and configuration details.
  2.  

 configuration details

 

  1. Please check the AMI is created properly or not
  2.  

check the AMI

 

 

  1. Before going to Autoscaling, we need to launch the configuration template by using AMI.
  2.  

 

launch the configuration

 


  1. Create Name, select AMI, and choose an Instance type.

 

Create launch configuration

 

  1. Add the Rules, choose key pair and Create launch configuration. 

 

Add the Rules

 

  1. Now you can see a template like this.

 launch configuration(1)

 

  1.  Now, Create Auto Scaling Groups by using Autoscale_template.
  2.  

Autoscale_template

  1. The Autoscaling group name must be unique. Choose Switch to launch template and Next…
  2.  

Choose  launch template & configration

 

  1.  Select VPC and Subnets.
  2.  

configure settings

  1.  The load balancer is optional, so you can choose it or not.

 

Configure Advance Options

 

  1.  Configure group size and scaling policies.
  2.  

Configure group size and scaling policies

 

  1. Add your notification email.
  2.  

Add notification email

 

  1.  Review and Create the process you’ve done. Finally, the Autoscaling group is successfully created.
  2.  

Autoscaling group

 

  1. Autoscaling Group is launching the instances and maintain them in the desired state.

 

Autoscaling Group is launching

 

Thus, the steps required for the AWS Autoscaling process are shown to make your work easier.