Skip to main content
Skip table of contents

Using IAM Role (Recommended)

This article explains how to add AWS accounts to Cloudaware using an AWS IAM role. Ensure you have the necessary permissions in AWS.

  1. Log in to Cloudaware account → Admin.

new admin.png
  1. Find Amazon Organizations & Accounts. Click +N CONFIGURED +ADD AMAZON ACCOUNT:

admin - add aws account.png
admin - add amazon account.png
  1. Type AWS account name in the form. Select 'IAM role' as authentication type.

    a. Select AWS Partition:

    AWS start guide - using IAM role - Cloudaware form - partition.png


    b. Generate External ID:

    Screenshot 2024-09-12 at 3.04.38 PM.png

    Copy and save External ID required for Cloudaware IAM Role creation in AWS console.

    c. Select the option for CloudFormation stack creation:

Quick launch

This option allows launching AWS CloudFormation stack with a pre-generated Cloudaware template. Click LAUNCH STACK to be redirected to AWS Console:

aws start guide - using iam role - quick launch - launch. stack.png

Manual creation

This option allows the manual creation of AWS CloudFormation stack. Click TEMPLATE to download* the CloudFormation template:

aws start guide - using iam role - manual creation - download template.png

*Download populated with account data - the template will contain your AWS Account data auto-populated, e.g. S3 bucket names
Download with placeholders - the template will contain placeholders that need to be populated with data from your AWS account

  1. Log in to the AWS console:

Quick launch

aws start guide - using iam role - aws console - s3 url populated.png

Manual creation

Go to All Services → the section 'Management & Governance' → CloudFormation

Click Create Stack  With new resources (standard).

AWS start guide - using IAM role - AWS console - create stack with new resources.png

Under 'Prerequisite - Prepare template', select Choose an existing template.

Under 'Specify template', select Upload a template file click Choose file and upload the Cloudaware template.

AWS start guide - using IAM role - AWS console - upload a template file.png

Click Next.

  1. Specify stack details:

    a. Provide Stack name.

    b. Fill in Parameters:

    AWS start guide - using IAM role - AWS console - parameters.png

    WHERE
    CloudAware Role ARN - leave it as is
    CloudAware Role Name - replace auto-generate with a meaningful name, e.g. CloudawareRole
    External ID - paste External ID generated in the Cloudaware console (see step 3.b)

  2. Set up tags and permissions, stack failure options, and advanced options if necessary. Check the box I acknowledge that AWS CloudFormation might create IAM resources with custom names. Click Next.

  3. Review the stack details. Click Submit.

Please allow some time for the stack to be created.

  1. Open the tab 'Outputs' for the created stack. Copy the IAM Role ARN value.

  2. Go back to Cloudaware. Paste Role ARN in the form. Click CHECK:

    AWS start guide - using IAM role - Cloudaware form - final check.png


    Once validation is passed, click SAVE.

Please allow some time for Cloudaware to collect AWS data.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.