Posted On: Feb 22, 2023

Today, Amazon 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 Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD. To learn about Amazon Systems Manager, visit the product detail page