检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Scenarios First check whether the ECS and RDS DB instance are in the same security group. If they are in the same security group, they can communicate with each other by default. No security group rule needs to be configured.
When your applications are deployed on an ECS that is in the same region and VPC as the RDS for MariaDB instance, you are advised to use a floating IP address to connect to the instance through the ECS.
NOTE: If you are accessing the DB instance through an ECS, instance_ip is the floating IP address of the instance. You can obtain this IP address on the Connectivity & Security page.
Can Multiple ECSs Connect to the Same RDS for MariaDB Instance? Multiple ECSs can connect to the same RDS DB instance as long as the capability limits of a database are not exceeded. Parent topic: Product Consulting