How to access EKS application with cross account ALB hosted in public subnet.

0

For EKS Setup

Account A , with VPC hosting public Subnet and this subnet shared to Account B. Account B VPC having Pvt Subnet with EKS deployed. and shared public subnet coming from Account A.

Now PODs need to be exposed via ALB in Acct A/VPC/Public Subnet. Is it possible or what is pre-req ?

1개 답변
0

Have you checked out this blog? https://aws.amazon.com/blogs/containers/expose-amazon-eks-pods-through-cross-account-load-balancer/

Sounds like address your exact question of with VPC sharing between two accounts, ALB owned in Account A and EKS in Account B exposing those PODs from ALB in Account A. Requires setting up of Roles to perform cross account duties when calling the AWS Load Balancer Controller for exposing your EKS Pods.

If you have seen the blog and further questions, please free to post and will try to answer them.

AWS
답변함 9달 전
  • Hi, This did not work for my use case. I want to deploy External and Internal ALB at same time. EKS ALB controller can only take single VPCId. If I want to use VPC ID from Account A, to deploy Public facing ALB and also want to use VPC ID from Account B, to deploy Private ALB, it's erroring on "Target Group Creation". EKS can only work with single VPCId at a time in my test so far.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠