Optimal size for controlplane subnet in EKS

0

What should be the optimal size for control plane subnet ID's while provisioning an EKS cluster.

Is /27 or ~30 usable hosts an acceptable size?

control_plane_subnet_ids 
asked 13 days ago170 views
1 Answer
0
Accepted Answer

The subnets must each have at least six IP addresses for use by Amazon EKS. However, we recommend at least 16 IP addresses.

https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html

But remember that you will have nodes. They require much more IPs, especially when your env is scaled much

profile picture
EXPERT
answered 13 days ago
profile pictureAWS
EXPERT
reviewed 13 days ago
  • in my terraform eks module, there are two fields:

    1. subnet_ids
    2. control_plane_subnet_ids

    I will provide the subnets for the nodes separately. So if I give /27 subnet to controlplane per zone, It should be enough?

  • /27 netmask = 32 IPs in general. In the case of AWS, it's 27 IPs available for allocation (because 5 IPs are booked by VPC), so 27 IPs should be enough

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions