Amazon Elastic Compute Cloud
User Guide for Windows Instances

Automating with CloudWatch Events

Amazon CloudWatch Events enables you to automate your AWS services and respond automatically to system events such as application availability issues or resource changes. Events from AWS services are delivered to CloudWatch Events in near real time. You can write simple rules to indicate which events are of interest to you, and the automated actions to take when an event matches a rule. The possible actions include invoking an AWS Lambda function, relaying the event to Amazon Kinesis Streams, activating an AWS Step Functions state machine, and several others.

Some examples of using CloudWatch Events with Amazon EC2 include:

  • Activating a Lambda function whenever a new Amazon EC2 instance starts.

  • Notifying an Amazon SNS topic when an Amazon EBS volume is created or modified.

  • Sending a command to one or more Amazon EC2 instances using Amazon EC2 Run Command whenever a certain event in another AWS service occurs.

For more information, see the Amazon CloudWatch Events User Guide.