> For the complete documentation index, see [llms.txt](https://help.gopaddle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.gopaddle.io/overview/provision-new-cluster/provision-clusters-on-cloud/aws-eks/adding-an-aws-iam-role-eks-master-node-pool.md).

# Adding an AWS IAM Role (EKS Master / Node Pool)

gopaddle offers a pre-defined Cloud Formation Template to create Roles to associate with the AWS EKS master and Node pool. While creating an AWS EKS cluster through gopaddle, you will be provided with an option to create a Role.&#x20;

In the cluster creation wizard, click the Create option next to the Role ARN to take you to the AWS Console to create a Stack. If you are not already logged in to the AWS Console, login using the IAM User that was used to register the AWS Cloud Account or with the root login.

## Steps to Create an IAM Role  <a href="#steps-to-create-an-iam-role" id="steps-to-create-an-iam-role"></a>

1. gopaddle uses 2 different templates to create a Master Role and a Node Pool Role.

You can review the templates here :

* Master Role Template : <https://gp-cloudformation-roles.s3.amazonaws.com/clusterrole.yaml>
* Node Pool template : [https://gp-cloudformation-roles.s3.amazonaws.com/nodegrouprole.yaml ](https://gp-cloudformation-roles.s3.amazonaws.com/nodegrouprole.yaml)(used for both managed and custom AMI node pools)

2\. Proceed with the default values and select Next

<figure><img src="https://downloads.intercomcdn.com/i/o/197091978/2dd02af972d2932a89bfe822/gp-cluster-arn-stackspec.png" alt=""><figcaption></figcaption></figure>

3\. The stack name is automatically generated by gopaddle every time a new stack is created. Proceed with the default and select Next.<br>

<figure><img src="https://downloads.intercomcdn.com/i/o/197092317/71863fd0729b4434c42e5e2e/gp-cluster-arn-configstack.png" alt=""><figcaption></figcaption></figure>

4\. Confirm the changes by clicking on the Check box and then choose Create Stack.

5\. Once the stack is created, copy the ARN from the output section.<br>

<figure><img src="https://downloads.intercomcdn.com/i/o/197092737/a31ca34ab94d5380de0dcbb5/gp-cluster-role-arncopy.png" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Master and Node pool Roles are not managed by gopaddle. Hence the corresponding role needs to be deleted manually once a cluster or a node pool is deleted.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.gopaddle.io/overview/provision-new-cluster/provision-clusters-on-cloud/aws-eks/adding-an-aws-iam-role-eks-master-node-pool.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
