Updated on 2026-07-10 GMT+08:00

Connection Methods

You must buy an instance before connecting to it. For details, see Buying an Instance. After buying an instance, you can connect to it using Java, Python, or HTTPS.

Figure 1 shows the methods of connecting to a GeminiDB DynamoDB-Compatible instance. Table 2 describes the details.

Figure 1 Connection methods
Table 1 Network connection

Method

Scenario

Default Port

Description

Load balancer

Suitable for production environments such as ECSs and functions. Requests are evenly distributed to available nodes.

80

  • Accessible only in a VPC
Table 2 Code connection

Method

Scenario

Description

Connecting to a GeminiDB DynamoDB-Compatible Instance Using Java

An example of connecting to a GeminiDB DynamoDB-Compatible instance using Java

An instance can be connected using Java.

Connecting to a GeminiDB DynamoDB-Compatible Instance Using Python

An example of connecting to a GeminiDB DynamoDB-Compatible instance using Python

An instance can be connected using Python.

Connecting to a GeminiDB DynamoDB-Compatible Instance Using HTTPS

An example of connecting to a GeminiDB DynamoDB-Compatible instance using HTTPS

An instance can be connected using HTTPS.