Ensure that all your Amazon Auto Scaling Groups (ASGs) are using launch templates instead of launch configurations. Launch templates offer more flexibility, versioning, support for new EC2 instance types, and several advanced features compared to launch configurations.
This rule can help you work with the AWS Well-Architected Framework.
optimisation
efficiency
excellence
Starting in 2023, launch configurations no longer support new Amazon EC2 instance types released after December 31, 2022. As a result, it is recommended to use launch templates instead when deploying Auto Scaling Groups (ASGs). Launch templates offer several advantages over launch configurations: easy settings specification using JSON or YAML files, support for multiple instance versions for testing or deploying various environments, and access to the latest Amazon EC2 launch wizard for additional instance configuration options.
Audit
To determine if your Auto Scaling Groups (ASGs) are utilizing launch templates, perform the following actions:
Remediation / Resolution
To ensure that your Amazon Auto Scaling Groups (ASGs) are using launch templates instead of launch configurations, perform the following actions:
References
- AWS Documentation
- Auto Scaling groups
- Launch configurations
- Amazon EC2 Auto Scaling benefits
- Create an Auto Scaling group using a launch template
- AWS Command Line Interface (CLI) Documentation
- describe-auto-scaling-groups
- create-launch-template
- update-auto-scaling-group
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Use Launch Templates for Auto Scaling Groups
Risk Level: High