Accessing EKS API Server from AWS EC2 instance

In this post I am going to describe how to maintain access to Amazon AWS EKS - kubernetes cluster with only attaching an IAM Role as an instance profile, without configuring access keys on the ec2 instance. The benefit of course is not storing any Amazon IAM credentials on the ec2 instance. Having your infrastructure more secure. In my use case, I wanted to have my Jenkins CI server have access to EKS cluster for adding continuance delivery using Jenkins declarative pipeline, to my continuance integration process....

May 28, 2019 · 4 min · 785 words · Omer