doc-exports/docs/cce/umn/cce_faq_00266.html
Dong, Qiu Jian b05d81fd8b CCE UMN for 1.23 reuploaded -20221103
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>
2022-11-10 19:50:29 +00:00

17 lines
2.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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/824, 172.16.0.0/1224, or 192.168.0.0/1624. 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>