AWS: Connect Source Accounts
Who can use this feature
Anyone with these permissions: Manage source connections
This article explains how to connect an AWS source account to Eon. You can connect as many source accounts as you need.
Connect a source account
You’ll start this procedure in the Source accounts > AWS accounts page by clicking New Connection and selecting Connect account.
You can connect an AWS account using either CloudFormation or Terraform.
CloudFormation
Terraform
Before you start
Before you connect your AWS account, make sure:
-
You can log in to the relevant AWS account with permissions to deploy CloudFormation stacks and perform the actions in Eon’s stack template.
-
You understand the permissions Eon needs in the account.
See AWS: Permissions Deployment Files for details on both of these points.
Log in to the source account
In a new tab, log in to your AWS account with permissions to deploy CloudFormation stacks. Make sure to use the same browser you’re logged into Eon with.
While you’re there, copy the AWS account ID so you can provide it to Eon in the next step.
Give Eon the source account details
Returning to the tab you have Eon opened in, paste the account ID in AWS account ID.
Leave Role Name as the default value.
If, for some reason, you already have a role in your account called EonSourceAccountRole, you can set a different role name.
Click Launch CloudFormation in AWS. The AWS CloudFormation Quick create stack page opens in a new tab.
Attach a permissions boundary (optional)
Eon can apply an IAM permissions boundary to every IAM role the deployment creates, whether your company requires one or you want to limit the roles’ permissions yourself. A permissions boundary is an AWS feature that sets the maximum permissions a role can have, so each role can do only what both its own policies and the boundary allow.
To attach your boundary, set PermissionsBoundaryName to the policy name, such as MyEnterpriseBoundary, on the Quick create stack page.
Enter the name, not the ARN.
The policy must already exist, with exactly that name, in each AWS account the deployment creates roles in.
To deploy without a boundary, don’t set it.
A boundary that’s too restrictive can make Eon backups and restores fail with access denied errors. If that happens, compare the boundary’s permissions with the permissions Eon’s roles need.
Deploy the role stack template
On the Quick create stack page, the form is pre-filled for your account’s configuration. Review the stack name and parameters.
Scroll to the bottom of the page and select the acknowledgement checkbox, then click Create stack.
The stack is deployed to your AWS account. Wait for about a minute until the status changes to CREATE_COMPLETE.
Eon now has read access to your AWS account and can start discovering resources.