AWS Systems Manager
User Guide

AWS Systems Manager State Manager

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.

Some of the tasks you can automate using State Manager, to run on schedules you specify, include:

  • 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 instances only)

  • Patch instances with software updates throughout their lifecycle

  • Run scripts on Linux and Windows managed instances throughout their lifecycle

State Manager integrates with AWS CloudTrail to provide a record of all executions that you can audit, and Amazon CloudWatch Events to track state changes. You can also choose to store and view detailed command output in Amazon S3.

Getting Started with State Manager

To get started with State Manager, complete the tasks described in the following table.

Task For More Information

Update SSM Agent on your managed instances to the latest version

Installing and Configuring SSM Agent

Verify Systems Manager prerequisites

Systems Manager Prerequisites

Choose a predefined AWS Command or Policy type document and specify parameters at runtime.


Create a document that defines the actions to perform on your instances.

Creating Systems Manager Documents

Create and apply the association to your instances

Create an Association (Console)

Related Content

See the following blog posts for additional examples of how to use State Manager: