Obtaining AWS Login Details

To enable cloud with AWS, you need to provide several login details during the activation of Incredibuild Cloud.

  • Role ARN – the Role Amazon Resource Name (ARN) that is generated automatically upon the creation of the new role. For more information on Amazon Resource Names (ARNs), see the AWS documentation.

  • External ID – the External ID you will enter as a condition into the Trust Relationships settings of the new role. For more information on External IDs, see the AWS documentation.

To generate these login details, you need to perform the following procedures:

Note: The procedures require an IAM user who has an Administrator Access policy and a Programmatic Access type. These procedures were verified in November 2021, but the AWS application may have changed since then.

Creating a Custom AWS Policy

  1. On AWS Management Console, enter in the Find Services box: IAM:

  2. On the IAM page, click the Policies option:

  3. On the Policies page, click the Create policy button:

  4. On the first Create policy page, click the JSON tab.

  5. Enter the following code depending on your environment.

    • If you want to attach a custom role to your cloud VMs, use the Custom VM Role options below and specify the role you created in AWS. You also need to specify the role in the Cloud Settings.

    • In the private policy, you must replace some of the code with your account details.

    • If you are not sure which one to use, you should use the policy for public networks with the custom VM role.

    • If you are planning to use Private Link, add the ec2:DescribeVpcEndpoints permission as well.

  6. Complete the policy by defining a name and clicking Create Policy. You will need the name in later steps.

Create a Custom AWS Role

  1. Go to RolesCreate Role.

  2. On the first page, select AWS service as the type of entity, and EC2 as the common use case.

  3. On the second page, use the Filter policies box to find the custom policy you previously created and click its check box.

  4. [Optional] On the third page, you can add tags to the new role you are creating.

  5. On the fourth page, enter a name for the new role and click Create role.

  6. On the Roles page, locate the newly created role. Then, select its check box and click it to open it:

  7. On the Summary page of the new role, click the Trust relationships tab. Then, click the Edit trust relationship button:

  8. On the Edit Trust Relationship page, delete the existing content and replace it with this code: 

    {

       "Version": "2012-10-17",

       "Statement": [

             {

                 "Effect": "Allow",

                "Principal": {

                 "AWS": "arn:aws:iam::827268715074:user/incrediCloud" },

                "Action": "sts:AssumeRole",

                "Condition": {

                     "StringEquals": {

                          "sts:ExternalId": "<New_String_for_Your_External_ID>" }

                           }

                  }

           ]

    }

    Enter any unique string without special characters in place of "New_String_for_Your_External_ID". You will need to provide it to Incredibuild during activation.

  9. After you entered your unique External ID to the Policy Document pane, click the Update Trust Policy button. You return to the Summary page of the role you created. In this Summary page you can find the required login details for activating Incredibuild Cloud with lower permissions: