---
title: AWS Batch
description: >-
  Run batch computing workloads on AWS with automatic scaling and job
  scheduling.
breadcrumbs: Docs > Integrations > AWS Batch
---

# AWS Batch
Integration version1.1.0
## Overview{% #overview %}

AWS Batch is a fully managed batch processing service that dynamically provisions compute resources based on workload requirements.

Enable this integration to see your Batch metrics in Datadog and receive events for job failures.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Amazon Web Services integration](https://docs.datadoghq.com/integrations/amazon_web_services.md).

### Metric collection{% #metric-collection %}

1. Add the following permissions to your [Datadog IAM policy](https://docs.datadoghq.com/integrations/amazon_web_services.md#installation) in order to collect AWS Batch metrics. For more information, see the [Batch policies](https://docs.aws.amazon.com/batch/latest/userguide/security-iam.html) on the AWS website.

| AWS Permission            | Description                                     |
| ------------------------- | ----------------------------------------------- |
| `batch:DescribeJobs`      | Used to get detailed descriptions of jobs       |
| `batch:ListJobs`          | Used to list all jobs within a job queue        |
| `batch:DescribeJobQueues` | Used to get detailed descriptions of job queues |

1. Install the [Datadog - AWS Batch integration](https://app.datadoghq.com/integrations/amazon-batch).

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **aws.batch.job\_started**(count)   | Count of batch jobs started.*Shown as event*                    |
| **aws.batch.job\_succeeded**(count) | Count of batch jobs that successfully executed.*Shown as event* |
| **aws.batch.job\_failed**(count)    | Count of batch jobs that failed execution.*Shown as event*      |
| **aws.batch.retry\_count**(count)   | Count of retries for a batch job.*Shown as event*               |

### Events{% #events %}

The AWS Batch integration sends events to Datadog when jobs fail, including job name, job ID, exit code, and failure reason.

### Service Checks{% #service-checks %}

The AWS Batch integration does not include any service checks.

## Uninstallation{% #uninstallation %}

To stop collecting AWS Batch metrics and events, click the **Uninstall Integration** button on the tile.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
