Intelligent Compute roles on Azure
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.
Assign the service principal in your Azure Cloud credentials the following roles at subscription scope:
- Azure Cloud role: the
seqera-azure-cloudcustom role in Azure Cloud required permissions. If you already use an Azure Cloud compute environment, it's already in place. - Storage Blob Data Contributor: the built-in role. Seqera uses it to read and write the work directory, and to issue the short-lived shared access signature (SAS) tokens Fusion uses on the task VMs.
- Intelligent Compute role: a custom role with the following additional permissions.
{
"properties": {
"roleName": "seqera-intelligent-compute",
"description": "Additional permissions for Seqera Intelligent Compute on Azure Cloud compute environments",
"assignableScopes": [
"/subscriptions/<SUBSCRIPTION-ID>"
],
"permissions": [
{
"actions": [
"Microsoft.Network/networkSecurityGroups/read",
"Microsoft.Network/networkSecurityGroups/write",
"Microsoft.Network/networkSecurityGroups/delete",
"Microsoft.Storage/storageAccounts/read",
"Microsoft.Storage/storageAccounts/blobServices/containers/write",
"Microsoft.Compute/skus/read",
"Microsoft.Compute/disks/read",
"Microsoft.Compute/disks/write",
"Microsoft.Compute/disks/delete",
"Microsoft.Resources/subscriptions/resources/read",
"Microsoft.CostManagement/query/action",
"Microsoft.CostManagement/query/read"
],
"notActions": [],
"dataActions": [],
"notDataActions": []
}
]
}
}
You can omit Microsoft.Resources/subscriptions/resources/read if you don't use pipeline secrets, and the two Microsoft.CostManagement/query actions if you don't need run cost (see Cost reporting). Instead of the two Microsoft.CostManagement/query actions, you can assign the built-in Cost Management Reader role. To use pipeline secrets, also grant the service principal Key Vault Secrets Officer on the vault.
To create and assign the role, follow Create the custom role in the Azure Portal and Assign the custom role to the service principal with the JSON above.
Next step
Create the credentials for the service principal. See Intelligent Compute credentials on Azure.