eks worker node public ip assignment

11/27/2018

With the instruction https://docs.aws.amazon.com/eks/latest/userguide/worker.html it is possible to bring up Kube cluster worker nodes. I wanted the worker node not to have public ip. I don't see Amazon gives me that option as when running the cloudformation script. How can I have option not to have public ip on worker nodes

-- R-JANA
amazon-eks
aws-eks
kubernetes

3 Answers

5/18/2019

You need to set this behaviour inside your group node template (Cloudformation template).

  NodeLaunchConfig:
    Type: AWS::AutoScaling::LaunchConfiguration
    Properties:
      AssociatePublicIpAddress: false
-- Maeda
Source: StackOverflow

3/9/2020

As of 2020/03/09, this is not possible.

See this thread.

-- theaws.blog
Source: StackOverflow

11/27/2018

You would normally set this up ahead of time in the Subnet rather than doing it per machine. You can set Auto-assign public IPv4 address to false in the subnets you are using the for the worker instances.

-- coderanger
Source: StackOverflow