Skip to main content
ReferenceApplies to: CloudPrem on AWS
This page lists every cloud role and identity an e6data In-VPC install uses, each permission it holds, the scope, and why. Your team creates all of them; e6data software never creates or changes roles at runtime. Two roles pass roles: the installer passes each workspace role to EKS Pod Identity, and Karpenter passes the node role to new instances. This is the single home for cloud permissions. Other pages link here instead of repeating the lists. To shrink these permissions further, see Least privilege.

Requirements

  • Every e6data workload gets cloud access through a Kubernetes service account mapped to an IAM role: EKS Pod Identity or IRSA.
  • No e6data workload identity holds permission to create identities, roles or role assignments. The installer needs iam:PassRole on each mapped role (to pods.eks.amazonaws.com) even when your identity team creates the roles, and the Karpenter role holds iam:PassRole on the node role.
  • No e6data person gets access to your AWS account.
  • New role assignments take a few minutes to apply. A cluster started too early fails with E6_CLUSTER_CLOUD_PERMISSION_DENIED; start it again a few minutes later.

Summary: who needs what

Roles on AWS (EKS)

Placeholders: <ws> is the workspace name; <prefix> is the name prefix your install uses; <cluster> is your EKS cluster name. The workspace namespace is shown as <ws>; in e6data’s install it is often <tenant>-<workspace>. Trust for the engine, console, app, Karpenter, load balancer and EBS CSI roles is pods.eks.amazonaws.com with sts:AssumeRole and sts:TagSession (EKS Pod Identity). IRSA (web-identity trust and a service account annotation) also works in place of Pod Identity.

Engine role

Name: <prefix>-<ws>-engine-access-role. Used by the query engines (planner, queue, executor), metadata services and Laminar. If a catalog uses Lake Formation, the engine role also needs lakeformation:ListPermissions (in the role and in any permission boundary) and must be a Lake Formation read-only admin. Lake Formation has been seen to control which schemas a user sees but not block a table that wasn’t granted, so don’t rely on Lake Formation table-level deny yet. s3:GetBucketLocation on your data buckets is optional. e6data’s standard data-access setup lists it, but only on object paths, where AWS never applies a bucket-level action, and data reads work. Grant it on the bucket ARN if your own policy standard expects it.
Both e6data’s managed install and the documented install steps grant sts:AssumeRole and sts:TagSession on Resource: "*" today. This is not needed for same-account data: same-account deployments work with no sts:AssumeRole at all. For cross-account data, scope it to the one data-owner role ARN.

Console role

Name: <prefix>-<ws>-console-access-role. The console role doesn’t assume the data-owner role; for cross-account data only the engine role does. AWS does not support resource-level permissions for the ec2:Describe* actions. Among the engine, console and app roles’ required permissions, they are the only Resource: "*" statements; the optional health checks and the Karpenter role also use * where noted.

App role

Name: <prefix>-<ws>-app-access-role. Only needed with Copilot or Metriq.

Pod Identity associations

Karpenter role

Name: <cluster>-karpenter-role. Only if Karpenter adds your nodes. With Cluster Autoscaler, your autoscaler’s own role does this instead. The narrower scopes are the ones e6data uses on the clusters it runs itself. With e6data’s own Karpenter build on AWS, the Karpenter role also needs ec2:StartInstances, ec2:StopInstances and ec2:DeleteTags (stop and start machines), and ssm:SendCommand, ssm:GetCommandInvocation and ssm:ListCommandInvocations (prepare a stopped machine to rejoin the cluster when it starts). The upstream Karpenter in the documented install steps needs none of these.

Node role

Name: <cluster>-eks-node-role. The node role trusts ec2.amazonaws.com. It is also added to the Karpenter instance profile. With EKS access entries only (no aws-auth ConfigMap), give the node role an EC2_LINUX access entry.

Other cluster roles

eksctl’s built-in autoscaler policy holds these Cluster Autoscaler actions. The list matches the Cluster Autoscaler project’s recommended policy.
Pin the AWS Load Balancer Controller IAM policy to the controller version you install. The public guide downloads it from the project’s main branch, which changes over time.

Installer

The person or pipeline running the install. The public guide asks for IAM administrator rights. For an install into an existing cluster, this 18-action policy is enough; every install step passes with it: If your identity team creates the roles, the installer can drop iam:CreateRole, iam:GetRole, iam:PutRolePolicy and iam:TagRole, but still needs iam:PassRole on each role (to pods.eks.amazonaws.com) to create the Pod Identity associations. Creating a new VPC, EKS cluster and Karpenter needs more rights: a least-privilege (non-admin) deployment policy has created and removed a new VPC, NAT gateway, EKS cluster, add-ons, Karpenter, the AWS Load Balancer Controller, cert-manager, the operator and a workspace with no denied call.

Installer permissions for a new cluster

A role that can only manage EKS is not enough to run the install steps (Configure registry, VPC, EKS, and networking). A role with EKS, EC2/VPC, S3, ELB, iam:AttachRolePolicy and iam:PassRole but nothing else could not install. Besides those, the installer needs: Scope every row to your install’s name prefix (for example arn:aws:iam::<account>:role/<prefix>-*). An explicit deny on iam:DeleteRole lets the install run but blocks a clean teardown.

What e6data grants on its side

  • Pull access on e6data’s Amazon ECR for your AWS account ID.

Preflight check

Read-only:
Expected: s3:GetObject is allowed; iam:CreateRole is implicitDeny or explicitDeny. Fix: add the missing statement from the tables above.

Verify

  1. Resume a cluster from the e6data console. It reaches Running.
  2. Run a query in the SQL Editor on your data. It succeeds.
  3. Open Query History and select refresh. The query is listed.

Troubleshooting

See also

Last modified on December 1, 2026