Skip to main content

Creating an IAM Role


Retrieve the following information from your Dremio account before creating an AWS IAM role. You will need the Trust Account ID and the External ID in order to successfully create the role.

  1. Sign in to your Dremio Cloud account.
  2. From the side navigation bar, click the Settings (gear) icon and select Organization Settings.
  3. From the Organization Settings menu, select Clouds.
  4. From the Clouds page, select the Cloud that you are creating the IAM role for by clicking the Edit (pencil) icon.
  5. In the Edit Cloud dialog box, under Compute Settings > Compute Credentials, click the drop-down menu arrow and select IAM Role.

The Trust Account ID and External ID fields will display. You will need to provide these IDs when you create the AWS IAM role.

Creating an AWS IAM Role

To create an AWS IAM role:

  1. Sign in to the AWS Identity and Access Management (IAM) console.

  2. From the left menu pane, under Access management, select Roles.

  3. On the Roles page, click Create role.

  4. On the Select trusted entity page, do the following:

    1. Under Trusted entity type, select the radio button for AWS account.

    2. Under An AWS account, select Another AWS account.

    3. In the Account ID field, enter your Dremio Trust Account ID.

    4. Under Options, select the checkbox for Require external ID.

    5. In the External ID field, enter your Dremio External ID.

  5. Click Next to go to the Add permissions page. No edits are needed to this page.

  6. Click Next to go to the Name, review, and create page.

  7. In the Role details section, in the Role name field, enter a name for this role.

  8. Click Create Role.

To add a policy to the role:

  1. On the Roles page, click the Role name. Use the Search field to locate the role, if needed.
  2. From the role page, in the Permissions section, click Add permissions > Create inline policy.
  3. On the Create Policy page, click the JSON tab.
  4. Delete the current JSON and enter Dremio's policy JSON. The policy grants Dremio Cloud the necessary permissions to your AWS account. You can click the Copy to clipboard icon to copy and paste the policy.
  5. Click Review policy.
  6. On the Review policy page, in the Name field, enter a name for the policy.
  7. Click Create policy. The policy is created and you are returned to the Roles page.
  8. Under the Summary section, copy the role's ARN (for example, arn:aws:iam::123456789012:role/dremiouseriamrole) and save it in a location that you can retrieve later. You will need to provide this ARN when you are configuring your Dremio account.