Set up AWS PrivateLink in Atlan
Connect Atlan to a database in your AWS account over AWS PrivateLink, set up yourself in Settings > Networking.
Connect Atlan to a database in your AWS account over AWS PrivateLink. You set up the private link once, in Settings > Networking. After that, the connector workflows for the database reach it through the link. For the resources involved, see How AWS PrivateLink works.
If the product doesn't support your database, as listed under Limitations, set up AWS PrivateLink with Atlan support instead.
Before you begin
Prerequisites
- You're an Atlan admin.
- Your Atlan tenant runs on AWS. This setup is for AWS-hosted tenants. For Azure or Google Cloud tenants, see Azure Private Link or Google Cloud Private Service Connect.
- The database is in the same AWS region as your Atlan tenant, and its VPC's subnets share at least one Availability Zone with Atlan. Atlan shows its region at the start of the setup.
- The database accepts TCP connections on a single port. See Limitations for the ports Atlan supports.
- Your AWS team can create an NLB, a target group, and a VPC endpoint service in the VPC your database runs in, and change the database's security group. Atlan lists the AWS permissions its commands need. If you already have an endpoint service in front of the database, your AWS team only needs to change its allowed principals.
Choose endpoint service
Decide with your AWS team whether Atlan's commands create a new endpoint service or use one you already have:
- Build a new one: Atlan's commands create the NLB, target group, and VPC endpoint service in the database's VPC, and open the database port to that VPC in the database's security group. The database can't be publicly accessible, because the commands find it by its private IP address.
- Use one you already have: if an endpoint service already sits in front of the database. If its NLB has a security group, turn off Enforce inbound rules on PrivateLink traffic on it.
Set up your private link
Atlan walks you through the setup in Settings > Networking. Each step shows the commands, values, and checks for your tenant. Atlan generates the AWS commands with its own values filled in, someone on your AWS team runs them in the AWS account where the database runs, and Atlan checks the output before it creates its side of the link. Atlan saves your progress as a draft, so you can stop and come back.
- In Settings > Networking, select Create private link, then Database on AWS.
- Follow the steps in Atlan. When a step needs your AWS team, select Copy instructions, which puts the commands and what to send back into one message. Send them the message, and paste the output they send back.
- Run Atlan's commands in one AWS CloudShell session, and paste back only the last step's output.
- Select Request private link.
- When the link shows Waiting for you to accept, accept Atlan's connection request: run the command Atlan shows, or accept it under the endpoint service's Endpoint connections in the AWS console. Check that the requester is Atlan's AWS account, as shown on the Networking page. Requests that wait too long expire, and the link fails.
- Wait for the link to show Ready. Atlan updates the status while the link is set up. If you chose your database's hostname, the link shows Setting up DNS before Ready. To refresh the status right away, select Check status.
If you're an Atlan admin with the AWS permissions Atlan lists, run the commands yourself, for example in AWS CloudShell, and paste the output into Atlan. To skip the commands, choose Enter zone IDs yourself and Enter the details yourself. Atlan can't verify typed values.
Use your private link in workflows
When the link is Ready, set up the connector workflow for the database as usual. You don't choose the private link in the workflow. The workflow uses the link because it connects to the link's hostname. Take these values from the private link:
| Connector field | Value |
|---|---|
| Host | The Connection hostname on the link: your database's hostname, or the endpoint's vpce-… hostname. Open the link on the Networking page to copy it. |
| Port | The port you entered in Port your database listens on. |
Enter the database credentials and other settings in the workflow as usual.
What happens during workflow runs
For the path a workflow run takes over private connectivity, see How Atlan connects.
Each run starts by looking up the host. If you chose the endpoint's hostname, AWS's public DNS resolves the vpce-… name instead of Atlan's private DNS. If you chose your database's hostname, certificate checks keep working, because the workflow connects to the name on the database's certificate.
Limitations
- One database per private link. Each link has one endpoint service and one port. Create a separate private link for each database. An endpoint service can have only one private link.
- One setup at a time. Your workspace can have one private link in setup at a time. Start the next one when the current one finishes.
- Same region only. For a database in another region, see AWS cross-region.
- Ports. The port must be 443 or 1024 to 65535. A few reserved ports aren't supported. For other ports, contact Atlan support.
- Hostnames. The hostname must be a full name with at least three parts, such as
orders.db.example.com. IP addresses, wildcards, Atlan names, and internal names (.internal,cluster.local,localhost) aren't allowed. AWS names are allowed only as one database's full Amazon RDS, Aurora, RDS Proxy, or provisioned Amazon Redshift endpoint. Redshift Serverless endpoints aren't supported. - Changes after you request a link. You can't edit or delete a link after you request it. To change or remove a link that's requested, ready, or failed, contact Atlan support.
- Databases. This setup covers databases on Amazon RDS, Aurora, EC2, or provisioned Amazon Redshift in your AWS VPC, on an AWS-hosted tenant. For other databases, set up AWS PrivateLink with Atlan support.
- Other sources and clouds. For on-premises sources, vendor-hosted services, and Azure or Google Cloud tenants, see Decide how to connect.
Troubleshooting
For link statuses such as Waiting for you to accept and Failed, see Setup errors.
See also
- Manage private connectivity: Keep a private link healthy and add databases.
- Monitor connectivity: Check the health of your connections.