Skip to main content
How-to guideApplies to: CloudPrem on AWS
You can run e6data with every engine, console and app role scoped to named resources: no iam:*, no role assumption, and a permission boundary. This setup is verified end to end: cluster resume, a query, and the query in Query History. The full permission lists live in the Permissions reference. This page covers how to narrow them.

Requirements

  • Your identity team creates every e6data role itself. e6data never creates or changes roles; the installer still passes each role to EKS Pod Identity (iam:PassRole).
  • Every engine, console and app role statement names its buckets, Glue databases, KMS keys and cluster. The only Resource: "*" left in those roles is on ec2:Describe*, because AWS has no resource-level permissions for those actions. The node scaler, the AWS Load Balancer Controller and the console’s optional health checks keep * where the Permissions reference shows it.

What you can switch off or narrow

Steps

1

Create the roles yourself

Create the engine, console and app roles with the permissions in the Permissions reference. Map them with EKS Pod Identity or IRSA.
2

Scope every statement

Scope every statement to named buckets, Glue databases, the KMS key and your cluster.
3

Leave out role assumption

Leave out sts:AssumeRole unless your data is in another account. If it is, allow sts:AssumeRole and sts:TagSession on that one data-owner role ARN.
4

Attach a permission boundary

Attach your permission boundary to the engine, console and app roles. It must allow the permissions in the first step. If you also put a boundary on the node scaler’s role, allow iam:PassRole on the node role and the instance-profile reads, or Karpenter can’t launch nodes. We recommend the boundary explicitly denies:
For cross-account data, add an exception for the one data-owner role ARN.
5

Optional: lock your data bucket to your VPC

Lock your data bucket to your VPC’s S3 gateway endpoint. This denies only data actions, so your team keeps bucket management:
Engine nodes must use route tables that send S3 traffic through that endpoint.
6

Use the scoped installer policy

For the install into an existing cluster, use the 18-action installer policy in the Permissions reference instead of administrator rights.

Preflight check

Expected: both explicitDeny when the boundary is attached. If allowed, attach the boundary.

Verify

  1. If you locked the data bucket: from outside the VPC, aws s3 ls s3://<DATA_BUCKET>/ returns AccessDenied ... explicit deny in a resource-based policy.
  2. Resume a cluster from the e6data console. It reaches Running.
  3. Run a query in the SQL Editor, then check it appears in Query History.

Troubleshooting

Limitations

  • The narrower Karpenter scopes e6data uses on the clusters it runs itself are in the Permissions reference.
  • For a new VPC, EKS cluster and Karpenter install, 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.
  • The install has no input for a permission boundary. Your identity team attaches it when it creates the roles.

See also

Last modified on December 1, 2026