# AWS Setup Script

## AWS Setup Script

The setup script creates an IAM user, role and assigns [required permissions](/overview/provision-new-cluster/register-cloud-account/aws/iam-access-policies.md) to use the AWS Services in gopaddle platform. It then registers the newly created IAM User Credentials in gopaddle.

{% hint style="info" %}
You can choose to execute the steps manually. The script can be downloaded from <https://gp-quickstart.s3.amazonaws.com/gp-aws-init.sh>
{% endhint %}

The script assigns [fine-grained permissions](/overview/provision-new-cluster/register-cloud-account/aws/iam-access-policies.md) to the newly created IAM User based on the region and the services selected.

## Executing AWS Setup script

Perform these steps in your local desktop environment

1. Install & Configure AWS CLI and the required utilities - jq, unzip.

```sh
apt update
apt install -y jq unzip
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
```

2. Create an AWS IAM User with [these](https://gp-cloudformation-roles.s3.amazonaws.com/quickstart-IAM-permissions.json) admin privileges. These privileges are required to create a new IAM user, assign roles to the user and register the IAM User in gopaddle. To review the policies associated with these roles, check the [IAM Access Policies](/overview/provision-new-cluster/register-cloud-account/aws/iam-access-policies.md).
3. Configure the AWS CLI with the IAM **admin** user credentials

```sh
aws configure
```

4. Execute the script generated in [Quickstart AWS Setup](/overview/provision-new-cluster/register-cloud-account/aws/quickstart-aws-setup.md) in your local environment


---

# Agent Instructions: 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:

```
GET https://help.gopaddle.io/overview/provision-new-cluster/register-cloud-account/aws/aws-setup-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
