Skip to main content

EKS Kubernetes provisioner backend

Provision Nora agents into Amazon EKS using Nora’s generic Kubernetes adapter and Admin cluster registry.
EKS uses the same Kubernetes adapter as every Kubernetes provider. Nora stores provider, namespace, exposure, and load-balancer settings on the Admin cluster row; docker-compose.kubernetes.yml only mounts kubeconfig files into the control-plane containers.

Step-by-step setup

1. Prerequisites

  • AWS account with permission to call the EKS API and create LoadBalancer services in your VPC.
  • aws CLI installed and configured (aws configure or env vars / SSO profile).
  • An existing EKS cluster (or create one — AWS Console → EKS → Add cluster).
  • AWS Load Balancer Controller installed in the cluster, OR EKS Auto Mode enabled — without one, Service provisioning hangs at EXTERNAL-IP: <pending>.
  • kubectl installed on the host that runs Nora.
Use the EKS cluster overview page to confirm the cluster name and AWS region before creating the kubeconfig.
EKS cluster overview

AWS Console — EKS cluster overview

2. Create the kubeconfig

3. Verify access from the host

Confirm the node group reports Ready in the Console’s Compute tab.
EKS managed node groups dashboard

AWS Console — EKS dashboard with managed node groups tab

4. Configure Nora

Set the generic Kubernetes mount variable in .env:
For two or more EKS clusters, put each kubeconfig under NORA_KUBECONFIGS_DIR and use Admin paths such as /kubeconfigs/eks-us-east-1 and /kubeconfigs/eks-us-west-2. Confirm the LB-creating add-on is present under Add-ons before continuing.
EKS Amazon VPC CNI add-on

AWS Console — Cluster → Add-ons (Amazon VPC CNI active)

5. Start the stack

This smoke-mode command is for the local nginx config (NGINX_CONFIG_FILE=nginx.conf, usually NGINX_HTTP_PORT=8080). If your .env already points to the public TLS config (NGINX_CONFIG_FILE=nginx.public.conf), include the tracked infra/docker-compose.public-tls.yml layer as shown in Promote to production; otherwise nginx will not mount /etc/letsencrypt and Cloudflare can return 521 because the origin web server is down.

6. Register this cluster in Admin

Open Admin -> Kubernetes, click Add cluster, and use these values: Do not put ./.secrets/eks-kubeconfig in the Admin Kubeconfig path when Nora runs in Docker Compose. That is the host-side path; the containers see files from NORA_KUBECONFIGS_DIR under /kubeconfigs.

7. Deploy a test agent

Open the dashboard at http://127.0.0.1:8080, sign in, and create an agent with the EKS cluster label you registered.
Deploy wizard backend
picker

Nora deploy wizard — Backend dropdown showing Kubernetes on EKS

Deploy wizard Kubernetes
selected

Nora deploy wizard — Kubernetes on EKS selected

Agent detail K8s

Agent detail — status running with the EKS NLB address

EKS Service options

For EKS Auto Mode NLB: Set the Admin Load balancer class field to eks.amazonaws.com/nlb. For AWS Load Balancer Controller / NLB annotations:
Your cluster must have the AWS load-balancing path you choose installed and configured. If Services stay pending, check the EKS controller events and IAM permissions for load balancer creation.

Verification

For real e2e, enable the Kubernetes matrix cell:
Agent logs K8s

Logs tab — worker-provisioner output during a successful EKS deploy

Automated smoke

Once your EKS kubeconfig is in place, run the shared lifecycle smoke:
This script is operator-run only — it provisions real workloads against a live EKS cluster and is not part of CI. Set KEEP_ENV=true to leave the stack running after the script finishes.

Promote to production

Once the smoke is green, switch from the dev-mode stack to the prod-mode stack. The only changes vs the testing setup are nginx (public config + TLS) and Compose mode (infra/docker-compose.public-tls.yml for prod Dockerfiles, TLS mounts, public ports, and restart policies).

1. Tighten the LoadBalancer source ranges

Replace the smoke-time <nora-control-plane-egress-cidr> placeholder with your production control plane’s egress CIDR. For internal-only NLBs, add the aws-load-balancer-scheme: internal annotation.

2. Switch nginx to public + TLS

In .env:
Provision Let’s Encrypt certs once:

3. Stop the smoke-mode stack

4. Start the prod-mode stack

5. Confirm

Deploy a real agent from the UI and confirm it reaches running and the EKS NLB assigns a hostname.

See also

  • Kind — local Kubernetes for development
  • K3s — self-hosted production K8s
  • AKS — Azure Kubernetes Service
  • GKE — Google Kubernetes Engine