Google Cloud Batch
A Google Cloud Batch compute environment runs pipelines through the Batch API in your Google Cloud project. Use it to run pipelines on Google Cloud. It doesn't support Studios. To run Studios on Google Cloud, use a Google Cloud compute environment.
- Use it for: Pipelines
- Google Cloud resources: You create the service accounts and the bucket. There are no queues to create
- Status: Generally available
The Nextflow head job orchestrates a pipeline run and submits each task as a compute job. Google Cloud Batch has no queues, so the head job and the compute jobs run as separate Batch jobs.
For Studios and small to medium-sized pipelines, use Google Cloud. For all the options, see Google Cloud 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 Google Cloud.
Checklist
In your Google Cloud project
- Project: A project with billing enabled and the Batch, Compute Engine, and Cloud Storage APIs enabled. See Google Cloud project.
- Work directory: A Cloud Storage bucket. See Cloud Storage bucket.
- Service accounts: A credential service account and a head job service account, which can be the same account, with the IAM roles granted. See Google Cloud Batch IAM roles.
- Authentication: Workload Identity Federation (recommended) or a service account key. See Google Cloud Batch credentials.
In Seqera
- Credentials: The service account added to your workspace. See Google Cloud Batch credentials.
- Wave, Fusion, and container registries: Set up, if you use them. See Fusion file system and Container registry credentials.
- Compute environment: Created. See Create a Google Cloud Batch compute environment.
- Status: The compute environment is
AVAILABLE. Pre-flight checks confirm that it is usable before you launch a pipeline. See Pre-flight checks.