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 Antworten
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
beantwortet vor einem Jahr
0

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

AWS
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen