Interview Prep/AWS/Networking (VPC endpoints, PrivateLink, Transit Gateway)

An EKS cluster in private subnets cannot pull images from ECR. What do you check?

IntermediateScenarioNetworking (VPC endpoints, PrivateLink, Transit Gateway)
Answer

Without NAT, the cluster needs interface endpoints for ecr.api and ecr.dkr, a gateway endpoint for S3 (image layers live there), and usually endpoints for STS and CloudWatch Logs. Check endpoint security groups allow 443 from the nodes, private DNS is enabled, and the node role has ECR read permissions.

aws All AWS questions Roadmap: AWS core services

More on Networking (VPC endpoints, PrivateLink, Transit Gateway)