Skip to content

How To Use AWS IAM Roles on EC2 instances#

Introduction#

When deploying Hopsworks on EC2 instances you might need to assume different roles to access resources on AWS. These roles can be configured in AWS and mapped to a project in Hopsworks.

Prerequisites#

Before you begin this guide you'll need the following:

UI#

In this guide, you will learn how to use a mapped IAM role in your project.

Step 1: Navigate to your project's IAM Role Chaining tab#

In the Project Settings page you can find the IAM Role Chaining section showing a list of all IAM roles mapped to your project.

Role Chaining
Role Chaining

Step 2: Use the IAM role#

You can now use the IAM roles listed in your project when creating a storage connector with Temporary Credentials.