aws / aws/containers-roadmap

[EKS] [Security] Allow restricting access to EKS Kubernetes Public API Endpoint by security group

Open
#1,063 6 comments 96 reactions 0 assignees View on GitHub
EKS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
#108 added the ability to define an allow-list of CIDRs that can reach the Kubernetes API endpoint. We would like the ability to manage this allow-list using a security group.

**Which service(s) is this request for?**
EKS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
We have existing tooling built around security groups. We use their tags and the fact that individual ingress or egress rules on a security group can have descriptions in automation that analyses rules and can revoke them if they are expired or invalid. The existing API server allow-list only lets you specify a list of CIDRs in a call to `UpdateClusterConfig`, so there is nowhere to store metadata, and even if there was, we would have to write some new code to achieve parity with the current tools built on security groups.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #108 and the EKS UpdateClusterConfig API behavior described here. Determine how the Kubernetes public API endpoint allow-list could be managed with security groups, including the tags and ingress or egress rule descriptions used by existing automation; done means the requested security-group-based restriction is defined and supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes
Domain
cloud, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.