Skill 2.3.3

Automating the configuration of software applications to the desired state (for example, OpsWorks, Systems Manager State Manager)

Key Concepts

A State Manager association binds a Systems Manager document (for example AWS-ConfigureAWSPackage, AWS-RunAnsiblePlaybook, AWS-ApplyChefRecipes or a custom document) to targets selected by tags, and runs it on a schedule. If someone changes a setting by hand, the next run puts it back. Association compliance shows which instances are out of the desired state.

OpsWorks used Chef and Puppet for the same purpose but has reached end of life. Existing Chef recipes and Ansible playbooks can run through State Manager documents, which lets teams keep their configuration code while moving to a supported service.