Posted On: Mar 2, 2018
It is now easy to use HAQM CloudWatch for event-driven AWS Batch workloads by adding AWS Batch as a target for HAQM CloudWatch. HAQM 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 HAQM 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 HAQM CloudWatch Events. Prior to this feature, customers were required to use services such as AWS Lambda as a workaround to take advantage of HAQM 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. HAQM 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