Skip to main content

Create a Google Cloud compute environment

Create a Google Cloud compute environment, which runs each pipeline or Studio session on a single Compute Engine instance. For everything you need in place first, see the checklist.

Prerequisites

You need the following:

  • Google Cloud credentials in your workspace. See Google Cloud credentials.
  • A Cloud Storage bucket for the work directory.

Create the compute environment​

  1. In your Seqera workspace, select Compute Environments, then select Add compute environment.
  2. Enter a name and select Google Cloud as the platform.
  3. If Compute mode is displayed, select Basic. All tasks run on a single instance. The option is displayed only when Intelligent Compute is enabled for your workspace. To distribute tasks across multiple VMs, see Intelligent Compute on Google Cloud.
  4. Select your Google Cloud credentials. To add credentials, see Google Cloud credentials.
  5. Select the Region where Seqera launches VMs.
  6. Enter a Work directory (for example, gs://my-bucket/work).
  7. Optional: Expand Staging options and Environment variables to add pre- and post-run scripts, Nextflow configuration, or environment variables. See Common compute environment options.
  8. Optional: Under Advanced options, set the instance type, networking, and the other advanced options.
  9. Select Add.

Networking​

A Google Cloud compute environment launches a Compute Engine instance into a VPC network and subnet. Set VPC, Subnets, Network tags, and Use private address under Advanced options.

  • Outbound access is required: With Use private address selected, the instance launches without an external IP address, and the VPC must provide outbound access through Cloud NAT and Private Google Access.
  • Firewall rules target network tags: Seqera applies the values you set in Network tags to launched VMs. Your VPC firewall rules target these tags.
  • Studio sessions are outbound-only: The Seqera Connect client inside a Studio session opens a tunnel outward to the Connect server. All session traffic, including SSH when enabled, travels over that outbound connection. No inbound path to the session VM is required. You do not need ingress firewall rules or source-IP allowlists for dynamically launched Studio VMs. The network does need outbound access to the Connect server. See Networking in the Studios documentation.

For the ports and directions to configure on your firewall, see Firewall configuration.

GPUs​

To run on a GPU-enabled instance, select Use a GPU-enabled instance under Advanced options. It defaults to an A2 machine series instance.

GPU metrics​

Seqera collects GPU metrics for tasks that run on NVIDIA GPU instances in any compute environment with Fusion enabled. See GPU metrics.

Advanced options​

  • Use an ARM64 architecture instance: Select this option to create an ARM architecture instance for your compute workload. This option defaults to a C4A machine series VM with the ARM-based Google Axion™ processor.

  • Use a GPU-enabled instance: Select this option to create a GPU-enabled instance for your compute workload. This option defaults to an A2 machine series VM with an NVIDIA A100 GPU.

  • Instance type: The Compute Engine machine type that the compute environment uses. The instance type determines the CPU and memory available for computation. See the machine resource type documentation for a list of instance types and their resource limitations.

    note

    You cannot specify instance templates with predefined machine types, storage, or bootstrap configuration.

  • Image: The image that defines the operating system and pre-installed software for the VM. Only Ubuntu LTS Google public image project images are available and supported. For GPU-enabled instances, Seqera Platform automatically selects a Deep Learning VM base image with CUDA pre-installed. See Google Deep Learning VM Images.

  • Boot disk size: The size of the boot disk for the Compute Engine instance. The instance uses a standard persistent disk (pd-standard). If you do not set a size, the instance uses a default 50 GB volume.

  • Zone: The zone within the selected region where the VM is provisioned. Defaults to the first zone in the alphabetical list.

  • VPC: An existing VPC network in your Google Cloud project. The drop-down lists the networks discovered in your project. When you specify a VPC, Seqera Platform uses this network for all VMs launched in this compute environment. Leave blank to use the project's default network, unless you enable Use private address.

    note

    Specifying a subnet that does not exist in the compute environment region, or that does not belong to the selected VPC, causes compute environment creation to fail.

  • Subnets: One or more subnet names within the selected VPC and the compute environment region. VMs are placed in the first listed subnet at launch time. Intelligent Compute may distribute worker VMs across all listed subnets, in order. Leave blank to let Seqera Platform select the first available subnet on the network. This field has no effect when no VPC is specified.

  • Network tags: Network tags applied to launched VMs for firewall rule targeting. Tags must be lowercase and contain only letters, numbers, and hyphens (1–63 characters). This field has no effect when no VPC is specified.

  • Use private address: Select this option to launch VMs without a public IP address. This option requires a VPC. You cannot create the compute environment without one. The selected VPC must provide outbound internet access through Cloud NAT and Private Google Access.

Supported locations​

The following locations are supported:

  • asia-east1
  • asia-east2
  • asia-northeast1
  • asia-northeast2
  • asia-northeast3
  • asia-south1
  • asia-south2
  • asia-southeast1
  • asia-southeast2
  • australia-southeast1
  • australia-southeast2
  • europe-central2
  • europe-north1
  • europe-southwest1
  • europe-west1
  • europe-west2
  • europe-west3
  • europe-west4
  • europe-west6
  • europe-west8
  • europe-west9
  • europe-west10
  • europe-west12
  • me-central1
  • me-west1
  • northamerica-northeast1
  • northamerica-northeast2
  • southamerica-east1
  • southamerica-west1
  • us-central1
  • us-east1
  • us-east4
  • us-east5
  • us-south1
  • us-west1
  • us-west2
  • us-west3
  • us-west4

Pre-flight checks​

Pre-flight checks confirm that a compute environment is usable before you launch a pipeline. Seqera runs them at three points:

  • When you create the compute environment: Seqera rejects the request if the selected credentials are INVALID or have been deleted.
  • On a recurring schedule: Seqera re-checks the compute environment. If its credentials are INVALID, Seqera marks the compute environment INVALID and shows a banner with the error message.
  • Each time you launch a pipeline: Seqera blocks the launch if the compute environment or its credentials are INVALID, or if Wave is enabled and the Wave service connection is not active.

To clear an INVALID status, fix the cause, then open the ⋮ menu of the compute environment and select Validate. If the credentials are also INVALID, validate the credentials first.

A brief Wave reconnection does not block a launch. If the Wave connection stays down, Seqera blocks the launch but does not mark the compute environment INVALID. See Wave service connection is not active.

See Pre-flight checks for how Seqera validates credentials and compute environments, and Pre-flight checks troubleshooting for error messages.

Next steps​

To run pipelines in your Google Cloud compute environment, see Launch pipelines.