How to Connect a Private EKS Service Between Different VPCs?

0
0
Asked By TechWizard99 On

I'm working with an EKS cluster that only has private APIs. These APIs are meant to be accessed by another API that is located in a different VPC. Given that there's only private access between these two VPCs, I'm wondering if it's possible to set up VPC peering so that the pods in one VPC can reach the services in the other VPC's private API? I'm a bit unclear on how to make this happen, so any advice would be really helpful!

1 Answer

Answered By CloudNinja78 On

VPC peering only works between VPCs and not with any services. So, you should create a VPC peering connection between the VPC hosting the service and the VPC where your other API resides.

DataSavant42 -

I get that VPC peering works at the IP level, but do I need to know the exact IP of the Kubernetes load balancer? Or can I just open up the whole IP range between the VPCs to simplify things?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.