Compute environments
A Seqera Platform compute environment defines the execution platform where a pipeline runs. With compute environments, you can launch pipelines on cloud and on-premises platforms.
Configure each compute environment so that Seqera can submit tasks. Start with the page for where you run, then follow the checklist for your setup option.
Choose where you run
| Where you run | Start here | Setup options |
|---|---|---|
| Seqera-managed compute | Seqera Compute | |
| AWS | AWS compute environments | AWS Batch using Forge, AWS Batch with existing resources, AWS Cloud, Intelligent Compute, Amazon EKS |
| Azure | Azure compute environments | Azure Batch using Forge, Azure Batch with an existing pool, Azure Cloud, Intelligent Compute |
| Google Cloud | Google Cloud compute environments | Google Cloud Batch, Google Cloud, Intelligent Compute, Google Kubernetes Engine |
| Kubernetes | Kubernetes | |
| HPC: Altair PBS Pro, Grid Engine, IBM LSF, Moab, Slurm | HPC compute environments |
On each cloud provider, the setup options are for different work:
- Batch: Use it for pipelines. With Batch Forge, Seqera sets up the resources on your behalf.
- Cloud: Use it for Studios and small to medium-sized pipelines. Seqera sets up the resources on your behalf.
- Intelligent Compute: Use it for pipelines. It offers a better, more efficient experience and is in private preview. To learn more, contact Seqera.
Set up a compute environment
Most cloud setup options follow the same steps. Each has a checklist that links to the pages in order:
- Create the permissions for the setup option: an IAM policy, a role, or IAM roles.
- Create credentials with those permissions, and add them to your workspace.
- Create the compute environment.
You need credentials with different permissions for each setup option.
After you create a compute environment, see Manage compute environments to select a primary compute environment, or to rename, export, disable, delete, or validate one.
Manage compute environments
After you create a compute environment, manage it from the Compute Environments tab of your workspace.
Compute environments support descriptions. Enter a description when you create a compute environment. To update a description, select Edit from the menu of the compute environment. You can update a description at any time, for example, to reflect a status change. Descriptions have a 1000-character limit. You can also add a description to an existing compute environment that does not have one.
Select a primary compute environment
If you have more than one compute environment, you can select a primary compute environment for the workspace. The primary compute environment is the default when you launch pipelines in that workspace. In a workspace, select Compute Environments. Then select Make primary from the options menu next to the compute environment that you want to use as the default.
Rename a compute environment
You can edit the names of compute environments in private and organization workspaces. Select Edit from the options menu next to the compute environment that you want to rename.
After you update the compute environment name, select Update on the edit page to save your changes.
Export a compute environment
You can export the configuration of a compute environment as a JSON file. Use the file for troubleshooting, for audits, or as a reference when you recreate the compute environment.
The exported JSON is for reference only. You cannot re-import it through the Seqera Platform UI.
Any user with the Maintain, Launch, or View role on the workspace can export. The compute environment detail page, or the form page for a specific compute environment.
The export includes the following:
- Name, platform, region, and work directory
- Forge or manual configuration block
- Fusion and Wave settings
- Environment variables
- Pre- and post-run scripts
- Labels
- A reference to the credential used (the credential itself is excluded)
The export does not include the following:
- Credentials and secrets
Disable a compute environment
Users with Admin or Owner workspace permissions can disable and enable compute environments.
When you disable a compute environment:
- Actions that use this compute environment fail to run. Update actions to use a new compute environment.
- New pipelines and Studio sessions do not run on the disabled compute environment. Update pipelines and Studios to use a new compute environment.
- Running pipelines and Studio sessions are not terminated. Ongoing runs and Studio sessions finish gracefully.
- If the compute environment is the primary compute environment, it is unset. Until you select a new primary compute environment, new runs default to the next available compute environment.
To disable a compute environment, select Disable from the options menu next to the compute environment on your workspace Compute Environments page.
To re-enable a disabled compute environment, select Enable from the options menu. Enabled compute environments can run new pipelines and Studio sessions.
Delete a compute environment
You can delete compute environments that you no longer need. Delete the compute environment before you delete its associated credentials. If you delete the credentials first, see Compute environment deletion fails after its credentials are deleted.
Validate a compute environment
Seqera runs pre-flight checks on compute environments and their credentials. To re-validate a compute environment after you fix a problem, open its ⋮ menu and select Validate. See Pre-flight checks.
Pre-flight checks
Pre-flight checks confirm that a compute environment is usable before you launch a pipeline, so problems surface before submission and not mid-run. They only flag conditions that would block a launch. Seqera Platform Cloud runs pre-flight checks in every workspace. You cannot disable them.
The create page for each cloud compute environment summarizes its checks. This section has the detail that those pages leave out.
When checks run
| When | What Seqera checks | If the check fails |
|---|---|---|
| You create a compute environment, or update one to use different credentials | The recorded status of the selected credentials. On AWS Batch and AWS Cloud, also that the work directory bucket is in the same region as the compute environment. With a Nextflow global cache, also that the credentials can write to the global cache location. | Seqera rejects the request with a 400 Bad Request. For credentials that are deleted or INVALID, the error names the credentials and the recovery step. |
| On a recurring schedule, for credentials | For each AWS, Google Cloud, and Azure credential in scope, Seqera calls the provider API to confirm that the credential is still accepted. | Seqera marks the credentials INVALID and records the provider error on the credential record. |
| On a recurring schedule, for compute environments | The status of the associated credentials. With a Nextflow global cache, also that the credentials can still write to the cache location. | Seqera marks the compute environment INVALID immediately and shows a banner with the error message. For a global cache location that is no longer writable, the message names the location. |
| You launch a pipeline | The recorded status of the compute environment and of its credentials. With Wave enabled, that the Wave service connection is active. With Tower Agent credentials, that a Tower Agent is online. | Seqera blocks the launch and reports every failure in one error. |
How the checks behave
- Updates: On update, Seqera checks only the newly selected credentials. Other edits, such as a name or description change, are not blocked. To restore a compute environment whose credentials have failed, replace the
INVALIDor deleted credentials with working ones. - Managed identities: The creation check does not apply to compute environments that use a managed identity, because no credentials are attached.
- Role-based and Workload Identity Federation credentials: For AWS role-based credentials, the recurring check confirms that the credentials are well-formed. It cannot fully verify the underlying role trust configuration. For Google Cloud credentials that use Workload Identity Federation, the check runs the token exchange, impersonates the service account, and lists buckets, so the service account needs
storage.buckets.list. If Google Cloud rejects any of these steps, Seqera marks the credentialsINVALID. - Provider errors: The provider error appears in the launch-time error message when a pipeline is blocked, but not in the compute environment banner. To see the provider error, check the credential record.
- Transient failures: A transient probe failure, such as a network interruption or provider throttling, does not mark the credentials
INVALID. Seqera retries with exponential backoff. Some failures show that the credentials can never validate, such as an Azure storage or Batch account hostname that no longer resolves. After 10 consecutive failures of this kind, Seqera marks the credentialsINVALID. - Compute environment types: The recurring compute environment check covers AWS Batch, AWS Cloud, Azure Batch, Azure Cloud, Google Cloud Batch, and Google Cloud compute environments. An
AVAILABLEcompute environment has itslastValidatedtimestamp refreshed. - Wave: A brief Wave reconnection does not block the launch.
Re-validate after a fix
After you rotate the keys or fix the underlying issue, validate the credentials first, then the compute environment:
- Go to Credentials in your workspace. Open the ⋮ menu of the credentials and select Validate. Seqera makes a live call to the cloud provider and updates the status immediately. If the check passes, the credentials return to
AVAILABLE. Validate is available only while the credentials areINVALID. - Go to Compute Environments in your workspace. Open the ⋮ menu of each affected compute environment and select Validate. Seqera runs the pre-flight checks and updates the status immediately. If all checks pass, the compute environment returns to
AVAILABLE.
Compute environments marked INVALID because of their credentials do not recover automatically. If the credentials are still INVALID, the compute environment remains INVALID.
For error messages, causes, and resolutions, see Pre-flight checks troubleshooting.