State Manager


Course Introduction
Audit Logs
AWS CloudTrail
Cost Management
6m 51s
What is the AWS Data Provider for SAP?
Start course
3h 7m

In this section of the AWS Certified: SAP on AWS Specialty learning path, we introduce you to strategies for operating and monitoring SAP workloads on AWS.

Learning Objectives

  • Understand how to use Amazon CloudWatch, AWS CloudTrail, and AWS Config to manage and monitor SAP infrastructure on AWS
  • Describe various AWS cost management tools including Cost Explorer, AWS Cost and Usage Reports, and AWS Budgets
  • Understand how to automate patch and state operations for our SAP instances using AWS Systems Manager
  • Explain how the AWS Data Provider for SAP is used to help gather performance-related data across AWS services


The AWS Certified: SAP on AWS Specialty certification has been designed for anyone who has experience managing and operating SAP workloads. Ideally you’ll also have some exposure to the design and implementation of SAP workloads on AWS, including migrating these workloads from on-premises environments. Many exam questions will require a solutions architect level of knowledge for many AWS services. All of the AWS Cloud concepts introduced in this course will be explained and reinforced from the ground up.


State Manager is the secure and scalable configuration management service feature of Systems Manager. State Manager allows you to control how configurations are applied. This could be firewall settings, ports that need to be shut down, or disabling services that are not being used. State Manager can be used to enforce enterprise-wide compliance by ensuring a desired state is continuously applied to your managed instances.

We can define State Manager policies using automation documents. There are several predefined documents we can leverage for common use cases, ensuring a desired state is continuously applied. You can configure network settings or bootstrap instances with software modules at startup. Using State Manager, you can maintain configuration consistency by reapplying configuration state and view configuration history. State Manager requires for you to create an association.

The State Manager association is a configuration that is assigned to your managed instances. The configuration defines the state that you want to maintain on those instances.

An association includes three parts. The first, a document that defines the state or what needs to get done, including optional runtime parameters. Number two, the target managed instances to apply the desired state. And finally, a schedule, the finding when the change is to take place. You can use configuration shell scripts, Ruby, and Python.

You can also use your existing configuration management tools like Ansible, Salt, or PowerShell with State Manager. State Manager quickly identifies and repairs compliant and noncompliant machines across multiple accounts, if needed. The finding when the change, for a software component might run once a day. If the software is not installed, then State Manager installs it. If the software is installed, but the service is not running, then State Manager is instructed to start the service.

State Manager is supported as both an event type and a target type on Amazon EventBridge rules for you to be able to implement event-driven architectures. Finally, any API interaction sustained by State Manager is automatically sent to the CloudTrail. You can also send the outputs of commands to CloudWatch Logs or Amazon S3. Native integration with identity and access management allows you to define who will have access to State Manager and run configuration tasks.

About the Author
Learning Paths

Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data center and network infrastructure design, to cloud architecture and implementation.

To date, Stuart has created 150+ courses relating to Cloud reaching over 180,000 students, mostly within the AWS category and with a heavy focus on security and compliance.

Stuart is a member of the AWS Community Builders Program for his contributions towards AWS.

He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.

In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.

Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.