GaussDB(for Influx) supports database connections through private and public networks.
Table 1 Connection methods | Method | IP Address | Scenario | Description |
| Private network | Private IP address | A private IP address is provided by default. - If your applications are running on an ECS that is in the same region, AZ, and VPC subnet as your GaussDB(for Influx) instance, you are advised to use a private IP address to connect the ECS to your instance.
- By default, GaussDB(for Influx) is not accessible from an ECS in a different security group. You need to add an inbound rule to the GaussDB(for Influx) security group.
- The default GaussDB(for Influx) port is 8635, but this port can be modified if necessary.
| High security and good performance |
| Public network | EIP | - If your applications are running on an ECS that is in a different region from the one where the GaussDB(for Influx) instance is located, you are advised to use an EIP to connect the ECS to your GaussDB(for Influx) instances.
- If your applications are deployed on another cloud platform, EIP is recommended.
| - Low security
- For faster transmission and improved security, you are advised to migrate your applications to an ECS that is in the same subnet as your GaussDB(for Influx) instance and use a private IP address to access the instance.
|
| Program code | Program code | The GaussDB(for Influx) instance can be connected using the Go programming language. | - |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.