AWS PrivateLink
You can use AWS PrivateLink to provide connectivity between VPCs, AWS services, your on-premises systems, and ClickHouse Cloud without having your traffic go across the internet. This document describes how to connect to ClickHouse Cloud using AWS PrivateLink. To disable access to your ClickHouse Cloud services from addresses other than AWS PrivateLink addresses use ClickHouse Cloud IP Access Lists.
ClickHouse Cloud currently does not support cross-region PrivateLink. However, you can connect to PrivateLink using VPC peering. For more information and configuration guidance, please refer to AWS documentation.
AWS PrivateLink is only available in ClickHouse Cloud Production services. Development services are not supported.
Please complete the following steps to enable AWS Private Link:
- Obtain Endpoint Service name.
- Create a service endpoint.
- Add Endpoint ID to ClickHouse Cloud organization.
- Add Endpoint ID to service(s) allow list.
Find complete Terraform example for AWS Private Link here.
Prerequisites
Before you get started you will need:
- An AWS account.
- An API key with the necessary permissions to create and manage private links.
Steps
Follow these steps to connect your ClickHouse Cloud to your AWS PrivateLink.
Obtain Endpoint Service name
Option 1: ClickHouse Cloud console
In the ClickHouse Cloud console, open the service that you would like to connect via PrivateLink, then open the Settings menu. Click on the Set up private endpoint button. Copy the Service name for which will be used for setting up Private Link.