AWS Batch

AWS Batch

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect AWS Batch to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync AWS Batch jobs and resources from one region. Grant batch:DescribeJobQueues, batch:ListJobs, and batch:DescribeJobs to read jobs. Grant batch:DescribeComputeEnvironments and batch:DescribeJobDefinitions to read those tables. Enter an access key ID and secret access key. Add a session token for temporary credentials. All tables use full refresh so later job status changes remain visible. The jobs table includes jobs that AWS still retains in existing queues. Array children and individual nodes are not expanded.

Configuration

OptionDescription
AWS access key ID
Type: text
Required: True
AWS secret access key
Type: password
Required: True
AWS session token
Type: password
Required: False

Required for temporary credentials. Replace these credentials when the session token expires.

AWS region
Type: text
Required: True

Linking AWS Batch to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select AWS Batch
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
jobs

Jobs in each queue, with their status, attempts, and execution details. Array children are not expanded.

Full refresh——
job_queues

Job queues, their priorities, and their associated compute environments.

Full refresh——
compute_environments

Compute environments, their capacity settings, and their state.

Full refresh——
job_definitions

Job definition revisions, including their resource requirements and container settings.

Full refresh——