forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
17 lines
2.8 KiB
HTML
17 lines
2.8 KiB
HTML
<a name="cce_faq_00266"></a><a name="cce_faq_00266"></a>
|
||
|
||
<h1 class="topictitle1">What Is the Relationship Between Clusters, VPCs, and Subnets?</h1>
|
||
<div id="body0000001151475068"><p id="cce_faq_00266__en-us_topic_0241129829_p132814398444">A <span class="keyword" id="cce_faq_00266__keyword480210214510">VPC</span> is similar to a private local area network (LAN) managed by a home gateway whose IP address is 192.168.0.0/16. A VPC is a private network built on the cloud and provides basic network environment for running elastic cloud servers (ECSs), elastic load balancers (ELBs), and middleware. Networks of different scales can be configured based on service requirements. Generally, you can set the CIDR block to 10.0.0.0/8–24, 172.16.0.0/12–24, or 192.168.0.0/16–24. The largest CIDR block is 10.0.0.0/8, which corresponds to a class A network.</p>
|
||
<p id="cce_faq_00266__en-us_topic_0241129829_p12833984418">A VPC can be divided into multiple subnets. Security groups are configured to determine whether these subnets can communicate with each other. This ensures that subnets can be isolated from each other, so that you can deploy different services on different subnets.</p>
|
||
<p id="cce_faq_00266__en-us_topic_0241129829_p182811397446">A <span class="keyword" id="cce_faq_00266__keyword1425112176515">cluster</span> consists of one or more ECSs (also known as <span class="keyword" id="cce_faq_00266__keyword6256141716514">nodes</span>) in the same VPC. It provides a computing resource pool for running containers.</p>
|
||
<div class="p" id="cce_faq_00266__en-us_topic_0241129829_p17934350123114">As shown in <a href="#cce_faq_00266__en-us_topic_0241129829_fig43963373019">Figure 1</a>, a region may comprise of multiple VPCs. A VPC consists of one or more subnets. The subnets communicate with each other through a subnet gateway. A cluster is created in a subnet. There are three scenarios:<ul id="cce_faq_00266__en-us_topic_0241129829_ul897324011376"><li id="cce_faq_00266__en-us_topic_0241129829_li183870174010">Different clusters are created in different VPCs.</li><li id="cce_faq_00266__en-us_topic_0241129829_li7973740103711">Different clusters are created in the same subnet.</li><li id="cce_faq_00266__en-us_topic_0241129829_li7419113153815">Different clusters are created in different subnets.</li></ul>
|
||
</div>
|
||
<div class="fignone" id="cce_faq_00266__en-us_topic_0241129829_fig43963373019"><a name="cce_faq_00266__en-us_topic_0241129829_fig43963373019"></a><a name="en-us_topic_0241129829_fig43963373019"></a><span class="figcap"><b>Figure 1 </b>Relationship between clusters, VPCs, and subnets</span><br><span><img id="cce_faq_00266__en-us_topic_0241129829_image153821856042" src="en-us_image_0000001178352590.png"></span></div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_faq_0083.html">Reference</a></div>
|
||
</div>
|
||
</div>
|
||
|