AWS - EKSHow can you configure an EKS cluster with VPC CNI to assign pods IP addresses from multiple subnets for high availability?ACreate multiple EKS clusters in different regionsBAttach multiple subnets to the worker node group and configure VPC CNI accordinglyCUse a single subnet and rely on NAT gatewaysDAssign IPs manually to pods from different subnetsCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand subnet attachment for worker nodesAttaching multiple subnets to worker nodes allows pods to get IPs from any of those subnets, improving availability.Step 2: Exclude unrelated or impractical optionsMultiple clusters in different regions is not subnet configuration; single subnet limits availability; manual IP assignment is impractical.Final Answer:Attach multiple subnets to the worker node group and configure VPC CNI accordingly -> Option BQuick Check:Multiple subnets on nodes = pods get IPs from all subnets [OK]Quick Trick: Multiple subnets on nodes enable multi-subnet pod IPs [OK]Common Mistakes:Confusing multi-region clusters with subnet configRelying on single subnet for HAManual IP assignment to pods
Master "EKS" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes Architecture Best Practices - Operational excellence pillar - Quiz 9hard Architecture Best Practices - Multi-tier architecture patterns - Quiz 11easy Architecture Best Practices - Cost optimization pillar - Quiz 8hard CloudFormation - CloudFormation vs Terraform awareness - Quiz 1easy CloudFormation - Template structure (JSON/YAML) - Quiz 13medium ECS and Fargate - Fargate vs EC2 launch type - Quiz 14medium ECS and Fargate - Fargate vs EC2 launch type - Quiz 12easy ECS and Fargate - Fargate vs EC2 launch type - Quiz 5medium ECS and Fargate - Services and tasks - Quiz 8hard EKS - Why managed Kubernetes matters - Quiz 15hard