Updated on 2024-09-05 GMT+08:00

Overview

GaussDB(for MySQL) instances can be connected to over a private network, a public network, or using Data Admin Service (DAS).

Table 1 Connection methods

Connect Through

Connection Address

Description

Comments

DAS

Not required

DAS enables you to manage instances from a web-based console, simplifying database management and improving efficiency. By default, you have the remote login permission. It is recommended that you use DAS to connect to the instances because this connection method is more secure and convenient than other methods.

  • Easy to use, secure, advanced, and intelligent
  • Recommended

Private network

Private IP address

A private IP address is provided by default.

When your applications are deployed on an ECS that is in the same region and VPC as your GaussDB(for MySQL) instance, you are advised to connect the ECS to the instance over a private IP address.

  • Secure and excellent performance
  • Recommended

Public network

EIP

If you cannot access the GaussDB(for MySQL) instance over a private IP address, bind an EIP to the instance and connect it to the ECS (or a public network host) over the EIP.

  • A relatively lower level of security compared with other connection methods.
  • To achieve a higher data transmission rate and security level, you are advised to migrate your applications to an ECS that is in the same VPC as your GaussDB(for MySQL) instance and use a private IP address to access the instance.
  • VPC: indicates the Virtual Private Cloud.
  • ECS: indicates the Elastic Cloud Server.
  • You can log in to a DB instance using DAS or other database clients.
  • If an ECS is in the same VPC as the GaussDB(for MySQL) instance, you do not need to apply for an EIP.
  • If you are using GaussDB(for MySQL) for the first time, see Constraints.