Aviatrix Controller is a multi cloud and multi accounts platform. The Controller uses your cloud provider API credentials to make APIs calls, for example, to launch an Aviatrix gateway instance, on behalf of your cloud accounts.
One cloud credential is represented as an Aviatrix access account on the Controller. The Controller supports multiple Aviatrix accounts. One Aviatrix account may represent multiple cloud credentials, one from each cloud. For example, an Aviatrix account name DevOps can have an IAM role for AWS, Azure ARM credential and GCP credential.
Starting from release 3.2, access account for AWS only consists of the 12 digit account ID.
For Azure, the account information consists of Azure ARM credentials.
For GCP (Google Cloud), the account information consists of GCP credentials.
For AWS China, please refer Account with Access Key.
The Aviatrix account structure is shown in the diagram below, where admin is the default user for the primary access account.
To add more admin users, refer to this doc.
Setup primary access account for AWS cloud¶
For AWS, a primary access account is created during onboarding process. Using this account credential, the Controller can launch gateways and build connectivity on VPCs that belong to this AWS account.
Setup additional access account for AWS cloud¶
After you go through the onboarding process and create the primary access account, you can create additional or secondary Aviatrix access accounts on the Controller. This allows you to launch gateways and build connectivity across different AWS accounts.
- Go to Aviatrix -> Accounts -> Access Accounts -> +New Account, to create this new secondary account.
- Enter a unique account name. For example, marketingOps
- Check AWS.
- Check IAM role-based (enabled by default).
- Click this CloudFormation Script that takes to AWS Console and run CloudFormation script to setup IAM roles, policies and establish a trust relationship with the primary account. When finished, return to this page and proceed to the next step.
- Enter the secondary account’s AWS 12 digit account number.
- Click OK.
- The new secondary account should be created.
- Now you can create connectivity between two VPCs in different AWS accounts.
The above steps is shown below: