Getting Started with GeminiDB Mongo API
This section instructs you to create and connect to a GeminiDB Mongo instance.
Connection Methods
Process
Figure 1 shows how to connect to a GeminiDB Mongo instance over a private or public network.
Method |
Scenario |
Default Port |
Description |
---|---|---|---|
A private IP address is provided by default. If your applications are deployed on an ECS that is in the same region and VPC as your instance, you can connect to the instance using a private IP address. |
8635 |
High security and performance
|
|
If you cannot access an instance over a private IP address, bind an EIP to the instance and then connect to it using the EIP. |
8635 |
|
|
An example of connecting to a GeminiDB Mongo instance using Java is provided. |
8635 |
- |
|
An example of connecting to a GeminiDB Mongo instance using Go is provided. |
8635 |
- |
|
An example of connecting to a GeminiDB Mongo instance using Python is provided. |
8635 |
- |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot