View a markdown version of this page

Securely access TiDB using AWS PrivateLink - Data and Analytics Reference Architecture Diagrams

Securely access TiDB using AWS PrivateLink

Publication date: February 22, 2023 (Diagram history)

TiDB is an open-source MySQL-compatible database that supports hybrid transactional and analytical processing (HTAP). TiDB Cloud supports highly secure and unidirectional access to the TiDB Cloud service hosted in an Amazon VPC by using AWS PrivateLink. PingCAP sets up the AWS PrivateLink service for TiDB Cloud.

Architecture diagram showing secure access to TiDB Cloud using AWS PrivateLink with Amazon VPC interface endpoints.

The following steps describe the architecture:

  1. Create an Amazon VPC interface endpoint to the TiDB Cloud AWS PrivateLink endpoint service.

  2. Powered by AWS PrivateLink, the endpoint connection is secure and private, and does not expose data to the public internet. The AWS PrivateLink connection also supports a secure connection between VPCs with overlapping Classless Inter-Domain Routing (CIDR).

  3. Amazon EC2 customer instances securely connect to the TiDB Cloud service hosted in the provider Amazon VPC through VPC endpoints, without traffic traversing the public internet. With private DNS enabled, consumers use the same public DNS when connecting over AWS PrivateLink.

For additional information, refer to the following resources: