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 réponse
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
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions