/
Using IAM Role (Recommended)

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
  1. Type AWS account name in the form. Select 'IAM role' as authentication type.

    a. Select AWS Partition:


    b. Generate External ID:

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

    c. Select the option for CloudFormation stack creation:

Quick launch

Quick launch

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

Manual creation

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

*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

Quick launch

Manual creation

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

Click Create Stack  With new resources (standard).

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.

Click Next.

  1. Specify stack details:

    a. Provide Stack name.

    b. Fill in Parameters:

    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:


    Once validation is passed, click SAVE.