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 ?

AWS
已提問 9 個月前檢視次數 270 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南