Creating Your First Auto Scaling Group | Scribe

    Creating Your First Auto Scaling Group

    • Hafeez Baig |
    • 29 steps |
    • 6 minutes
    information ordinal icon
    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>
    1
    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice
    2
    Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard
    3
    On the EC2 dashboard click on **Auto Scaling Groups** from the left bar
    information ordinal icon
    **What is Auto Scaling Group in AWS?** In AWS, an Auto Scaling Group (ASG) is a service that automatically adjusts the number of compute resources (such as Amazon EC2 instances) in response to changes in demand or defined metrics. ASGs help ensure that you have the right amount of computing capacity to handle varying workloads efficiently and cost-effectively.
    4
    Amazon EC2 Auto Scaling page will open, On the same page right side click on **Create Auto Scaling group** button
    5
    Choose launch template wizard will open, scroll to the **launch template** section and click on the **Create a launch template** link
    6
    Create launch template wizard will open, provide the Launch template name as "**ASGLaunchTemplate**" and Template version description as "**v1**"
    7
    Tick the checkbox under the **Auto Scaling guidance** and click on the **Source template** section
    8
    Under the **Source template** section from the dropdown list select the "**MyEc2LaunchTemplate**" as a source launch template
    information ordinal icon
    Refer to the following guide to learn how to create an EC2 Launch Template<https://scribehow.com/shared/Creating_Launch_Templates_for_EC2_instances__cPATKkwbTkSqsAvJNxhlLA>
    9
    All configurations are Pre-filled from the launch template, click on the **Create launch template** button.
    10
    **ASGLaunchTemplate** is Successfully created
    11
    Go back to the previous tab to continue creating Auto Scaling group
    12
    In the **Choose launch template** wizard under the Name section provide the Auto Scaling group name as "**my-auto-scaling-group**"
    13
    Click on the refresh icon under the Launch template section to update and display the latest information of the launch template
    14
    Select the **ASGLaunchtemplate** from the dropdown
    15
    Scroll the page and click on **Next** button
    16
    **Choose instance launch options** wizard will be opened, Scroll to the Network section, under the **VPC** select the Default **VPC** from the dropdown
    17
    Scroll to the **Availability Zones and subnets** section and click on the dropdown