AWS Batch As Amazon CloudWatch Target

Posted on: Mar 2, 2018

It is now easy to use Amazon CloudWatch for event-driven AWS Batch workloads by adding AWS Batch as a target for Amazon CloudWatch.  Amazon CloudWatch Events enables you to respond quickly to application availability issues or configuration changes that might impact performance or security by notifying you of AWS resource changes in near-real-time. You simply write rules to indicate which events are of interest to your application and what automated action to take when a rule matches an event. You can add AWS Batch as a target by creating an Amazon CloudWatch Events rule and specifying the AWS Batch job ARN. Once the rule matches an event, it starts the job by invoking the Batch Submit-Job API. For example, you can submit a job to AWS Batch in response to an event pattern or on a schedule using Amazon CloudWatch Events. Prior to this feature, customers were required to use services such as AWS Lambda as a workaround to take advantage of Amazon CloudWatch for their event-driven batch workloads. This feature is available in all AWS Public Regions where AWS Batch is available. 

AWS Batch is a fully managed service that automatically provisions compute resources and optimizes the workload distribution based on the volume and resource requirements of submitted jobs. It eliminates the need to install or manage batch computing software. You only pay for the AWS resources (e.g. Amazon EC2 instances) you create to store and run your batch jobs.

This feature is available effective today in all AWS Regions supported by AWS Batch. AWS Batch is currently available in the following AWS Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), US West (N. California), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney) and Asia Pacific (Seoul)

For more information about AWS Batch's CloudWatch Events support, visit the AWS Batch documentation