Posted On: Sep 30, 2022

Today, AWS Systems Manager announces adding CloudWatch Alarms to control tasks. Now customers can choose to stop a task or an action in Systems Manager services when a CloudWatch alarm is activated. This allows customers to use the broad range of monitoring metrics supported by CloudWatch, ranging from resource utilization to application performance, to control tasks. If the specified CloudWatch alarm is activated during a task, Automation will stop the task, RunCommand will cancel the commands, State Manager and Maintenance Windows will skip dispatch. It's easy to get started, customers can add a CloudWatch alarm, while setting up a task in Systems Manager’s Automation, Run Command, State Manager, and Maintenance Windows services. Once setup, users can view the attached alarm in the task's details page.

For example, when patching instances through System Manager Automation, you can configure Automation to stop patching if instances fail and “StatusCheckFailed” CloudWatch alarm is activated.

This feature is available at no additional charge in all commercial and AWS GovCloud (US) Regions, excluding the China Regions (Beijing, operated by Sinnet), and China (Ningxia, operated by NWCD) To learn about AWS Systems Manager, visit the product detail page.