Updated on 2024-10-08 GMT+08:00

Connection Methods

You can connect to a GeminiDB Influx instance over a private network, public network, load balancer IP address, or program code.

Figure 1 shows the process of connecting to a GeminiDB Influx instance.

Figure 1 Connection Methods
Table 1 Connection methods

Method

Scenario

Default Port

Description

DAS

You can connect to a GeminiDB Influx instance on a web-based console.

-

  • Easy to use, secure, advanced, and intelligent
  • By default, you have the permission of remote login. DAS is secure and convenient for connecting to instances.

Private network

Connect to an instance using a private IP address or load balancer address.

This method is suitable when your application is deployed on an ECS that is in the same region and VPC as your instance.

8635

  • To improve connection reliability and eliminate the impact of a single point of failure, the load balancer address is recommended.
  • High security and performance
  • If the ECS and GeminiDB Influx instance are in the same security group,

    they can communicate with each other by default. No security group rule needs to be configured.

  • If they are in different security groups, configure security group rules for them, separately.
    • Configure inbound rules of a security group for GeminiDB Influx instances by following Configuring Security Group Rules.
    • The default security group rule allows all outbound data packets, so you do not need to configure a security rule for the ECS. If not all access from the ECS is allowed, you need to configure an outbound rule for the ECS.

Public network

You can connect to a GeminiDB Influx instance through an EIP.

This method is suitable when DB instances cannot be accessed over a private network. You can bind an EIP to an ECS (or a server on the public network) to access the instance.

8635

  • Low security
  • For faster transmission and improved security, migrate your applications to an ECS that is in the same subnet as your instance and use a private IP address to access the instance.
  • You need to purchase an EIP. For details, see Billing Overview.

Program code

Connect to a GeminiDB Influx instance using Go, Java, or Python.

8635

-