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
feita há 9 meses270 visualizações
1 Resposta
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
respondido há 9 meses
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas