Amazon EC2 Auto Scaling · Finder + automated fixer

Let Auto Scaling groups launch the lowest-priced matching instance types

ResizeASG Instances

Switches an Auto Scaling group to attribute-based instance type selection, so AWS launches the lowest-priced instance types that match the group's CPU, memory and network needs.

What happens, in order.

  1. Finder · read-only

    Finds the opportunity

    Scans your connected accounts with a read-only role. It can see resource metadata and usage; it can’t change anything.

  2. You

    Approve in Recommendations

    It appears in your Recommendations view with what it would save. Approve the resources you choose. Nothing has changed yet.

  3. Fixer

    Runs in your account

    The fixer runs as an AWS Systems Manager Automation runbook in your AWS account, and acts only on the resources you approved.

  4. Record

    Logs the execution

    The Systems Manager execution is logged, so every change can be audited.

Finder role

Read-only. It can see resource metadata and usage. It can’t change anything.

Fixer role

A separate, minimal role that acts only on the resources you approved, through AWS Systems Manager.

Why it costs money

EC2 Auto Scaling has no fees of its own; the bill is the EC2 instances a group launches, and CloudFix’s article says those are often overprovisioned.

Attribute-based instance type selection lets AWS pick the lowest-priced types that meet the group’s CPU, memory and network requirements.

The article says the result depends on how each group is used.

What to look at

  • Groups that launch from a launch template with no overrides and do not already use attribute-based selection.
  • Groups CloudFix leaves alone: those managed by CloudFormation, AWS Migration Hub, EMR or EKS, those tagged as managed by infrastructure as code such as Terraform, those with a warm pool, and those with no launch within a set period.
  • Whether the workload can run on any matching type. AWS describes attribute-based selection as suited to flexible workloads such as containers, big data and CI/CD.
  • Spot capacity. AWS advises against the lowest-price allocation strategy for Spot Instances because it carries the highest risk of interruption.

What the change does

  • The fixer creates a new launch template that copies the current one but uses attribute-based instance type selection, the lowest-price allocation strategy, and On-Demand and Spot price protection thresholds a set margin above the lowest price. It allows CPU changes only between Intel and AMD.
  • To test it, the fixer raises desired capacity by one, applies the new template and checks for a new healthy instance. If none arrives, it reapplies the original template; either way, capacity goes back to its earlier size.
  • Only new launches use the new template. Existing instances run until the group terminates them; AWS’s instance refresh is the way to replace them sooner.
  • If GroupPendingCapacity stays above zero for 30 minutes, CloudFix rolls back to the original template. After at least 30 days without issues and one successful launch, it deletes the old template and its CloudWatch alarm.

Sources: AWS: Attribute-based instance type selection; AWS: Allocation strategies for multiple instance types; AWS: Instance refresh; AWS: Amazon EC2 Auto Scaling pricing; CloudFix support: ASG cost optimization.

See whether this one applies to your account.

A free savings assessment reports which fixers can be applied to your environment. Results typically within 24 hours.