15min

AWS Account

To authenticate with your AWS account, you will need to grant AutoCloud read-only access to your resources.

Create a cross-account role

Generating a cross-account read-only role is the simplest and most secure way of authenticating with your AWS account. This role will need the AWS owned "ReadOnlyAccess" permissions only. You may use AWS Console or Terraform to generate the Role ARN.

Use Terraform to generate Role ARN

Using Terraform to generate a Role ARN will require the next steps:

  1. Get your AutoCloud organization ID, which can be found in My Account.
  2. Head over to AutoCloud's AWS Terraform Module.
  3. Get the Provision Instructions, copy and paste into your Terraform configuration.
  4. The following assets will be created:
    1. aws_iam_role - The AWS IAM cross-account role
    2. aws_iam_role_policy_attachment - Several AWS IAM policy role attachments linking the cross-account role to the specific permissions allotted
  5. Copy the Role ARN.
Document image

Use AWS Console to create a Role ARN

Using AWS Console will require a few steps:

  1. After you've created an AWS Service Discovery, click on "USE CLOUDFORMATION".
Document image

2. Login to AWS if you haven't done that already.

3. In AWS Console, confirm the creation of the Cloudformation stack. This will create a read-only access role, named "AutocloudReadOnly".

Document image

4. Wait for the CloudFormation stack to finish. This should take no more than a couple of minutes.

Document image

5. Copy the new role ARN from CloudFormation stack outputs.

Document image

7. Add the ARN following the steps below.

Connect an AWS account to AutoCloud

  1. Go to Accounts
  2. Click on "Create New" in the top right corner.
  3. Pick AWS as a provider.
  4. Name your account and add a description.
Document image





5. Enter Role ARN to give AutoCloud read-only access. The credentials will be saved and you will be authenticated.

Document image

6. Select services and regions.

Document image

8. A new version will be created.

Document image

9. Click on View to take a look at your your cloud in the 3D Environment.

Document image



Updated 09 Jun 2022
Did this page help?
Yes
No