How PrivateLink works
Pre-requisites
- VPC service
- Region + availability zone IDs
- Cross-region enabled if the region is not the same as the specified data plane
- Added Artie ARN (
arn:aws:iam::788826912768:root) to the VPC service.
For BYOC customers, the Artie ARN may be different. Please reach out to us if you need this ARN.
Setting up a PrivateLink connection
Open PrivateLink settings
Go to the PrivateLink connections tab under Settings.
Submit a request
Request a new PrivateLink connection and specify the environment, data plane, VPC service name, AZ IDs, and region.
Wait for approval
The status will be “Under review” until an Artie team member approves the request.
Accept the endpoint connection
Once approved, Artie initiates a VPC endpoint request to your VPC service and the status changes to “Pending Acceptance”. Accept the endpoint connection in your AWS console under VPC > Endpoint Services > Endpoint Connections.
Artie runs a daily job to verify that all active PrivateLink connections are still connected and working.
Troubleshooting
If you are having issues with your PrivateLink connections and it’s timing out, try our debugging tool.
Advanced debugging: connection is timing out
Advanced debugging: connection is timing out
If the debugging tool above does not surface the issue, work through these checks in order.
Verify availability zone IDs overlap
PrivateLink requires at least one matching availability zone between Artie’s VPC endpoint and your endpoint service. If there is no overlap, traffic has no path and the connection will time out silently.To check:- Open VPC > Endpoint Services in your AWS console and note the AZ IDs listed under your endpoint service.
- Compare them against the AZ IDs shown in the Artie dashboard for your PrivateLink connection.
- Ensure there is at least one AZ ID that appears in both lists.
Enable cross-zone load balancing on your NLB
If your database targets are registered in a different AZ than the one receiving PrivateLink traffic, the NLB will drop the connection by default.To fix this:- Open EC2 > Load Balancers and select your NLB.
- Go to the Attributes tab.
- Enable Cross-zone load balancing.
Frequently asked questions
Which region is PrivateLink available in?
PrivateLinks are available in the region your data plane is located in. Reach out to your team if you need to set up PrivateLinks in a different region.What if I have multiple databases?
You have two options when it comes to connecting to multiple databases:- (Recommended) Create one PrivateLink connection and maintain target group mapping to each database within your load balancer.
- Create a separate PrivateLink connection for each database. This is only necessary if you expect and you would like to have dedicated resources and isolate the traffic.
How do I connect to my read-only database for backfills?
Artie supports backfilling from a read-only database. However, if you are using PrivateLink you will want to create a new target group entry for the read-only database. Please see above What if I have multiple databases? for more information.How do I configure my NLB to connect to my RDS or Aurora instances?
Aurora and RDS have dynamic IPs and you will need a static IP to add into your NLB target group. Here are common ways to achieve a static IP:- Use a Lambda function that will periodically run
digornslookupon the database and update the NLB target group with the static IP. (Recommended) - Create an EC2 instance with static IP and do port forwarding