Connection Methods
GeminiDB Cassandra can be accessed through Data Admin Service (DAS), private networks, and public networks.
Figure 1 shows the process of connecting to a GeminiDB Cassandra instance.
Method |
Scenario |
Default Port |
Description |
---|---|---|---|
You can log in to an instance on the console without using an IP address. |
- |
|
|
Private IP addresses are provided by default. Your applications are deployed on an ECS that is in the same region and VPC as your instances. |
8635 |
|
|
If you cannot access a DB instance through a private IP address, bind an EIP to the DB instance first and connect the ECS to the DB instance through the EIP. |
8635 |
|
|
An example of connecting to a GeminiDB Cassandra instance using Java is provided. |
8635 |
- |
|
An example of connecting to a GeminiDB Cassandra instance using Go is provided. |
8635 |
- |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.