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 |
|---|---|---|
| AWS | AWS compute environments | AWS Batch using Forge, AWS Batch with existing resources, AWS Cloud, Amazon EKS |
| Azure | Azure compute environments | Azure Batch using Forge, Azure Batch with an existing pool, Azure Cloud |
| Google Cloud | Google Cloud compute environments | Google Cloud Batch, Google Cloud, 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.
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
Compute environments can be deleted when they are no longer required. You must delete the compute environment before deleting its associated credentials. If the credentials are deleted first, the compute environment deletion will fail with an error. If this happens, the entry needs to be manually deleted from the database to fully remove it.
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 Compute environment pre-flight checks.