Skip to main content

Azure Batch using Forge

Batch Forge creates the Azure Batch pools for a compute environment in your Batch account, and can delete them when you delete the compute environment. Use it to run pipelines on Azure. It doesn't support Studios. To run Studios on Azure, use an Azure Cloud compute environment.

  • Use it for: Pipelines
  • Azure resources: Seqera sets up the Batch pools on your behalf. You create the Batch account and the Storage account
  • Status: Generally available

The Nextflow head job orchestrates a pipeline run and runs on the head pool. It submits the tasks to the worker pool.

If you need a pool that Batch Forge cannot create, such as a pool with a custom VM image, use Azure Batch with an existing pool. For the other options, see Azure 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 Azure.

Checklist​

In your Azure subscription​

  • Region: The region where you run pipelines. The Storage account and the Batch account must be in the same region.
  • Storage account: An Azure Storage account with a blob container for the work directory. See Storage account.
  • Batch account: An Azure Batch account with enough quota for pools, jobs, and vCPUs. See Batch account.
  • Service principal: A Microsoft Entra service principal with the Storage Blob Data Contributor and Azure Batch Data Contributor roles. See Azure Batch roles and Azure Batch credentials.
  • Managed identity: A user-assigned managed identity for Nextflow, recommended with Entra credentials. See Managed identity.
  • Networking: A subnet in a private virtual network, if you need one. This requires Entra credentials. See Azure Batch credentials.

In Seqera​

What Seqera sets up​

Batch Forge creates separate Azure Batch pools for the Nextflow head job and compute tasks by default, named tower-pool-{envId}-head and tower-pool-{envId}-worker. The head node does not compete with compute tasks for resources, and you can size each pool independently.

Select Dispose resources on the compute environment form to delete the pools when you delete the compute environment.