When to use it
You run Amazon EKS with EC2 managed node groups. This is the primary deployment path. The chart creates Kubernetes objects only (the AWS Gateway API Controller turns its routes into VPC Lattice services); the KMS key, Aurora cluster, audit bucket, IAM roles and VPC endpoints are yours to provide — this page shows each, and Prerequisites has the full list. Don’t reuse the audit bucket or key from a CloudFormation or Terraform install: their policies admit only the ECS roles, so every rehydrate and erase call would return503.
Install the chart on an EKS cluster — collects your values, renders, and stops before installing into production.
What it creates
With
rehydration.enabled=false the chart renders nothing for rehydrate. Detection, de-identification and erasure still work fully.
Before you install
- Subscribe and verify the release. Subscribe and get the image. Detect refuses to start in an account that isn’t subscribed.
- Node group: EC2 managed nodes on arm64,
c8g.xlarge, Kubernetes ≥ 1.29, not Fargate. Usec8g.xlarge, notc9g.xlarge: on Graviton5 the VPC CNI network policy agent can fail a map write withENOMEMand never retry, leaving a rehydrate caller blocked until the next policy change (aws-network-policy-agent issue). It fails closed, but callers time out; ECS isn’t affected. With rehydration on, run four nodes, two in each of two AZs — each detect pod fills a node, and rehydrate’s zone spread needs a free node in each AZ. That’s 16 vCPUs: check your On-Demand Standard vCPU quota, and leave headroom if node group updates add a surge node. Pick AZs VPC Lattice supports (notuse1-az3in us-east-1). - A NetworkPolicy enforcer.
enableNetworkPolicy=trueon the Amazon VPC CNI add-on, or Calico. Without one, the policies render but nothing enforces them. - An IAM OIDC provider for the cluster. AWS Marketplace metering accepts IRSA only — not EKS Pod Identity, not the node role. Only detect meters.
- VPC endpoints with private DNS: interface
kms,sts,metering-marketplace,ecr.api,ecr.dkr,logs,vpc-latticeandtagging, plus an S3 gateway endpoint. The image and chart come from AWS Marketplace inus-east-1in every Region: outsideus-east-1, makeecr.apiandecr.dkrcross-Region interface endpoints whose service Region isus-east-1(com.amazonaws.us-east-1.ecr.api,com.amazonaws.us-east-1.ecr.dkr) and add acom.amazonaws.us-east-1.s3interface endpoint for the image layers, with an endpoint policy allowings3:GetObjectonprod-us-east-1-starport-layer-bucket/*. Creating them needsvpce:AllowMultiRegion(Administrator and PowerUser roles have it). With no internet route the nodes also needec2andeks, pluseks-authif you use EKS Pod Identity add-ons. Give the interface endpoints a security group that admits 443 from the VPC. Detect doesn’t start withoutmetering-marketplace. Prerequisites. - A customer-managed KMS key.
- The vault: Aurora PostgreSQL (the templates use Serverless v2,
16.15), encrypted with the KMS key, with a database namedtenet— the URL below names it. Allow the cluster security group on 5432. The engine needs a database user that can create tables intenet. An RDS-managed master password rotates every 7 days and leaves the Kubernetes Secret stale: sync it (for example with External Secrets Operator) or use a user whose password you manage. - The audit bucket: S3 with Object Lock and default encryption with the same KMS key.
COMPLIANCEmode in production;GOVERNANCElets you delete a trial afterwards.
Set up VPC Lattice
Once per cluster:-
Install the Gateway API CRDs (v1.5.0 or later, standard channel) and the AWS Gateway API Controller v2.1.4, with its own IRSA role and the VPC Lattice permissions its documentation lists. In a cluster with no internet route, copy its image into your own ECR first. The controller needs the
vpc-latticeandtaggingendpoints: withouttaggingno Lattice service appears and the pods restart while they wait for it. -
Create the GatewayClass and Gateway. The Gateway becomes a VPC Lattice service network, and the controller associates the cluster’s VPC with it. A VPC can join only one service network — if yours already has one, name the Gateway after it. The routes live in the release namespace, so the listener must allow routes from other namespaces. Lattice serves the listener with an AWS-managed certificate; the chart attaches its routes only to
lattice.gateway.sectionName(defaulthttps), never to an HTTP listener. Wait for the Gateway to showProgrammed.gateway.yaml -
Let VPC Lattice reach the pods on 19991, in the security group the pods use — the node security group, or the pod security group with security groups for pods. The chart’s NetworkPolicies then admit only
lattice.peerCidrs(default169.254.171.0/24,129.224.0.0/17). If the last command prints other ranges, setlattice.peerCidrsto them.
Create the IAM roles
Two roles, each trusting your cluster’s OIDC provider for one service account:system:serviceaccount:tenet-pii:tenet-pii-enterprise-detect and system:serviceaccount:tenet-pii:tenet-pii-enterprise-rehydrate (namespace tenet-pii). The chart uses these names whatever the release is called; set detect.serviceAccount.name / rehydration.serviceAccount.name only to run two releases in one namespace. The rehydrate trust policy is the same with the rehydrate service account.
Detect role trust policy
Deny statements, and put them in the key policy as well, so no permission granted to the role later can undo them. If your key policy doesn’t delegate to IAM, add the same KMS permissions there. Both roles look up their own VPC Lattice service at startup (vpc-lattice:ListServices).
Detect role policy
Rehydrate role policy
aws-marketplace:MeterUsage: only detect checks the subscription and meters.
Install
Pull the chart with the account that subscribed (verify the release first;$REC is the downloaded record):
us-east-1, in every Region — outside us-east-1 through the cross-Region endpoints above. Set image.digest so it pulls by digest, and leave image.repository alone; don’t copy the image (The image in every Region).
values.yaml
tenet-tenet-pii-enterprise-detect-0abc123.7d67968.vpc-lattice-svcs.us-east-1.on.aws; it can take a minute to appear. On a first install, rehydrate pods wait up to two minutes for detect to create the first key (vault keyring is empty; waiting …s for the detect role), every pod may log vault not ready yet while Aurora comes up, and pods wait for the controller to create their Lattice service. That’s expected.
Detection only: add --set rehydration.enabled=false and drop the rehydrate role, auditS3Uri and rehydrateInvokerRoleArns. Erasures are still audited, so keep the audit bucket, lattice.erasureAuditS3Uri and networkPolicy.s3PrefixListCidrs.
values.schema.json rejects an install missing a required input — region, CMK ARN, vault URL, the Gateway, the detect invoker roles, the source VPCs, the erasure audit URI, the rehydrate invoker roles and auditS3Uri when rehydration is on, or fewer than 2 detect replicas. Template guards reject the same IAM role for both services, a missing networkPolicy.s3PrefixListCidrs, and a Lattice service name over 40 characters (shorten it with fullnameOverride).
With
lattice.accessLogDestinationArn, check the access log policies after the first install: kubectl -n "$NS" get accesslogpolicy. The controller can reconcile them before it has created the Lattice services, leave them at TargetNotFound, and not retry. Run the same helm upgrade once more after the HTTPRoutes carry a domain name; they then show Accepted.Verify
The health probes aren’t routed through VPC Lattice, so check readiness inside the pods. Exit0 means the model is loaded and the vault answers. Then check every pod runs the digest the release record names:
Set up a caller
Each workload that calls the services — for example a pod with its own IRSA role — needs four things:
The identity policy names the service ARN. The rehydrate one is the same with
tenet-tenet-pii-enterprise-rehydrate:
Detect caller identity policy
tenet-pii-lattice client (Python 3.11+, boto3) — with no internet route, build it into your application’s image:
403; a path outside the routes is a 404 from Lattice; calls to the Kubernetes Services directly are dropped by the NetworkPolicies.
Values you’ll actually change
Gotchas
- A caller needs two grants. Its role in the chart’s invoker list (the IAMAuthPolicy) and
vpc-lattice-svcs:Invokeon the service in its own IAM policy. One without the other is a403. - Pods that never become ready: check the HTTPRoutes have a domain name. If not, the controller’s logs usually name a missing endpoint (
tagging,vpc-lattice) or permission. Troubleshooting. - Don’t request a full
cpu: 4. The chart requests3500mwith a4limit: a 4-CPU request can’t schedule on a 4-vCPU node once the kubelet reserve and DaemonSets are counted, and pods sitPending. The engine still sizes its thread pool to 4 from the limit. - Rollouts replace pods in place. A detect pod fills its node, so a surge pod would sit
Pendingon every deploy. WithmaxSurge: 0, one replica is down while each pod restarts — deploy off-peak or scale up first. With Karpenter, Cluster Autoscaler or spare nodes, setmaxSurge: 1,maxUnavailable: 0. - Kubelet probes vs. NetworkPolicy. The policies admit only
lattice.peerCidrs. Confirm your enforcer still admits kubelet → pod probe traffic; Calico does by default, test the VPC CNI policy agent on your cluster version. - IRSA with
automountServiceAccountToken: false. The pods never call the Kubernetes API, so the chart turns automount off. Confirm the pod identity webhook still injects its token:kubectl -n "$NS" get pod -l app.kubernetes.io/component=detect -o yaml | grep aws-iam-token. sslmode=requireencrypts but doesn’t verify the server certificate.- Version numbers.
/healthzand audit records report the detection engine’s own version, not the product release’s (the record’s.version). - Clusters outside AWS aren’t supported. There’s no Marketplace metering or IRSA path for them.
Remove the release
helm uninstall tenet -n tenet-pii keeps your KMS key, vault and audit bucket. In COMPLIANCE mode nobody can delete audit objects until their retention ends; in GOVERNANCE mode an administrator can, with --bypass-governance-retention. To remove everything after a trial, delete in this order: the Helm release and namespace, the Gateway, the controller, the node group and cluster, the Aurora database, the audit bucket, the VPC endpoints and the VPC, then the IAM roles. Schedule the KMS key for deletion last.
Security posture of the pods
Non-root UID/GID10001, RuntimeDefault seccomp, no privilege escalation, read-only root filesystem, all capabilities dropped. /tmp is a 512Mi emptyDir. Pods serve HTTPS with a certificate generated at startup; Lattice terminates the caller’s TLS on 443. NetworkPolicy admits ingress only from VPC Lattice and blocks egress to IMDS, the internet and other pods. AWS_STS_REGIONAL_ENDPOINTS=regional keeps IRSA on the in-VPC STS endpoint. The chart never renders a credential.