Set up a PrivateLink (AWS)
This guide demonstrates the procedure for setting up a private link from a Zilliz BYOC project to your service hosted in different AWS VPCs.
Before you start
Ensure that:
- You have already created a VPC Endpoint using AWS CloudFormation, AWS Console, or the Terraform scripts.
Set up a DNS record
Before you can access your cluster via the private link allocated by Zilliz Cloud, it is necessary to create a CNAME record in your DNS zone to resolve the private link to the DNS name of your VPC endpoint.
-
Create a hosted zone using Amazon Route 53
Amazon Route 53 is a web-based DNS service. Create a hosted DNS zone so that you can add DNS records to it.
-
Log into your AWS account and go to Hosted zones.
-
Click Create hosted zone.
-
In the Hosted zone configuration section, set the following parameters.
Parameter name
Parameter Description
Domain name
Use
byoc.zillizcloud.com
.Description
Description used to distinguish hosted zones.
Type
Select Private hosted zone.
-
In the VPCs to associate with the hosted zone section, add your VPC ID to associate it with the hosted zone.
-
-
Create an alias record in the hosted zone
An alias record is a type of DNS record that maps an alias name to a true or canonical domain name. Create an alias record to map the private link allocated by Zilliz Cloud to the DNS name of your VPC endpoint. Then, you can use the private link to access your cluster privately.
-
In the created hosted zone, click Create record.
-
Set Record name to match the cloud region where your current project is deployed.
AWS Region
Record name
us-west-2
zilliz-byoc-us
eu-central-1
zilliz-byoc-eu
-
On the Create record page, switch on Alias, and select Route traffic to as follows:
-
Select Alias to VPC endpoint in the first drop-down list.
-
Select the cloud region in the second drop-down list.
-
Enter the name of the endpoint that has been created above.
-
-
Click Create records.
-