# Ensure EC2 Auto Scaling Group Uses Multiple Instance Types and AZs

- Source: https://support.icompaas.com/support/solutions/articles/62000233480-ensure-ec2-auto-scaling-group-uses-multiple-instance-types-and-azs
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [AWS Checks New Version](https://support.icompaas.com/support/solutions/62000112673) › [AWS New Checks](https://support.icompaas.com/support/solutions/folders/62000169206)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability**

-   **Level 2**

#### **Description**

Configuring an EC2 Auto Scaling Group to utilize multiple instance types across multiple Availability Zones ensures resilience, cost optimization, and high availability. This configuration allows the Auto Scaling Group to provision instances from different pools, increasing flexibility in case of instance shortages and achieving better fault tolerance.

#### **Rationale**

-   Improved Fault Tolerance: Distributes resources across multiple Availability Zones, minimizing the impact of zone-specific outages.
    
-   Optimized Cost: Enables selection of the most cost-effective instance types using Spot Instances, Savings Plans, or On-Demand pricing.
    
-   Flexibility: Supports dynamic workloads by provisioning alternative instance types based on availability and demand.
    

#### **Impact**

**Pros:**

-   Reduces the risk of outages by spreading resources across AZs.
    
-   Optimizes costs with flexible instance type selections.
    
-   Improves scaling performance by utilizing multiple instance pools.
    

**Cons:**

-   Requires careful selection of compatible instance types and configurations.
    
-   Potentially increases operational complexity.
    

#### **Default Value**

By default, an Auto Scaling Group may use a single instance type and AZ unless explicitly configured otherwise.

#### **Pre-Requisite**

IAM Permissions Required:

-   autoscaling:CreateAutoScalingGroup
    
-   autoscaling:UpdateAutoScalingGroup
    
-   autoscaling:DescribeAutoScalingGroups
    
-   AWS CLI installed and configured.
    

### **Remediation**

### **Test Plan:**

**Using AWS Console:**

1.  Sign in to the AWS Management Console.
    
2.  Navigate to EC2 > Auto Scaling Groups.
    
3.  Select the Auto Scaling Group to check its configuration.
    
4.  Verify that the Instance Types field lists multiple instance types.
    
5.  Confirm that the Auto Scaling Group spans multiple Availability Zones under the Network section.
    

**Using AWS CLI:**

1.  Describe the Auto Scaling Group:  
    
    aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names <asg-name>
    
2.  Verify the AvailabilityZones field lists multiple AZs.
    
3.  Check the LaunchTemplate or MixedInstancesPolicy configuration for multiple instance types.
    

### **Implementation Steps:**

**Using AWS Console:**

1.  Navigate to EC2 > Auto Scaling Groups.  
    ![](https://support.icompaas.com/assets/kb/2ada26877de55cd9.png) ![](https://support.icompaas.com/assets/kb/bc1b8100c6e2dfd2.png)  
    
2.  Select the Auto Scaling Group to edit.  
    ![](https://support.icompaas.com/assets/kb/4ee50d7f82efda7f.png) 
    
3.  Click Edit and update the Instance Types configuration:
    
    -   Enable Multiple Instance Types under the Instance Configuration section.
        
    -   Specify multiple instance types that meet your workload requirements.![](https://support.icompaas.com/assets/kb/c816c44767832fcf.png)
        
4.  Ensure that Subnets span multiple Availability Zones.![](https://support.icompaas.com/assets/kb/7c10b209980e0782.png)
    
5.  Save the updated configuration.
    

**Using AWS CLI:**

1.  Update the Auto Scaling Group to use a mixed instances policy:  
    
    aws autoscaling update-auto-scaling-group \\
    --auto-scaling-group-name <asg-name> \\
    --mixed-instances-policy '{
      "LaunchTemplate": {
        "LaunchTemplateSpecification": {
          "LaunchTemplateId": "<template-id>",
          "Version": "$Latest"
        },
        "Overrides": \[
          {"InstanceType": "t2.micro"},
          {"InstanceType": "t3.micro"},
          {"InstanceType": "m5.large"}
        \]
      },
      "InstancesDistribution": {
        "OnDemandPercentageAboveBaseCapacity": 50,
        "SpotAllocationStrategy": "capacity-optimized"
      }
    }'
    

2.  Verify the updated configuration:  
    
    aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names <asg-name>
    

#### **Backout Plan**

#### **Using AWS Console:**

1.  #### If using multiple instance types and Availability Zones causes issues, sign in to the AWS Management Console.\\
    
2.  #### Navigate to EC2, then to Auto Scaling Groups.![](https://support.icompaas.com/assets/kb/fb36c9f391a88367.png) ![](https://support.icompaas.com/assets/kb/31604d4bf5ff7388.png)  
    
3.  #### Select the Auto Scaling Group and go to the Network section.![](https://support.icompaas.com/assets/kb/dfcf68cd36cb8826.png) 
    
4.  #### Revert to using a single instance type and Availability Zone if necessary.![](https://support.icompaas.com/assets/kb/bfdcd2d9df49824e.png)
    
5.  #### Save the changes and verify that the Auto Scaling Group is now using the previous configuration.
    

#### **Using AWS CLI:**

1.  #### To revert back to a single instance type and Availability Zone, run:  
    
    aws autoscaling update-auto-scaling-group --auto-scaling-group-name <ASG\_NAME> --instance-types <SINGLE\_INSTANCE\_TYPE> --availability-zones <SINGLE\_AZ>
    
2.  #### Verify that the Auto Scaling Group is now using a single instance type and Availability Zone:  
    
    aws autoscaling describe-auto-scaling-groups --auto-scaling-group-name <ASG\_NAME>
    

#### **References**

-   [AWS Auto Scaling Documentation](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html)
    
-   [Using Multiple Instance Types in Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-types.html)
    
-   [Configuring Availability Zones for Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-basics.html#as-basic-network)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
