Using a Subnet within a peered VPC for allocating Load Balancer services within EKS

0

Hi Folks,

I am using a Hub and Spoke Design for my VPCs where the Hub VPC will act as the central point for Ingress and Egress. I am using Transitive Gateways to achieve this design.

Each of the Spoke VPCs contain an EKS cluster. None of the Spoke VPCs have a public subnet. Currently I have setup the clusters where All Egress traffic from the clusters is routed through an internet Gateway within the Hub VPC.

Now to configure Ingress Traffic, I need to allocate any Load Balancers Type Services within a Public Subnet, which is available in the Hub VPC. Is this possible using the LoadBalancer controller and the annotations it provides for K8S LB type services?

2 Answers
1

So, here in this case, you can have a LoadBalancer in the Hub Account which can expose the services running on other Spoke VPC's. Kindly refer the following document https://aws.amazon.com/blogs/containers/expose-amazon-eks-pods-through-cross-account-load-balancer/

AWS
answered a year ago
0

I had similar scenario and tested with blog link shared here by Kumudhan, and it worked. Thanks for timely resolution.

AWS
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions