Bastionhost fails to access ApsaraDB RDS
The reason for the failure may be that the egress IP address of your Bastionhost instance is not added to the IP whitelist of the ApsaraDB RDS database. Add the egress IP address to the whitelist to resolve the issue.
Step 1: Find the egress IP address of your Bastionhost instance.
Log on to the Bastionhost console.
On the Instances page, locate your instance. The egress IP address is displayed on the Instances page.

Step 2: Add the egress IP address to the ApsaraDB RDS IP whitelist.
Follow the instructions in Configure IP address whitelist to add the egress IP address to your ApsaraDB RDS database.