Autoscaling Groups (ASG)

Create Autoscaling groups to scale EC2 instances to your workload

Configure Autoscaling Groups (ASG) to ensure the application load is scaled based on the number of EC2 instances configured. Autoscaling detects unhealthy instances and launches new EC2 instances. ASG is also cost-effective as EC2 Instances are dynamically created per the application requirement within minimum and maximum count limits.

For cluster autoscaling, enable the Cluster Autoscaler option in your Infrastructure before creating an ASG.

Creating Autoscaling Groups (ASG)

  1. In the DuploCloud Portal, navigate to Cloud Services -> Hosts.

  2. In the ASG tab, click Add. The Add ASG page is displayed.

    Add ASG page with Use for Cluster Autoscaling enabled
  3. In the Friendly Name field, enter the name of the ASG.

  4. Select Availability Zone and Instance Type.

  5. In the Instance Count field, enter the desired capacity for the Autoscaling group.

  6. In the Minimum Instances field, enter the minimum number of instances. The Autoscaling group ensures that the total number of instances is always greater than or equal to the minimum number of instances.

  7. In the Maximum Instances field, enter the maximum number of instances. The Autoscaling group ensures that the total number of instances is always less than or equal to the maximum number of instances.

  8. Optionally, select Use for Cluster Autoscaling.

  9. Select Advanced Options. The Advanced Options section displays.

    The Add ASG Advanced Options
  10. Fill in additional fields as needed for your ASG.

  11. Click Add. Your ASG is added and displayed in the ASG tab.

The Add ASG page
  1. In the Friendly Name field, enter the name of the ASG.

  2. Select Availability Zone and Instance Type.

  3. In the Instance Count field, enter the desired capacity for the Autoscaling group.

  4. In the Minimum Instances field, enter the minimum number of instances. The Autoscaling group ensures that the total number of instances is always greater than or equal to the minimum number of instances.

  5. In the Maximum Instances field, enter the maximum number of instances. The Autoscaling group ensures that the total number of instances is always less than or equal to the maximum number of instances.

  6. Optionally, select Use for Cluster Autoscaling.

  7. Optionally select Advanced Options, and complete additional fields as needed.

    ASG Advanced Options
  8. Click Add. Your ASG is added and displayed in the ASG tab.

Viewing Hosts in Autoscaling Groups

To view the hosts in an Autoscaling group, follow these steps:

  1. In the DuploCloud Portal, navigate to Cloud Services -> Hosts.

  2. Select the ASG tab.

  3. In the NAME column, select the ASG for which you want to view Hosts.

  4. Select the Hosts tab. A list of individual Hosts displays.

The Hosts tab on the ASG Details page

Creating an Amazon EC2 Autoscaling Policy

Refer to AWS Documentation for detailed steps on creating Scaling policies for the Autoscaling Group.

Last updated

Was this helpful?