...

/

Preparing for the Cluster Setup: IAM Group and User

Preparing for the Cluster Setup: IAM Group and User

Learn to create an Identity and Access Management group and a user.

In this lesson, we’ll create a few Identity and Access Management (IAM) resources. Even though we could create a cluster with the user you used to register to AWS, it’s good practice to create a separate account with only the privileges that we’ll need for the following exercises.

Creating the IAM group

First, we’ll create an IAM group called kops.

Press + to interact
aws iam create-group \
--group-name kops

The output is as follows:

Press + to interact
{
"Group": {
"Path": "/",
"CreateDate": "2018-02-21T12:58:47.853Z",
"GroupId": "AGPAIF2Y6HJF7YFYQBQK2",
"Arn": "arn:aws:iam::036548781187:group/kops",
"GroupName": "kops"
}
}

We don’t care much for any of the information from the output except that it does not contain an error message thus confirming that the group was created successfully.

Next, we’ll assign a few policies to the group thus providing the future users of the group with sufficient permissions to create the objects we’ll need.

Since our cluster will consist of ...