High Security Mode setting IP whitelist whitelist
- Login RDS Management Console .
- In the upper left corner of the page, select the region where the instance.
- Find the target instance, click the instance ID.
- In the left navigation bar select data security.
- Subsequent operations according to the following connection scenarios.
Locate a local public network IP address of the device
- Add the company public network segment or RDS MySQL 0.0.0.0/0 whitelist or MariaDB TX instance, details, see whitelist .
Description 0.0.0.0/0 representation allows any device to access RDS instance, there are security risks, please use caution. If used, it should be promptly removed from the whitelist.
- In a local device, or the command line using the client connected to the RDS instance.
mysql -hRDS连接地址 -u账户 -p密码 -P3306
- Query process information.
show processlist
As shown below, the row corresponding to show processlist where the Host is the real IP address of the local device outlet.
- Step 1 added to the whitelist 0.0.0.0/0 entry deleted, added on real local public network IP.