Instance Connection Methods

You can connect to a GeminiDB Cassandra DB instance over a private or public network.

Table 1 Connection methods

Method

Scenario

Description

Private network

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 DB instance, connect to the DB instance using a private IP address.

High security and performance

Public network

If you cannot access a DB instance using a private IP address, bind an EIP to an ECS and connect the ECS to the instance using the EIP.

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