|
| 1 | +--- |
| 2 | +title: Connect to Your {{{ .premium }}} Instance |
| 3 | +summary: Learn how to connect to your {{{ .premium }}} instance via different methods. |
| 4 | +--- |
| 5 | + |
| 6 | +# Connect to Your {{{ .premium }}} Instance |
| 7 | + |
| 8 | +This document describes how to connect to your {{{ .premium }}} instance. |
| 9 | + |
| 10 | +> **Tip:** |
| 11 | +> |
| 12 | +> To learn how to connect to a TiDB Cloud Dedicated cluster, see [Connect to Your TiDB Cloud Dedicated Cluster](/tidb-cloud/connect-to-tidb-cluster.md). |
| 13 | +
|
| 14 | +## Connection methods |
| 15 | + |
| 16 | +After your {{{ .premium }}} instance is created on TiDB Cloud, you can connect to it via direct connections. |
| 17 | + |
| 18 | +Direct connections mean the MySQL native connection system over TCP. You can connect to your instance using any tool that supports MySQL connection, such as [MySQL client](https://dev.mysql.com/doc/refman/8.0/en/mysql.html). |
| 19 | + |
| 20 | +| Connection method | User interface | Scenario | |
| 21 | +|--------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 22 | +| Direct connections | SQL/ORM | Long-running environment, such as Java, Node.js, and Python. | |
| 23 | + |
| 24 | +## Network |
| 25 | + |
| 26 | +There are two network connection types for {{{ .premium }}}: |
| 27 | + |
| 28 | +- [Private endpoint](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md) (recommended) |
| 29 | + |
| 30 | + Private endpoint connection provides a private endpoint to allow SQL clients in your VPC to securely access services over AWS PrivateLink, which provides highly secure and one-way access to database services with simplified network management. |
| 31 | + |
| 32 | +- [Public endpoint](/tidb-cloud/premium/connect-to-premium-via-public-connection.md) |
| 33 | + |
| 34 | + The standard connection exposes a public endpoint, so you can connect to your TiDB instance via a SQL client from your laptop. |
| 35 | + |
| 36 | +<!-- To ensure the security of data transmission, you need to [establish a TLS connection](/tidb-cloud/premium/tidb-cloud-tls-connect-to-premium.md) from your client to your instance. --> |
| 37 | + |
| 38 | +The following table shows the network you can use: |
| 39 | + |
| 40 | +| Connection method | Network | Description | |
| 41 | +|----------------------------|------------------------------|-------------------------------------------------------------------------------------------------------------------| |
| 42 | +| Direct connections | Public or private endpoint | Direct connections can be made via both public and private endpoints. | |
| 43 | + |
| 44 | +## What's next |
| 45 | + |
| 46 | +After you have successfully connected to your TiDB instance, you can [explore SQL statements with TiDB](/basic-sql-operations.md). |
0 commit comments