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 2026-10-08 GMT+08:00
What Should I Do If an ECS and RDS Instance Deployed in Different VPCs Cannot Communicate with Each Other?
- Switch the VPC of the ECS to the same VPC as the RDS instance.
- Create a VPC peering connection between two different VPCs to enable private network communication.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot