Artie supports connections through AWS PrivateLink. To configure this, please reach out to our team via Slack or email ([email protected]).Before you begin, please ensure that you have done the following:
- VPC service that maps to a Network Load Balancer (NLB)
- Update the NLB target group to point to your RDS or Aurora instance
- Once this is done, please safelist Artie’s principal (
arn:aws:iam::788826912768:root
) - Reach out to the team with your service name and availability zone IDs. Our team will then initiate a VPC endpoint request.
Which region is PrivateLink available in?
Which region is PrivateLink available in?
PrivateLink is currently only available in
us-east-1
. Reach out to our team if you need to set up PrivateLink in a different region.What if I have multiple databases?
What if I have multiple databases?
We have two options when it comes to connecting to multiple databases:
- Create one VPC endpoint per database (recommended if it’s extremely high throughput and you would like to have dedicated resources and isolate the traffic)
- Create one VPC endpoint and maintain target group mapping for each database in your NLB
How do I connect to my read-only database for backfills?
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?
How do I configure my NLB to connect to my RDS or Aurora instances?
The connection string for RDS and Aurora are dynamic IPs and you’ll need a static IP to put into your NLB target group.There are two ways to do this:
- Use a Lambda function that will periodically run
dig
ornslookup
on the database and update the NLB target group with the static IP. (Recommended) - Create an EC2 instance with static IP and do port forwarding.