Supported ClickPipes data sources
ClickPipes reverse private endpoint functionality is limited to the following data source types:- Kafka
- Postgres
- MySQL
- MongoDB
For Kafka, the schema registry can be reached over the same reverse private endpoint as the brokers — it does not need to be publicly accessible — provided its hostname resolves to the endpoint’s private IP addresses.
Supported AWS PrivateLink endpoint types
ClickPipes reverse private endpoint can be configured with one of the following AWS PrivateLink approaches:VPC resource
Cross-region isn’t supported.
- Create a resource gateway
- Create a resource configuration
- Create a resource share
1
Create a resource gateway
Resource gateway is the point that receives traffic for specified resources in your VPC.You can create a resource gateway from the AWS console or with the following command:The output will contain a resource gateway id, which you will need for the next step.Before you can proceed, you’ll need to wait for the resource gateway to enter into an
Your resource gateway attached subnets are recommended to have sufficient IP addresses available.
It’s recommended to have at least
/26 subnet mask for each subnet.For each VPC endpoint (each Reverse Private Endpoint), AWS requires a consecutive block of 16 IP addresses per subnet. (/28 subnet mask)
If this requirement isn’t met, Reverse Private Endpoint will transition to a failed state.Active state. You can check the state by running the following command:2
Create a VPC Resource-Configuration
Resource-Configuration is associated with resource gateway to make your resource accessible.You can create a Resource-Configuration from the AWS console or with the following command:The simplest resource configuration type is a single Resource-Configuration. You can configure with the ARN directly, or share an IP address or a domain name that is publicly resolvable.For example, to configure with the ARN of an RDS Cluster:The output will contain a Resource-Configuration ARN, which you will need for the next step. It will also contain a Resource-Configuration ID, which you will need to set up a ClickPipe connection with VPC resource.
You can’t create a resource configuration for a publicly accessible cluster.
If your cluster is publicly accessible, you must modify the cluster
to make it private before creating the resource configuration
or use IP allow list instead.
For more information, see the AWS documentation.
MSK multi-VPC connectivity
The Multi-VPC connectivity is a built-in feature of AWS MSK that allows you to connect multiple VPCs to a single MSK cluster. Private DNS support is out of the box and doesn’t require any additional configuration. Cross-region isn’t supported. It is a recommended option for ClickPipes for MSK. See the getting started guide for more details.Update your MSK cluster policy and add
072088201116 to the allowed principals to your MSK cluster.
See AWS guide for attaching a cluster policy for more details.VPC endpoint service
VPC endpoint service is another approach to share your data source with ClickPipes. It requires setting up a NLB (Network Load Balancer) in front of your data source and configuring the VPC endpoint service to use the NLB. VPC endpoint service can be configured with a private DNS, that will be accessible in a ClickPipes VPC. AWS PrivateLink managed private DNS is not always a viable option:- you don’t own the domain name of your data source, so you can’t verify it with AWS
- the provider requires consumers to manage DNS resolution, as Confluent Cloud does In these cases, see Custom private DNS.
- Any on-premises Kafka setup that requires private DNS support
- Confluent Cloud private connectivity
- Cross-region connectivity for Postgres CDC
- Cross-region connectivity for MSK clusters
Add ClickPipes account ID
072088201116 to the allowed principals to your VPC endpoint service.
See AWS guide for managing permissions for more details.Cross-region access
can be configured for ClickPipes. Add your ClickPipe region to the allowed regions in your VPC endpoint service.
Custom private DNS
Custom private DNS is in Private Preview. Reach out to the ClickHouse support team to enable it for your service.
The ClickHouse Cloud console currently supports one custom private DNS name per reverse private endpoint.
If you need to manage multiple custom private DNS names on the same endpoint, use OpenAPI or Terraform.
- Exact names (
kafka.internal.example.com) and wildcard names (*.example.com) are supported. A wildcard matches a single DNS label — for example,*.abcde12345.us-east-1.aws.confluent.cloudmatchesb0-lkc123.abcde12345.us-east-1.aws.confluent.cloud. - Names must be unique across all reverse private endpoints of a ClickHouse service, including overlaps between wildcard and exact names.
- Names under reserved suffixes (e.g.,
local,localhost,internal,corp,private) are rejected.
- In the ClickHouse Cloud console, fill in the
Custom private DNS namefield when creating a reverse private endpoint. The field is shown once the feature is enabled for your service. - With OpenAPI, set
customPrivateDnsMappingswhen creating a reverse private endpoint, or update an existing endpoint with aPATCHrequest. Updates replace the full list of mappings; an empty list removes all custom names. - With Terraform, use the
clickhouse_clickpipes_reverse_private_endpoint_custom_private_dnsresource to manage mappings on an existing reverse private endpoint.
Creating a ClickPipe with reverse private endpoint
- Access the SQL Console for your ClickHouse Cloud Service.
- Select the
Data Sourcesbutton on the left-side menu and click on “Set up a ClickPipe”
- Select either Kafka or Postgres as a data source.
- Select the
Reverse private endpointoption.
- Select any of existing reverse private endpoints or create a new one.
If cross-region access is required for RDS, you need to create a VPC endpoint service and
this guide should provide a good starting point to set it up.For same-region access, creating a VPC Resource is the recommended approach.
- Provide the required parameters for the selected endpoint type.
- For VPC resource, provide the configuration share ARN and configuration ID.
- For MSK multi-VPC, provide the cluster ARN and authentication method used with a created endpoint.
- For VPC endpoint service, provide the service name.
- Optionally, provide a custom private DNS name.
-
Click on
Createand wait for the reverse private endpoint to be ready. If you’re creating a new endpoint, it will take some time to set up the endpoint. The page will refresh automatically once the endpoint is ready. VPC endpoint service might require accepting the connection request in your AWS console.
- Once the endpoint is ready, you can use a DNS name to connect to the data source. On a list of endpoints, you can see the DNS name for the available endpoint. It can be an internally ClickPipes provisioned DNS name, a private DNS name supplied by a PrivateLink service, or a custom private DNS name. DNS name isn’t a complete network address. Add the port according to the data source. MSK connection string can be accessed in the AWS console. To see a full list of DNS names, access it in the cloud service settings.
Managing existing reverse private endpoints
You can manage existing reverse private endpoints in the ClickHouse Cloud service settings:-
On a sidebar find the
Settingsbutton and click on it. -
Click on
Reverse private endpointsin aClickPipe reverse private endpointssection. Reverse private endpoint extended information is shown in the flyout. Endpoint can be removed from here. It will affect any ClickPipes using this endpoint.
Supported AWS regions
AWS PrivateLink support is limited to specific AWS regions for ClickPipes. Please refer to the ClickPipes regions list to see the available regions. This restriction doesn’t apply to PrivateLink VPC endpoint service with a cross-region connectivity enabled.Limitations
AWS PrivateLink endpoints for ClickPipes created in ClickHouse Cloud aren’t guaranteed to be created in the same AWS region as the ClickHouse Cloud service. Currently, only VPC endpoint service supports cross-region connectivity. Private endpoints are linked to a specific ClickHouse service and aren’t transferable between services. Multiple ClickPipes for a single ClickHouse service can reuse the same endpoint. AWS MSK supports only one PrivateLink (VPC endpoint) per MSK cluster per authentication type (SASL_IAM or SASL_SCRAM). As a result, multiple ClickHouse Cloud services or organizations cannot create separate PrivateLink connections to the same MSK cluster using the same auth type.Automatic cleanup of inactive endpoints
Reverse private endpoints that remain in a terminal state are automatically removed after a defined grace period. This ensures unused or misconfigured endpoints do not persist indefinitely. The following grace periods apply based on the endpoint status:
Once the grace period elapses, the endpoint and all associated resources are automatically deleted.
To prevent automatic removal, resolve the underlying issue before the grace period expires.
For example, accept a pending connection request in your AWS console,
or recreate the endpoint if it has entered a failed state.