Part 1 — Foundations · wrap-up
Cheat sheet & self-check
Every command from this section on one page.
01 · AWS & EKS services and terms
Look around an account
aws sts get-caller-identity | Which account and role am I using? |
aws ec2 describe-availability-zones --query 'AvailabilityZones[].ZoneName' | AZs in the current region |
aws ec2 describe-vpcs --query 'Vpcs[].[VpcId,CidrBlock]' --output table | VPCs and their CIDRs |
aws eks list-clusters | EKS clusters in this region |
aws eks describe-cluster --name prod --query 'cluster.[version,status,endpoint]' | Version, status and API endpoint |
aws eks list-addons --cluster-name prod | Managed add-ons installed |
aws service-quotas list-service-quotas --service-code eks | EKS service quotas |
02 · EKS architecture & mental model
Inspect a cluster
aws eks list-clusters | Clusters in the region |
aws eks describe-cluster --name prod --query 'cluster.[version,status,endpoint,resourcesVpcConfig.endpointPublicAccess,resourcesVpcConfig.endpointPrivateAccess]' | Version, status, endpoint access |
aws eks update-kubeconfig --name prod --region eu-west-1 | Add the cluster to your kubeconfig |
aws eks list-addons --cluster-name prod | Installed EKS add-ons |
aws eks list-nodegroups --cluster-name prod | Managed node groups |