Multiple Account API Access Setup
Using CloudFormation StackSets, it is possible to deploy API access for all sub-accounts that the payer account sees in the same organization. This guide shows how to use this ability to onboard your accounts.
As each linked accounts are automatically created with Alphaus IAM role, these accounts are also automatically onboarded to Octo.
Prerequisites
- User access to the payer account in your AWS Management Console
- User permissions to use StackSets in your AWS Management Console
- Activate trusted access with AWS Organizations
Reference: AWS CloudFormation StackSets and AWS Organizations
Procedure
-
On the Octo app, you can register a new payer account or edit the existing payer account.
-
To register a new payer account, go to More -> Account Registration -> Register New Account -> Amazon Web Services.
-
To edit an existing payer account, go to More -> select payer -> Action -> Edit Setting.
-
-
Under Multiple Account API Access Setup, click Open AWS Launch Page.
-
Choose a Template
- Scroll down to Prerequisite - Prepare Template and select Template is ready.
- Under Specify template, ensure that Amazon S3 URL is selected and paste the Template URL from Step 4 into this field.
- Click Next.
-
Specify StackSet details
- Fill in StackSet name with your desired name.
- Paste your InternalID and Principal into the relevant field under Parameters. You can check the details on the Octo app.
- Click Next.
-
Configure StackSet options
- Under Execution configuration, select either Inactive or Active.
- Click Next.
-
Set deployment options
- Scroll down to Specify regions and input
us-east-1
. - Click Next.
- Scroll down to Specify regions and input
-
Review
- Review your newly created StackSet and click Run.
- Your new StackSet should appear within a few moments on the main StackSets page.
-
After successful stackset deployment, go back to Octo account registration page and click
Confirm
.