Google Cloud Batch
The guide is split into two parts:
- How to configure your Google Cloud account to use the Batch API.
- How to create a Google Cloud Batch compute environment in Seqera.
Configure Google Cloud
Create a project
Go to the Google Project Selector page and select an existing project, or select Create project.
Enter a name for your new project, e.g., tower-nf.
If you are part of an organization, the location will default to your organization.
Enable billing
See here to enable billing in your Google Cloud account.
Enable APIs
See here to enable the following APIs for your project:
- Batch API
- Compute Engine API
- Cloud Storage API
Select your project from the dropdown menu and select Enable.
Alternatively, you can enable each API manually by selecting your project in the navigation bar and visiting each API page:
IAM
Seqera requires a service account with appropriate permissions to interact with your Google Cloud resources. As an IAM user, you must have access to the service account that submits Batch jobs.
By default, Google Cloud Batch uses the default Compute Engine service account to submit jobs. This service account is granted the Editor (roles/Editor) role. While this service account has the necessary permissions needed by Seqera, this role is not recommended for production environments. Control job access using a custom service account with only the permissions necessary for Seqera to execute Batch jobs instead.