Amazon EC2 · Finder + automated fixer
Turn on SSM Agent automatic updates
FixInstance SSM Agent Configuration
Finds EC2 instances whose SSM Agent is not kept up to date by a Systems Manager update association, and sets one up.
What happens, in order.
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.
You
Approve in Recommendations
It appears in your Recommendations view with what it would save. Approve the resources you choose. Nothing has changed yet.
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.
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
This fix saves nothing by itself. It is an enabler: CloudFix’s article says it turns on automatic updates for SSM Agents that are already installed, to unlock future savings.
One link AWS documents runs through the CloudWatch agent. AWS says Run Command can install that agent only where the SSM Agent is a current version, and AWS’s route to having Compute Optimizer analyze an instance’s memory use is to install the CloudWatch agent.
Systems Manager can also require a minimum agent version. Default Host Management Configuration, which manages instances without an instance profile, works only with SSM Agent 3.2.582.0 or later.
What to look at
- State Manager associations, per account and Region. Automatic updates run through an association for the AWS-UpdateSSMAgent document.
- What CloudFix flags: a Region with no such association, a Region with more than one, or a Region where none targets every node on a schedule of 14 days or less.
- Fleet Manager’s setting. The Auto update SSM Agent option on its Settings tab checks every two weeks and moves agents to the latest released version with the same document.
- Signs of stale agents. AWS lists “no latest version found for package AmazonCloudWatchAgent” and “failed to download installation package reliably” as errors you might see when an out-of-date SSM Agent is asked to install the CloudWatch agent through Run Command.
What the change does
- In each account and Region, the fixer looks for an AWS-UpdateSSMAgent association with a wildcard target and a schedule of 14 days or less. If there is none, it creates one that targets all nodes every 14 days.
- It then deletes every other AWS-UpdateSSMAgent association, so exactly one remains. State Manager carries no additional charge, though AWS notes limits may apply.
- Updating the agent causes minimal disruption, the article says, and a Systems Manager maintenance window can hold updates to set hours if that is a concern. To roll back, delete the association with the DeleteAssociation API or the delete-association CLI command.
Sources: AWS: Automatically updating SSM Agent; AWS: Troubleshooting the CloudWatch agent; AWS: Configure instance permissions for Systems Manager; AWS: Compute Optimizer EC2 metrics; AWS: Systems Manager pricing; CloudFix support: Fix SSM Agent automatic update.
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.