Requirements
- Your identity team creates every e6data role or identity itself. e6data never creates, changes or passes roles.
- Every role assignment is on a resource group or below (resource group, VNet, subnet, storage account). No Contributor, Network Contributor or other broad built-in role is held by an e6data identity.
- Wait a few minutes after assigning roles before you start the first cluster.
What you can switch off or narrow
Steps
1
Create the resource group
Create the resource group yourself and give e6data its name. e6data needs no subscription rights to create it.
2
Create the custom role definitions
Create the custom role definitions with your resource group (or node resource group) as the assignable scope, so nothing is defined on the subscription:If the VNet is in another resource group, add that resource group to
AssignableScopes of e6data-network-reader and aks-subnet-access.With e6data’s Karpenter, also create e6data-karpenter-node-rg with the 24 actions in Permissions reference, assignable at <NODE_RG>.3
Assign roles to the workspace identity
Assign Storage Blob Data Contributor on the e6data storage account, Storage Blob Data Reader on each data storage account, and
e6data-network-reader on the VNet. Don’t assign the compute reader on the subscription.4
Narrow the AKS cluster identity
Assign Leave the Contributor on the node resource group that AKS gave its own identity.
aks-subnet-access on the subnet, then remove Network Contributor at the scope it was granted: the VNet with e6data’s install, or the subnet only when az aks create added it for your own subnet. Check with az role assignment list first:5
Set up node scaling
With NAP, do nothing more. With e6data’s Karpenter, assign only
e6data-karpenter-node-rg (node resource group) and aks-subnet-access (subnet) to the Karpenter identity.6
Wait before the first cluster start
Wait a few minutes before starting the first cluster.
Preflight check
Verify
- Resume a cluster from the e6data console. It reaches Running.
- Run a query in the SQL Editor, then check it appears in Query History.
Troubleshooting
Limitations
- Container-scoped roles (instead of storage-account scope): the metadata service runs with Storage Blob Data Contributor on its own container, and Storage Blob Data Reader on one lake container can read files over a private endpoint. Storage-account scope is the standard setup.