Help Center/ Relational Database Service_RDS for MySQL/ FAQs/ Database Connection/ What Should I Do If an ECS and RDS Instance Deployed in Different VPCs Cannot Communicate with Each Other?
Updated on 2025-06-27 GMT+08:00

What Should I Do If an ECS and RDS Instance Deployed in Different VPCs Cannot Communicate with Each Other?

  1. Change the VPC hosting the ECS to the same as that hosting the RDS.
  2. Create a VPC peering connection.