- 18 Jul 2024
- Print
- DarkLight
- PDF
Cross Account Integration
- Updated On 18 Jul 2024
- Print
- DarkLight
- PDF
Overview
AWS Cross-Account Integration in the Dataloop platform enables secure access to AWS resources across different accounts. This integration allows users to efficiently share and manage resources between their AWS accounts and Dataloop, enhancing collaboration and operational efficiency.
Organizations can create up to 15 Cross Account integrations.
To increase the number of Cross Account integrations for your organization, please contact our Customer support team.
The AWS cross-account integration process involves:
Create an S3 Bucket
- Log in to the AWS Management Console.
- Go to Services > Storage and click the S3 service.
- Click Create bucket. The Create Bucket page is displayed.
- Provide a Bucket name.
- Select your AWS region from the list.
- Ensure you block public access settings for this bucket - Block all public access.
- For all other optional settings, use the default values.
- Click Create bucket. A confirmation message is displayed.
For a step-by-step guide on creating an S3 bucket in AWS, see Creating a bucket.
Create an IAM Policy
In a case you want to restrict your IAM policy further, please take a look at S3 Restricted Folder Access.
Create an IAM Role
- Log in to the AWS Management Console.
- Go to Services and click All services. A list of services is displayed.
- Click the IAM service from the list.
- From the left portal menu, click Roles.
- Click Create role.
- Choose AWS service as the trusted entity type.
- Choose EC2 as the use case.
- Click Next.
- Search and select the policy that you created for accessing the S3 bucket.
- Click Next.
- Enter a name and an optional description for the role.
- Click Create role. A confirmation message is displayed.
- Click the Role that you created from the list.
- Copy the ARN value, which is required during the integration phase.
- For a step-by-step guide on creating an S3 bucket in AWS, see Creating IAM roles.
Start the AWS Cross Account Integration on Dataloop platform
- Log in to the Dataloop platform.
- From the left-side panel, select Data Governance.
- Click Create Integration. A pop-up window is displayed on the right-side.
- Integration Name: Enter a Name for the integration.
- Provider: Select AWS from the list.
- Integration Type: Select the Cross Account integration type from the list.
If you have created one already, you can choose it from a list of IAM users that have not been assigned to an integration.
- Select an existing IAM user or get a new IAM user:
- Get New IAM User: Click on the Get New IAM User.
- IAM User ARN: A new IAM User ARN will be created and available to copy it.
- IAM Role ARN: Enter your Role ARN details.
- Existing IAM User: Click on the Existing IAM User.
- IAM User ARN: A new IAM User ARN will be created and available to copy it.
- IAM Role ARN: Enter your Role ARN details.
- Get New IAM User: Click on the Get New IAM User.
- Copy the IAM user's ARN and add the IAM user ARN to your IAM Role trust relationship.
- Once added, click Create Integration.
Grant Dataloop IAM user access to an IAM role
- Log in to the AWS Management Console.
- Go to Services and click All services. A list of services is displayed.
- Select the IAM service from the list.
- Click Roles from the left navigation panel.
- Choose and click on the role which you recently created.
- Click on Trust relationship tab.
- Click Edit trust policy.
- Define the Trust relationship document in JSON format as follows:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<Dataloop_Account_Id>:user/<Dataloop_IAM_User>"
},
"Action": "sts:AssumeRole"
}
]
}
- Replace the AWS principal with the IAM user ARN you copied from the Dataloop platform.
- Click Update policy.
For a step-by-step guide on editing an IAM role trust relationship in AWS, see Editing the trust relationship for an existing role.
Complete the AWS Cross Account Integration on Dataloop Platform
- Log in to the Dataloop platform.
- Under the Role ARN field, enter the ARN of the IAM role for which you edited the Trust relationship.
- Click Create. A confirmation message is displayed.
Create S3 Storage Service on the Dataloop Platform
For more information, see the Create AWS S3 Storage Driver on the Dataloop Platform topic.