Create NodeGroups role

Create IAM role labNodeGroupsRole

  1. Go to IAM management console
  • Click Roles.
  • Click Create role. VPC
  1. At Step 1: Select trusted entity section.
  • At Use case section, choose EC2 at Service or use case field.
  • Next, choose EC2.
  • Click Next. VPC
  1. At Step 2: Add permissions section.
  • Find and choose three policies AmazonEKS_CNI_Policy, AmazonEC2ContainerRegistryReadOnly and AmazonEKSWorkerNodePolicy.
  • Click Next. VPC
  1. At Step 3: Name, review, and create section.
  • At Role details section, fill the Role name field with labNodeGroupsRole value. VPC
  • Scroll down and click Create role. VPC

Next, we will create EKS cluster.