Connecting to a GeminiDB Redis Instance
Before connecting to an instance, you must buy an instance. For details, see Buying an Instance. GeminiDB Redis API is compatible with open-source Redis and allows traffic from applications using different types of SDKs. It can also be accessed through Data Admin Service (DAS), private networks, and public networks.
Figure 1 shows the process of connecting to a GeminiDB Redis instance. Table 1 describes the addresses and scenarios.
|
Method |
Scenario |
Default Port |
Description |
|---|---|---|---|
|
DAS |
You can connect to a GeminiDB Redis instance using a web-based console. |
- |
- |
|
Private network |
You can connect to a GeminiDB Redis instance using a private domain name, 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. |
6379 |
|
|
Public network |
You can connect to a GeminiDB Redis instance through a public domain name, an EIP, or an EIP bound to a load balancer. This method is suitable when an instance cannot be accessed over a private network. You can connect to the instance from an ECS using a public domain name or an EIP. |
6379 |
NOTE:
Redis Cluster GeminiDB Redis instances cannot be accessed over a public network. |
|
Program code |
You can connect to a GeminiDB Redis instance using different code. For details, see Examples of Connecting to an Instance Using Programming Languages. |
6379 |
- |
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
