Skip to main content

Cloud appendix: EKS research boundary

Do not run the EKS scripts as a learner stage
  • stages/eks/ is classed research input only. Its README and the roadmap record unresolved Terraform, routing and teardown defects.
  • It can create billable AWS resources; its cleanup is not accepted as ownership-safe. Do not run up.sh, apply-workloads.sh or down.sh.
  • Sources: stages/eks/README.md, README.md, ROADMAP.md.

You will be able to: map each local mechanism to its AWS counterpart, and explain why the code is evidence of intent, not of a safe lifecycle.

Where we left off​

  • Every stage so far ran on kind, and every kind piece has a cloud counterpart. This page maps each one, so you know what changes when the same Helm chart runs on EKS.

Local → EKS prototype​

LocalEKS counterpartFile
kind control plane + workersEKS + managed node groupsterraform/cluster/eks.tf, node-groups.tf
Local imagesECR repositoriesterraform/ecr.tf
kind Docker networkVPC + subnetsterraform/network/vpc.tf
local-path volumesEBS CSI storageterraform/storage/storageclass.tf
MetalLB addressAWS Network Load Balancerterraform/gateway/
Local kubeconfig identityEKS Pod Identity + IAMterraform/cluster/pod-identity.tf, iam-policies.tf
  • The table says what the files attempt. It does not certify the combination is correct or safe.
  • The prototype ports Stage 3 workloads, not the latest hardened Helm baseline.

What changes in the cloud​

UnchangedChanges
Deployment → ReplicaSet → Pods; Service selects ready Pods; StatefulSet → PVCsLoadBalancer → real cloud LB (cost); PVC → EBS (zonal); Pods use AWS workload identity instead of long-lived keys; nodes/NAT/EBS/ECR cost money and can outlive a failed command
  • EBS volumes are zonal: the Pod must run where the volume can attach. WaitForFirstConsumer aligns first placement; it is not replication.

Read the prototype (no AWS credentials)​

sed -n '1,120p' stages/eks/README.md
sed -n '1,120p' stages/eks/terraform/storage/storageclass.tf
sed -n '1,120p' stages/eks/terraform/cluster/pod-identity.tf
sed -n '1,120p' stages/eks/scripts/down.sh
ResourceScopeStateful?Billable?
EKS clusterAWS-managedNoYes
EBS volumeOne zoneYesYes
NLBAWS-managedNoYes
ECR repoRegionalImagesStorage
IAM roleAccountNoNo
  • The rule a safe teardown must follow: delete only what your own Terraform run created and tagged. Never sweep a region by tag or name.

You should now be able to explain​

  • Map kind concepts to AWS ones.
  • Explain why Pod-replacement persistence is not AZ recovery.
  • Say why scripts in stages/eks/ are reference-only.

Next: Stage 8 or back to Stage 7.