Updated on 2023-11-21 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.

Table 1 Connection methods

Method

Scenario

Description

Private network

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

This method applies to scenarios where applications are deployed on an ECS which is in the same region and VPC as the instance.

  • To improve connection reliability and eliminate the impact of a single point of failure, the load balancer address is recommended.
  • High security and performance

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.

  • 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.

Program code

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

-