Access to private EKS API service by AWS Private Link

0

Hi folks,

I try to connect to EKS private cluster API from EC2 (by kubectl command) by AWS Private Link

What I have:

  1. VPC network with EC2.
  2. different VPC network with EKS private cluster.

My goal:

Run kubectl command to the EKS Api server (e.g. kubectl get pods -A) from the EC2 VPC by VPC endpoint connection

Any Ideas? suggestion?

Thanks, in advance.

1 Antwort
0

Hi TomrH,

Have you reviewed the documentation around setting this up? Let me know if you have any questions around this but simple answer is yes you can do this through PrivateLink, you will need to ensure you have proper permissions and certificates to hit the APIs.

https://docs.aws.amazon.com/eks/latest/userguide/vpc-interface-endpoints.html

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