PeerDB Cloud supports AWS Private Link for secure and private connectivity between VPCs. This allows you to connect your VPCs to PeerDB Cloud without exposing your data to the public internet.

1

Setup Endpoint Service

  1. Create the necessary endpoint service as per preference. Some of the common ways to achieve this are (for Postgres):
    • EC2 with script to fetch DNS records on schedule and update forwarding rules
    • Lambda with listener to Event Bridge (CloudFormation Template available in AWS Docs
  2. Give access to the PeerDB’s AWS ARN arn:aws:iam::141675317444:root (or Account ID 141675317444) so that it can be discovered for establishing the Private Link connection
  3. (Optionally) Allow network connections from PeerDB’s internal CIDR range 10.0.0.0/16 to the Endpoint Service
  4. Provide PeerDB Team with Endpoint Service Name (com.amazonaws…) and the region where the service is located
    • This can be done either via contacting PeerDB Team via Slack or Email
2

PeerDB Team sets up Endpoint Interface

  1. PeerDB Team will setup the necessary Endpoint Interface
  2. PeerDB Team will provide back the DNS name (for peer connectivity) and the Endpoint Interface ID for Accepting the Endpoint Interface request
3

Accept Endpoint Interface Request, Setup Peer

  1. Accept the Endpoint Interface Request
  2. Create the peer via PeerDB UI (or ask PeerDB Team to perform a health check on the Endpoint Interface DNS from the same network as the PeerDB Cloud Instance)

PeerDB cloud natively supports AWS Private Link for destination ClickHouse Cloud instances. This allows you to connect your ClickHouse Cloud instance to PeerDB Cloud without exposing your data to the public internet.

1

Setup Endpoint Service on ClickHouse Cloud Console

  1. Go to your ClickHouse Cloud instance console
  2. Navigate to “Settings”
  3. Click on “Set up private endpoint” under “Settings” -> “Private endpoints”
  4. You should see a screen like below:

ClickHouse Cloud Console: Setting up a Private Endpoint

  1. Copy the “Service Name” and “DNS Name” from the above dialog and provide it to the PeerDB Team, (along with a helpful description of the cloud instance for reference)
2

PeerDB Team sets up Endpoint Interface

  1. PeerDB Team will setup the necessary Endpoint Interface
  2. PeerDB Team will provide back the the Endpoint ID
3

Enabling the Endpoint Service on ClickHouse Cloud Console

  1. Go back to the ClickHouse Cloud Console and head over to the same “Set up private endpoint” screen
  2. Enter the Endpoint ID provided by the PeerDB Team in the “Endpoint ID” field and Description can be “PeerDB Cloud Link”

ClickHouse Cloud Console: Enabling the Endpoint Service

4

Setup the Peer in PeerDB Cloud

  1. You can now use the DNS name provided earlier under the “Setup Endpoint Service on ClickHouse Cloud Console” step to create a peer in PeerDB Cloud.

Configure PeerDB UI with ClickHouse Cloud Connection details

  1. For further details on how to create a ClickHouse Cloud peer, refer to the ClickHouse Cloud Setup Guide