Help Center/ Relational Database Service/ User Guide (Ally Region)/ Working with RDS for MySQL/ Security and Encryption/ Changing a Security Group
Updated on 2025-12-26 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
- Changing the security group of a DB instance with read/write splitting enabled will also change the security group of its read replicas. The security group of the read replicas cannot be changed independently. Check whether the new security group meets the expectation to prevent impact on existing workloads.
- You can add or modify rules for the security group associated with your RDS instance, but cannot disassociate or delete the security group.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Database > Relational Database Service. - On the Instances page, click the primary DB instance or read replica.
- In the Connection Information area on the Basic Information page, click
next to the Security Group field. - To submit the change, click
. - To cancel the change, click
.
- To submit the change, click
- Changing the security group takes 1 to 3 minutes. Click
in the upper right corner on the Basic Information page to view the results.
Parent topic: Security and Encryption
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot