IAM Roles

An IAM role is an IAM (AWS Identity and Access Management) entity that defines a set of permissions for making AWS service requests and manipulating various resources.

Roles are shareable. Instead of creating new roles, you might use existing roles your organization has previously created. IAM is not region dependent, roles can be reused in all regions your organization uses.

You will create two roles: one for EKS (Elastic Kubernetes Service) and one for worker nodes, and assign them specific policies to define permissions.

Roles, policy names, and corresponding policy ARNs are shown in the following table:

Role Policy Name Policy ARN
EKS AmazonEKSClusterPolicy arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
EKS

AmazonEKSServicePolicy

arn:aws:iam::aws:policy/AmazonEKSServicePolicy

Worker Nodes AmazonEKSWorkerNodePolicy arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy
Worker Nodes AmazonEC2ContainerRegistryReadOnly arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly
Worker Nodes

AmazonEKS_CNI_Policy

arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy

EKS Policies

EKS requires the following policies to be granted:

Worker Node Policies

For worker nodes in EKS, the following policies must be granted:

Next Step: Creating the EKS Role