AWS - How to create a role
Said Olano

Said Olano @said_olano

About: Student of Italian (A1) and Portuguese (A1). Native Spanish speaker (Born in Xalapa, Veracruz, Mexico).

Location:
Guadalajara, Mexico
Joined:
Sep 30, 2023

AWS - How to create a role

Publish Date: Jun 29
0 0

To create an AWS role:

aws iam create-role --role-name eks-lab-role --assume-role-policy-document file://eks-Cluster-trust-policy.json
Enter fullscreen mode Exit fullscreen mode

Image description

Finally:

Image description

Add the policy:

aws iam attach-role-policy --role-name eks-lab-role --policy-arn arn:aws:iam::aws:policy/AmazonEKSClusterPolicy
Enter fullscreen mode Exit fullscreen mode

To verify:

Image description

Comments 0 total

    Add comment