This article describes how to integrate your linked accounts with Anodot for us to create recommendations for each linked account.
In this process, you'll assign a read-only policy to each linked account and associate it with a role.
Ways to Connect Linked Accounts:
-
Connect All Linked Accounts - Current & Future (Recommended)
Use a Stack in your payer account that grants read-only permissions to all current and future linked accounts under your payer account. This ensures any new linked accounts will automatically be included without requiring any action.
Note: in case some of your linked accounts already have the needed permissions this option is not relevant for you. Instead, we recommend using the second option.
-
Connect All current available Linked Accounts Under the Payer Account
This StackSet will propagate the necessary read-only permissions across all linked accounts under the payer account.
Note: New linked accounts created in the future will need to be connected manually.
-
Connect Linked Accounts Based on Tagging
Create a Stack in your payer account that applies read-only permissions to linked accounts based on specific tags. This way, only accounts with the defined tag will be connected to Anodot.
-
Connect Each Linked Account manually via the Anodot UI
Best suited for small accounts.
You can manually connect each linked account from within the Anodot interface by assigning read-only permissions for each account.
Connect All Linked Accounts (Including Future Accounts)
-
From Anodot's main page click on Account.
-
Click on the Cloud Accounts tab and copy the external ID value of your account.
- Log into the AWS console for the payer account: https://aws.amazon.com/
-
Navigate to CloudFormation > Stacks and click on Create Stack.
-
For the Prepare template, select the Choose an existing template. Then, select Upload a template file, upload the following .yaml file, and click on Next.
-
Choose a name for the Stack, enter the external ID you copied in step #2, and click on Next.
- Click on Next.
-
On Anodot, navigate to Accounts > Linked account page, and click on Validate All Connection to validate a successful connection.
-
You will start seeing recommendations the next time your invoice runs (which occurs automatically every day).
Connect All Linked Accounts Under the Payer Account
-
From Anodot's main page click on Account.
-
Click on the Cloud Accounts tab and copy the external ID value of your account.
- Log into the AWS console for the payer account: https://aws.amazon.com/
-
Navigate to CloudFormation > StackSet and click on Create StackSet.
-
Use the following template URL and click on Next.
https://pileus-cloudformation-public.s3.amazonaws.com/PileuseOnboardingCFT.json
-
Name the StackSet, enter the External ID you copied in Step 2, and Click on Next.
-
Enter any tags and select Inactive or Active execution.
-
Configure the deployment options (setting a region is required) and click on Next.
- Review your settings, and click Submit.
-
On Anodot, navigate to Accounts > Linked account page, and click on Validate All Connection to validate a successful connection.
- You will start seeing recommendations the next time your invoice runs (which occurs automatically every day).
Connect Linked Accounts Based on Tagging
-
From Anodot's main page click on Account.
-
Click on the Cloud Accounts tab and copy the external ID value of your account.
- Log into the AWS console for the payer account: https://aws.amazon.com/
-
Navigate to CloudFormation > Stacks and click on Create Stack.
-
For the Prepare template, select the Choose an existing template. Then, select Upload a template file, upload the following .yaml file, and click on Next.
-
Choose a name for the Stack, enter the external ID you copied in step #2, and click on Next.
- Click on Next.
-
For each linked account that you want us to apply the policy with permissions for, add the following tag:
Anodot: onboarded
-
On Anodot, navigate to Accounts > Linked account page, and click on Validate All Connection to validate a successful connection.
-
The next time your invoice runs (which occurs automatically every day), you will start seeing recommendations.
Manual Connection for Each Linked Account via the Anodot UI
- In the AWS Console, login to the linked account that you would like to connect to Anodot Cost.
- On the Anodot Cost platform, click your username (in the top right corner) and click Account.
-
Click the Linked Accounts tab.
-
Click Open AWS platform to connect in the relevant linked account row.
You are redirected to a CloudFormation stack creation page, which will create the Anodot Cost role for your linked account. -
In the AWS Console, click Create stack.
-
On the Anodot Cost platform, click on Validate Connection to validate a successful connection.
Note: In case you want to connect multiple linked accounts you can click on Validate All Connections
You should now see that the Verification Status is connected, as shown below.