Skip to main content

AWS Batch using Forge

Batch Forge creates the AWS Batch resources for a compute environment in your AWS account, and can delete them when you delete the compute environment. Use it to run pipelines on AWS.

  • Use it for: Pipelines
  • AWS resources: Seqera sets them up on your behalf
  • Status: Generally available

The Nextflow head job orchestrates a pipeline run and runs on the head queue. It submits each task as a separate job to the compute queue.

If you cannot let Seqera create resources in your AWS account, use AWS Batch with existing resources. For the other options, see AWS compute environments.

note

Intelligent Compute offers a better, more efficient experience for running pipelines. It is in private preview. To learn more, contact Seqera. See Intelligent Compute on AWS.

Checklist​

In your AWS account​

  • Region: The region where you run pipelines, with AWS Batch job queue quota available. The AWS Batch service quota for job queues is 50 per account. See AWS Batch service quotas.
  • Work directory: An S3 bucket in that region, or an EFS or FSx for Lustre file system. Batch Forge can create the file system for you. See Work directory storage.
  • Networking: Optional. A custom VPC, subnets, and security groups. If you set none, Seqera uses the default VPC, subnets, and security groups of the region. If you run Studios, the subnets need outbound access to the Connect server. See Networking.
  • IAM policy: The AWS Batch policy. See AWS Batch IAM policy.
  • IAM role: A role with the policy attached. See AWS Batch credentials.

In Seqera​

What Seqera sets up​

Seqera creates the head and compute job queues and their respective compute environments, where jobs run. Seqera configures the job queues with job state limit actions that automatically purge jobs that cannot be scheduled on any node type available for the compute environment. Depending on your configuration, Seqera can also create other resources, such as IAM roles for Nextflow head job execution, CloudWatch log groups, and EFS or FSx file systems.

Seqera deletes these resources when you delete the compute environment, unless you turn off Dispose resources on the compute environment form.