Updated on 2024-10-24 GMT+08:00

Changing a Security Group

Scenarios

This section describes how to change the security group of a primary DB instance or read replica. For primary/standby DB instances, changing the security group of the primary DB instance will cause the security group of the standby DB instance to be changed as well.

Precautions

You can add or modify rules for the security group associated with your RDS instance, but cannot disassociate or delete the security group.

Managing Security Groups

  1. On the Instances page, click the DB instance or read replica.
  2. On the Overview page, click Manage under Security Group.

    • You can select multiple security groups at a time. The security group rules will be applied based on the following sequence: the first security group associated will take precedence over those associated later, then the rule with the highest priority in that security group will be applied first.
    • To create a new security group, click Create Security Group.

    Using multiple security groups may impact the network performance. Selecting more than five security groups is not recommended.

    Figure 1 Managing security groups

  3. Click OK.