Skip to main content
How-to guideApplies to: CloudPrem (AWS and Azure)
You can encrypt every disk and store e6data uses with your own key: an AWS KMS customer managed key, or a key in your Azure Key Vault. No change is needed in e6data components for storage. For node disks, the nodes e6data adds must be set to use your key: on AWS with Karpenter, in e6data’s node classes; on Azure, e6data sets your Disk Encryption Set. Revoking the key makes e6data’s metadata store unreadable within about 10 minutes (measured on Azure).

Which data uses which key

e6data accesses storage with workload identity (EKS Pod Identity on AWS, AKS Workload Identity on Azure). It uses no storage account keys or SAS tokens, so you can turn shared-key access off on Azure.
Decided at setup: on Azure, the Disk Encryption Set must be set when the AKS cluster is created. It can’t be added to an existing cluster.
Decided at setup: on AWS, EKS secrets encryption can’t be turned off once on. It can’t run while another cluster update is in progress. It takes about 25 minutes.

Requirements

  • The key policy must allow the EC2 Auto Scaling service-linked role (AWSServiceRoleForAutoScaling) to use the key, plus kms:CreateGrant with the condition "kms:GrantIsForAWSResource": "true". Without it, nodes with encrypted disks fail to launch. This applies to managed node groups.
  • With Karpenter: e6data’s node classes and its gp3 StorageClass set no key today, so root volumes follow your account’s default EBS encryption and gp3 volumes use the AWS managed key. Your key goes in blockDeviceMappings (encrypted: true and kmsKeyID) on the workspace and platform EC2NodeClasses, and in kmsKeyId on the gp3 StorageClass. Karpenter launches nodes with its own role, not the Auto Scaling role, so the key policy needs differ; work this through with e6data.
  • The engine, console and app roles need kms:Decrypt, kms:GenerateDataKey and kms:DescribeKey on the key.
  • If your bucket policy requires an encryption header on every upload, use the Null-condition form of the policy below. e6data sends no encryption header, and a strict “require header” policy silently drops query history, result cache and saved sheets.
This form denies an upload only when it carries the wrong header, and lets your bucket’s default encryption cover uploads with no header. On the metadata and data buckets, an upload with no header was allowed and stored with your key; an AES256 header or another key was denied.
Don’t use StringNotEqualsIfExists instead. It also denies uploads with no header, so it blocks e6data’s writes.

Steps

1

Add the Auto Scaling statement to your key policy

2

Set default encryption on the metadata bucket

3

Let the engine, console and app roles use the key

4

Encrypt node disks with your key

Create the e6data node groups with EBS encryption on your key (eksctl volumeEncrypted: true and volumeKmsKeyID: <KMS_KEY_ARN>, or KmsKeyId in a launch template).
5

Turn on EKS secrets encryption

Then re-write existing Secrets so they use your key:

Rotation and revocation

Revoking or deleting the key stops e6data from reading its own metadata. This is how you cut e6data off from its data at rest. Use key rotation, not key replacement, for routine changes.

Cost impact

  • AWS KMS: charges per key and per request. A bucket key reduces request charges on the metadata bucket.
  • Azure: Key Vault charges per operation. AKS KMS made about 1,500 encrypt and 1,600 decrypt calls in its first hour on a test cluster.

Monthly estimate (list prices, November 2026)

This is an estimate. It barely changes with cluster size, because a bucket key and the cluster’s cached data keys keep request counts low. Check current prices on AWS KMS pricing and Azure Key Vault pricing.

Verify

Then resume a cluster in the e6data console, run a query and find it in Query History.

Troubleshooting

Limitations

  • Azure: Disk Encryption Set on an existing AKS cluster: Not supported (an Azure limit).
  • Azure: picking up a renewed endpoint certificate without a restart: Not supported today.

See also

Last modified on December 1, 2026