Production EKS Platform — From Zero to Production›Part 1 · Cheat sheet & self-check

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-identityWhich 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 tableVPCs and their CIDRs
aws eks list-clustersEKS 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 prodManaged add-ons installed
aws service-quotas list-service-quotas --service-code eksEKS service quotas

02 · EKS architecture & mental model

Inspect a cluster

aws eks list-clustersClusters 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-1Add the cluster to your kubeconfig
aws eks list-addons --cluster-name prodInstalled EKS add-ons
aws eks list-nodegroups --cluster-name prodManaged node groups