Why PrivateLink
Connecting to Databend Cloud with AWS PrivateLink provides a secure and private way to access Databend Cloud services without traversing the public internet.
By leveraging AWS PrivateLink, you can establish a private connection between your Virtual Private Cloud (VPC) and Databend Cloud, ensuring that your data remains within your VPC boundaries and is not exposed to the internet. This setup enhances the security of your data and minimizes the risk of unauthorized access.
To connect to Databend Cloud using AWS PrivateLink, you need to configure a VPC endpoint in your VPC. This endpoint acts as a proxy that allows traffic to flow securely between your VPC and Databend Cloud. The VPC endpoint has a private IP address within your VPC and facilitates direct communication with Databend Cloud services.
Once the VPC endpoint is established, you can securely access Databend Cloud services, such as data storage, data processing, and analytics tools, using private IP addresses. This ensures that your data remains within the secure boundaries of your VPC, providing an additional layer of protection.
How to Setup AWS PrivateLink
-
Provide the AWS account ID you are planning to connect to Databend Cloud:
For example:
952853449216
-
Verify your VPC settings
Ensure
Enable DNS resolution
andEnable DNS hostnames
are checked. -
Wait for cloud admin adding your account to whitelist, and get a service name for the cluster to connect to:
com.amazonaws.vpce.us-east-2.vpce-svc-0e494364a37d35445
(aws, us-east-2, white)com.amazonaws.vpce.us-east-1.vpce-svc-0d9cd5a4a7c19796f
(aws, us-east-1, ivory)
-
Prepare a security group with tcp 443 port open:
-
Goto AWS Console:
https://us-east-2.console.aws.amazon.com/vpcconsole/home?region=us-east-2#Endpoints:
Click
Create endpoint
:Select the previously created security group
HTTPS
-
Wait for cloud admin approving your connect request:
-
Wait for the PrivateLink creation:
-
Modify private DNS name setting:
Enable private DNS names:
Wait for changes to apply.
-
Verify accessing Databend Cloud via PrivateLink:
Gateway domain is resolved to VPC internal IP address.
Congratulations! You have successfully connected to Databend Cloud with AWS PrivateLink.