Skip to main content

Connect an AWS Account (CloudCADI hosted on GCP)

Prerequisites

Before you start

Open CloudCADI's AWS onboarding page and note down the three values shown there - Issuer, Subject, and Audience.

CloudCadi GCP prerequisite values

Auto Setup

First account (one-time setup):

Step 1 - Enter Account Details and Download Template

  1. Enter the AWS account ID, Account name, Region, and Cost export path, then download the CloudFormation template.

    Enter account details, region, and download the template

Step 2 - Deploy CloudFormation Stack

  1. CloudFormationStacksCreate stackWith new resources (standard).

    Create a new stack

  2. Choose an existing templateUpload a template fileChoose file → select the downloaded template → Next.

    Upload the CloudFormation template

  3. Under specify stack details. Enter stack name.

  4. For DeployedAccountType, select SELF if the CloudCADI deployed account is the AWS Organizations management account. Select DELEGATED_ADMIN if it is a member account configured as a delegated administrator.

    Enable Delegated Administrator

    Follow these steps to enable a delegated administrator in AWS Organizations:

    1. Sign in to the AWS Management Account and open AWS Organizations → Services.

    2. Find AWS CloudFormation StackSets and click Enable trusted access.

    3. Click Navigate to Console.

      image.png

    4. Under Delegated Administrators, click Register delegated administrator.

      image.png

    5. A popup will appear. Enter the Delegated Administrator Account ID and click Register Delegated Administrator.

    6. The member account can now perform the required actions.

      image.png

    Enter stack name and parameters

  5. Click Next.

  6. Check I acknowledge that AWS CloudFormation might create IAM resources with custom namesNext.

    Acknowledge IAM capabilities

  7. Scroll to the bottom and click Submit.

    Review and submit the stack

Step 3 - Complete Account Onboarding

  1. Once the stack shows CREATE_COMPLETE, copy the CloudCADIGCPFederationRoleArn from its Outputs tab, paste it into CloudCadi, and click Confirm.

    Copy the Role ARN from the stack outputs

  2. Review the configuration and click Done - this account is now onboarded.

    Review configuration and finish

Step 4 - Onboard Additional Accounts

  1. All other accounts in the same AWS Organization are fetched automatically. Select the accounts to onboard and click Done.

    Select accounts to onboard

Manual Setup

Step 1 - Enter Account Details and Download Template

  1. Enter the AWS account ID, Account name, and Cost export path, then download the CloudFormation template.

    Enter account details and download the CloudFormation template

Step 2 - Deploy CloudFormation Stack

  1. In the AWS Console, go to CloudFormationStacksCreate stackWith new resources (standard).

    Create a new stack

  2. Under Prepare template, leave Choose an existing template selected. Under Specify template, choose Upload a template fileChoose file → select the template downloaded in step 1 → Next.

    Upload the CloudFormation template

  3. On Specify stack details, enter a Stack name (e.g. gcp-aws-onboarding-stack) → Next.

    Enter stack name

  4. On Configure stack options, scroll down to Capabilities and check I acknowledge that AWS CloudFormation might create IAM resources with custom namesNext.

    Acknowledge IAM capabilities

  5. On Review and create, scroll to the bottom and click Submit.

    Review and submit the stack

Step 3 - Complete Account Onboarding

  1. Once the stack status shows CREATE_COMPLETE, open its Outputs tab and copy the CloudCADIGCPFederationRoleArn value.

    Copy the Role ARN from the stack outputs

    Back in CloudCadi, paste it in and click Confirm.

    Enter the Role ARN and confirm

  2. Review the configuration on the confirmation page and click Done.

    Review configuration and finish

Step 4 - Verify Data Source Creation

  1. You will be redirected to the Data Sources list page. You will be notified once the accounts are onboarded.

    Onboarding notification

  2. Navigate back to the Data Sources list tab and confirm the AWS account appears, with the provider shown as AWS and the configured Account name.

    Datasource confirmation

Architecture