Enabling or Disabling Access Control
If load balancing is enabled for a database proxy instance, the security group associated with the proxy instance does not apply. You need to use access control to grant access from specific IP addresses.
If access control is not displayed on the RDS console, the security group associated with the proxy instance is used.
Enabling Access Control
- Log in to the management console.
- Click in the upper left corner and select a region.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the target DB instance.
- On the Database Proxy page, in the proxy information area, click next to the Access Control field.
- Click Configure. In the displayed dialog box, set the access control mode and IP addresses or CIDR blocks.
- Access Control: The blocklist and allowlist cannot be configured at the same time. If you switch between lists, your previously entered settings will be lost. IP addresses or CIDR blocks in the blocklist are not allowed to access proxy instances.
- IP Address or CIDR Block: Enter valid IP addresses or CIDR blocks that meet the following requirements:
- Each line contains an IP address or a CIDR block and ends with a line break.
- Each IP address or CIDR block can include a description separated by a vertical bar symbol (|), for example, 192.168.10.10|RDS01. The description can include up to 50 characters but cannot contain angle brackets (<>).
- Up to 300 IP addresses or CIDR blocks can be added.
Figure 1 Configuring access control
Disabling Access Control
- Log in to the management console.
- Click in the upper left corner and select a region.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the target DB instance.
- On the Database Proxy page, in the proxy information area, click next to the Access Control field.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot