Set up private network link to Amazon MSK
Connect Atlan to Amazon MSK over AWS PrivateLink with multi-VPC private connectivity and a cluster policy that grants Atlan access.
You need your Amazon MSK or AWS administrator involved. You may not have access to run these tasks.
AWS PrivateLink creates a secure, private connection between services running in AWS, ensuring that traffic between services remains within the AWS network. This document describes the steps to set this up between Amazon MSK and Atlan.
Prerequisites
Before you set up private network connectivity, check the following:
- Amazon MSK version: Apache Kafka 2.7.1 or higher.
- Authentication type: only IAM role-based authentication is supported.
- Cluster instance type: must be larger than t3.small.
- Region alignment: both your Amazon MSK cluster and Atlan tenant must reside in the same AWS region.
For more information, refer to Requirements and Limitations for Multi-VPC Private Connectivity.
Find Atlan's AWS account ID
To configure private network connectivity between your AWS account and Atlan, you need Atlan's AWS account ID. It's the 12-digit number in the principal ARN shown in Settings > Networking > Your Atlan network. Only Atlan admins see Networking.
Enable private network link
To verify or enable AWS PrivateLink for Amazon MSK:
- Sign in to the AWS Management Console and open the Amazon MSK Console.
- From the left menu, click Clusters.
- On the Clusters page, under Cluster name, select the cluster for which you want to enable private network link.
- On your cluster page, below the overview section, click the Properties tab.
- In the Properties tab, navigate to the Networking settings section to verify or enable AWS PrivateLink connectivity:
- If you have verified that AWS PrivateLink is turned on, skip to the next section.
- If AWS PrivateLink is turned off, click the Edit button and then click Turn on multi-VPC connectivity to enable it.
- In the Turn on multi-VPC connectivity page, for Authentication type, click IAM role-based authentication.
- At the bottom of the screen, click Turn on selection. The cluster undergoes a rolling update, which can take several minutes to a few hours to complete.
Grant access to Atlan
Once AWS PrivateLink is enabled for your Amazon MSK cluster, update the cluster policy to grant access to Atlan.
To update your Amazon MSK cluster policy:
- Sign in to the AWS Management Console and open the Amazon MSK Console.
- From the left menu, click Clusters.
- On the Clusters page, under Cluster name, select the cluster for which you enabled private network link.
- On your cluster page, below the overview section, click the Properties tab.
- In the Properties tab, navigate to the Security settings section and then click Edit cluster policy.
- In the Edit cluster policy page, under Cluster policy, configure the following:
- Click Basic as the new cluster policy.
- For the account IDs that need cluster access, enter Atlan's AWS account ID.
- Click the Include Kafka service principal checkbox to give Atlan access to Kafka services only.
- Click Save changes to save your selections.
Notify Atlan support team
Once you've completed the preceding steps, contact the Atlan support team and provide the following details for your Amazon MSK cluster:
- Amazon MSK Cluster ARN - the unique identifier of your cluster
Atlan creates a managed VPC connection to your Amazon MSK cluster. Once completed, Atlan support sends you the cluster connection string (bootstrap servers) required for accessing Amazon MSK via AWS PrivateLink.
Enter the cluster connection string in the Bootstrap servers field when you crawl Amazon MSK. Atlan connects to your Amazon MSK cluster over AWS PrivateLink.