Skip to main content

Intelligent Compute IAM roles on Google Cloud

Private preview

Seqera Intelligent Compute is in private preview. Seqera must enable it on a per-workspace basis before you can use it. Contact your account manager to request access for one or more workspaces.

Intelligent Compute uses two identities in your project:

  • The compute environment service account: the service account in your Seqera credentials, used to launch and manage VMs.
  • The worker VM service account: the project's default Compute Engine service account, <PROJECT_NUMBER>-compute@developer.gserviceaccount.com. Task VMs run as this account.

Compute environment service account​

Grant the roles in Google Cloud required permissions, plus:

RoleRequired
Logs Viewer (roles/logging.viewer), to read task logsYes
BigQuery Job User (roles/bigquery.jobUser) on the credentials' project, and BigQuery Data Viewer (roles/bigquery.dataViewer) on the billing export datasetOnly for cost reporting
Compute Network User (roles/compute.networkUser) on the host projectOnly for Shared VPC subnets

Worker VM service account​

Seqera doesn't grant or change roles on this account. In older Google Cloud organizations, Google grants it the Editor role when the project is created, which covers everything Intelligent Compute needs. Organizations created on or after May 3, 2024 enforce the iam.automaticIamGrantsForDefaultServiceAccounts organization policy by default, so the account starts with no roles. In that case, grant it:

RoleRequired
Storage Object Admin (roles/storage.objectAdmin) on the work directory bucket and every bucket your pipelines writeYes
Storage Object Viewer (roles/storage.objectViewer) and Storage Legacy Bucket Reader (roles/storage.legacyBucketReader) on every bucket your pipelines only readYes
Logs Writer (roles/logging.logWriter)Yes
Secret Manager Secret Accessor (roles/secretmanager.secretAccessor)Only for pipeline secrets
Artifact Registry Reader (roles/artifactregistry.reader)Only for private Artifact Registry images

Fusion also needs storage.buckets.get on every bucket it reads. Storage Object Admin doesn't include it, so also grant Storage Legacy Bucket Reader on those buckets if the account doesn't hold Editor on the bucket's project. This applies to buckets in other projects even when the default account keeps Editor.

This service account controls which buckets tasks can reach. To restrict access, grant its storage roles on individual buckets instead of the project.

Next step​

Create the credentials for the compute environment service account. See Intelligent Compute credentials on Google Cloud.