Create IAM Role for Cloud9

In this section we will create the IAM role that will be used by the Ec2 instance that runs cloud9. This role will allow us to access other AWS resource from Cloud9.

  1. Start by logging into the AWS Console.
  2. On the AWS management console home page, search for “IAM” in the “Find Services” search box. Press enter or click the “IAM” service that populates in the fast search.
  3. Click “Roles” from the left navigation.
  4. Click the “Create Role” button.
  5. Under “Select Type of Trusted entity” leave “Aws Service” selected.
  6. For “Choose the service that will use this role” choose Ec2. Click “Next: Permissions”
  7. Select the “AdministratorAccess” policy and click “Next:Tags”
  8. Enter a tag if you would like but none is required. Click “Next:Review”
  9. Name the role “cloud9-admin-instance-profile” and enter a description that is meaningful to you. Click “Create role”

Congratulations, you have created your the the Role!