5

I've created a new EKS cluster, and am trying to add a new node group to it.

I'm stuck on selecting a Node IAM Role from the dropdown.

node

I followed the link, and created all options for roles I could see fit, still none appear in the dropdown.

roles

Note: currently I don't really care about restricting access, I'm only trying to run some POC against EKS with a test account.

Mugen
  • 153
  • 1
  • 5

1 Answers1

6

This is actually pretty well described in the docs.

Before you create worker nodes, you must create an IAM role with the following IAM policies:

AmazonEKSWorkerNodePolicy

AmazonEKS_CNI_Policy

AmazonEC2ContainerRegistryReadOnly

Also you need to make sure that this role could be assumed by EKS.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "ec2.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}
Recoba20
  • 662
  • 3
  • 4