Help Center> GaussDB(for MySQL)> FAQs> Network Security> How Do I Configure a Security Group to Enable Access to a GaussDB(for MySQL) Instance?
Updated on 2023-09-15 GMT+08:00

How Do I Configure a Security Group to Enable Access to a GaussDB(for MySQL) Instance?

  • When you attempt to connect to a GaussDB(for MySQL) instance through a private network, check whether the ECS and GaussDB(for MySQL) instance are in the same security group.
    • If the ECS and GaussDB(for MySQL) instance are in the same security group, they can communicate with each other by default. No security group rules need to be configured.
    • If the ECS and GaussDB(for MySQL) instance are in different security groups, configure security group rules for the ECS and instance, respectively.
      • Instance: Configure an inbound rule for the security group to which the instance is associated.
      • ECS: The default security group rule allows all outbound data packets. In this case, you do not need to configure a security group rule for the ECS. If not all outbound traffic is allowed in the security group, you may need to configure an outbound rule for the ECS to allow all outbound packets.
  • When you attempt to access an instance through an EIP, you need to configure an inbound rule for the security group associated with the instance.

Network Security FAQs

more