Posted On: Oct 14, 2021

Today, Amazon EC2 Auto Scaling announced the ability to describe Auto Scaling groups using tags. Tag-based filtering makes it easier for you to view and manage your Auto Scaling groups based on the tags that you are interested in. Each tag is a simple label consisting of a customer-defined key and an optional value.

For example, you may have multiple Auto Scaling groups where you tag them to indicate what environment they are a part of (e.g., using the key "environment" whose value might be "dev", "test" or "prod"). Previously, you could determine which groups had the "environment:prod" tag by calling the describe-tags API first, and then describing the Auto Scaling groups that were returned. Now you can directly call the describe-auto-scaling-groups API and filter for the "environment:prod" tag.

This feature is available through the AWS SDKs, and the AWS Command Line Interface (CLI). Amazon EC2 Auto Scaling is available in all public AWS Regions and AWS GovCloud (US) Regions. To learn more about this feature, visit this AWS documentation.