AWS Systems Manager State Manager is a secure and scalable configuration management service that automates the process of keeping your Amazon EC2 and hybrid infrastructure in a state that you define.
The following list describes the types of tasks you can perform with State Manager.
Bootstrap instances with specific software at start-up
Download and update agents on a defined schedule, including SSM Agent
Configure network settings
Join instances to a Windows domain (Windows Server instances only).
Patch instances with software updates throughout their lifecycle
Run scripts on Linux and Windows managed instances throughout their lifecycle
In this lab we will configure a State Manager Association that will update the Systems Manager Agent on the registered Managed Instances.
Select Create Association (top right)
For Name use UpdateSSMAgent
For Document search for AWS-UpdateSSMAgent for the Association
For Parameters leave as the Default
For Targets select all Choose all instances
For Specify schedule select On schedule and chose CRON schedule builder and have the Association run every 30 minutes
For Advanced Options > Compliance select High
For Rate Control select Target to 1 and Error to 1
Leave writing output to S3 bucket unchecked for now
Select Create Association
Select the radio button next to the newly created Association
Then Select Apply Association Now (upper right corner)
Select radio button next to the Association ID to review the Association details
Select Execution History
Select the most recent Execution ID
You can see that output of the Document being executed and updating the SSM Agent
If there are no updates the installation is skipped