doc-exports/docs/vpc/umn/faq_connection_0001.html
Qin Ying, Fan 662ede2c6b VPC UMN 20240105 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2024-04-18 12:13:40 +00:00

16 lines
1.9 KiB
HTML

<a name="faq_connection_0001"></a><a name="faq_connection_0001"></a>
<h1 class="topictitle1">Can a VPC Peering Connection Connect VPCs in Different Regions?</h1>
<div id="body1545118168179"><p id="faq_connection_0001__p8060118">A VPC peering connection only can connect VPCs in the same region.</p>
<div class="p" id="faq_connection_0001__p798914497306"><a href="#faq_connection_0001__en-us_topic_0118498905_fig4721642193711">Figure 1</a> shows an application scenario of VPC peering connections.<ul id="faq_connection_0001__en-us_topic_0118498905_ul1824941916549"><li id="faq_connection_0001__en-us_topic_0118498905_li1882572210543">There are two VPCs (VPC-A and VPC-B) in region A that are not connected.</li><li id="faq_connection_0001__en-us_topic_0118498905_li1763553818548">Service servers (ECS-A01 and ECS-A02) are in VPC-A, and database servers (RDS-B01 and RDS-B02) are in VPC-B. The service servers and database servers cannot communicate with each other.</li></ul>
<ul id="faq_connection_0001__en-us_topic_0118498905_ul16678181275512"><li id="faq_connection_0001__en-us_topic_0118498905_li86781412125511">You need to create a VPC peering connection (peering-AB) between VPC-A and VPC-B so the service servers and database servers can communicate with each other.</li></ul>
<div class="fignone" id="faq_connection_0001__en-us_topic_0118498905_fig4721642193711"><a name="faq_connection_0001__en-us_topic_0118498905_fig4721642193711"></a><a name="en-us_topic_0118498905_fig4721642193711"></a><span class="figcap"><b>Figure 1 </b>VPC peering connection network diagram</span><br><span><img class="eddx" id="faq_connection_0001__en-us_topic_0118498905_image107218428372" src="en-us_image_0000001818983018.png"></span></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="faq_peer_0000.html">VPC Peering Connections</a></div>
</div>
</div>