Skip to main content

Create an Azure Cloud compute environment

Create an Azure Cloud compute environment, which runs each pipeline or Studio session on a single virtual machine (VM). For everything you need in place first, see the checklist.

Prerequisites

You need the following:

  • Azure Cloud credentials in your workspace with the custom role assigned. See Azure Cloud credentials.
  • A blob container for the work directory, in the location where you create the compute environment.

Create the compute environment​

  1. In your Seqera workspace, go to the Compute Environments tab and select Add compute environment.
  2. Select Azure Cloud as the target 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 Azure.
  4. From the Credentials drop-down, select the credentials you created previously.
  5. Enter a name for the compute environment.
  6. Enter or select a Location for the compute environment.
  7. For Work directory, select the Azure blob container to use as the Nextflow work directory. The container must be in the Location you selected in the previous step.
  8. Optional: To share task results across runs, turn on Nextflow global cache and enter a Global cache location. To choose the location, see Nextflow global cache.
  9. Optional: Expand Staging options and Environment variables to add pre- and post-run scripts, Nextflow configuration, or environment variables. See Common compute environment options.
  10. Optional: Under Advanced options, specify an Instance Type. If you leave it blank, the compute environment uses a Standard_D2ds_v4 VM.
  11. Select Add to save the compute environment.

Networking​

Azure Cloud compute environments use a private-only networking model:

  • No public IP: Seqera Platform launches VMs without a public IP address and doesn't connect to them directly. It creates each VM through the Azure API, and the VM opens all network connections outbound. If you specify an existing virtual network (VNet), ensure it has outbound connectivity to Azure services (Storage, Entra ID, Log Analytics) and to Seqera Platform.
  • Outbound through a NAT gateway: When Seqera creates the virtual network, VMs reach the internet through the NAT gateway created with it, not through Azure's default outbound access, which Azure is retiring. Compute environments created before Seqera began creating a NAT gateway keep their existing network.
  • Existing virtual networks: Seqera doesn't change the outbound configuration of a virtual network you specify. Give its subnets an explicit outbound method, such as a NAT gateway. Subnets of virtual networks created after March 31, 2026 are private by default and have no outbound access without one.
  • Regions without StandardV2 NAT gateways: Canada East, India South Central, Sweden South, and West India don't support StandardV2 NAT gateways. In these regions, you must specify an existing virtual network in Advanced options. Seqera rejects compute environments in these regions that don't specify one.
  • Studio sessions are outbound-only: The Seqera Connect client inside a Studio session opens a tunnel outward to the Connect server and registers the session over it. All session traffic, including SSH when enabled, travels over that outbound connection. No inbound path to the session VM is required. Users reach a Studio through the Connect proxy rather than by connecting to the VM. You do not need inbound rules or source-IP allowlists for dynamically launched Studio VMs. If you specify an existing VNet, ensure it also has outbound connectivity to the Connect server. See Networking in the Studios documentation.
  • Entra ID only: Azure Cloud credentials require Microsoft Entra ID (client ID and client secret). Storage account key–based credentials are not supported. This applies to both Forge-provisioned and existing virtual networks.

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

Execution logs​

While a pipeline runs, its logs stream to the Nextflow_log_CL table in the Log Analytics workspace for the compute environment. To query logs for a specific workflow ID, use this expression:

Nextflow_log_CL | where workflowId == "<WORKFLOW_ID>"

When the launch command on the VM exits, the VM writes a TOWER_LAUNCH_EXIT=<rc> line to the log that streams to this table. <rc> is the exit code of the launch command (0 on success). Output from before the launch container starts, such as an image pull failure, is available only in this table.

The table retains logs for 7 days. Nextflow uploads log files to Azure Storage for long-term storage.

Advanced options​

  • (Optional) Subscription ID: The ID of the subscription where resources must be deployed. If you do not specify one, the compute environment uses the subscription ID of the credentials.

  • Instance Type: The VM type the compute environment uses. The instance type determines the CPU and memory available for computation. See virtual machine sizes for the full list of instance types and their resource limitations.

  • Boot disk size: The size of the OS disk (in GB) for the VMs this compute environment launches, including Studio session VMs. Must be between 50 and 4095 GB. If undefined, the OS disk uses the default size of the VM image.

  • Virtual network: An existing Azure virtual network (VNet) in the configured location. The drop-down lists the VNets discovered in your Azure account for the selected location. When specified, Seqera Platform uses this network for all VMs launched in this compute environment and skips network provisioning. Leave blank to let Seqera Platform provision a dedicated VNet automatically.

    note

    The VNet must exist in the same location as the compute environment. Specifying a VNet that does not exist in the location, or a subnet that does not belong to the selected VNet, causes compute environment creation to fail.

  • Subnets: One or more subnet names within the selected VNet. VMs are placed in the first listed subnet at launch. Leave blank to use the first available subnet on the VNet. This field has no effect when no VNet is specified. Any network security groups (NSGs) attached to the selected subnet apply to VMs launched in this compute environment.

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 start running pipelines in your Azure Cloud compute environment, see Launch pipelines.