Skip to main content

Getting Started

Prerequisites

Deploy the base cluster

git clone https://github.com/aws-samples/sample-aws-eks-auto-mode.git
cd sample-aws-eks-auto-mode/terraform
terraform init
terraform apply -auto-approve

Configure kubectl:

$(terraform output -raw configure_kubectl)

Apply an example

Each example is self-contained. Pick one and apply:

kubectl apply -f examples/graviton/

Configuration

All inputs are defined in terraform/variables.tf. Override with -var flags or a terraform.tfvars file.

VariableDescriptionDefault
nameVPC and EKS cluster nameautomode-cluster
regionAWS regionus-west-2
eks_cluster_versionKubernetes version1.34
vpc_cidrVPC CIDR block10.0.0.0/16
tagsTags applied to all resources (5-layer){"auto-delete" = "never"}
base_domainRoute53 zone for HTTPS (empty = internal-only)""
subdomainPrefix under base_domain""
ephemeral_storage_kms_key_idKMS key for node storage encryption""
enable_observabilityCloudWatch Container Insightsfalse

Public exposure (opt-in)

By default, all workloads are internal-only. To expose on a real domain:

terraform apply \
-var='base_domain=example.com' \
-var='subdomain=automode' \
-var='enable_observability=true'

Cleanup

./scripts/cleanup.sh

See Cleanup Architecture for the full teardown playbook.