Attaching an IAM Role

In this section we attach the IAM role to grant your EC2 instance permission to create resources.

Find the Cloud9 EC2 instance

Access the EC2 instance running your Cloud9 environment by either of the following means:

  • Follow this link to find your Cloud9 EC2 instance, or…
  • In the Cloud9 dashboard open your environment and click on the “Manage EC2 Instance” button on the right side of the page.

Open IAM Role settings for the instance

  1. Select the instance
  2. Select Actions / Security / Modify IAM role Attach IAM role

aws-assign-role-step-1

Modify IAM Role

  1. Choose the role that we created in the previous step: Create IAM Role for your workspace
  2. Click on Update IAM Role

aws-assign-role-step-1

This completes the process to assign the new role.