forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
24 lines
5.0 KiB
HTML
24 lines
5.0 KiB
HTML
<a name="vpc_SecurityGroup_0009"></a><a name="vpc_SecurityGroup_0009"></a>
|
|
|
|
<h1 class="topictitle1">Cloning a Security Group</h1>
|
|
<div id="body1545449998372"><div class="section" id="vpc_SecurityGroup_0009__s3e580453202e40bf842d4254f7841130"><h4 class="sectiontitle">Scenarios</h4><p id="vpc_SecurityGroup_0009__aa24c510ff173460094a3c5ea08bf801f">You can clone a security group from one region to another to quickly apply the security group rules to ECSs in another region.</p>
|
|
<p id="vpc_SecurityGroup_0009__p205321332155320">You can clone a security group in the following scenarios:</p>
|
|
<ul id="vpc_SecurityGroup_0009__ul334510162346"><li id="vpc_SecurityGroup_0009__li176906161358">For example, you have security group <strong id="vpc_SecurityGroup_0009__b45931091027">sg-A</strong> in region A. If ECSs in region B require the same security group rules as those configured for security group <strong id="vpc_SecurityGroup_0009__b55941891529">sg-A</strong>, you can clone security group <strong id="vpc_SecurityGroup_0009__b3594899211">sg-A</strong> to region B, freeing you from creating a new security group in region B.</li><li id="vpc_SecurityGroup_0009__li93451816183411">If you need new security group rules, you can clone the original security group as a backup.</li><li id="vpc_SecurityGroup_0009__li1070343417166">Before you modify security group rules used by a service, you can clone the security group and modify the security group rules in the test environment to ensure that the modified rules work.</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_SecurityGroup_0009__section728573417911"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="vpc_SecurityGroup_0009__ul28411535124812"><li id="vpc_SecurityGroup_0009__li46713018010">You can clone a security group from the same or a different region.<ul id="vpc_SecurityGroup_0009__ul1626019121214"><li id="vpc_SecurityGroup_0009__li33901567018">If you want to clone a security group from the same region, you can clone all rules in the security group.</li><li id="vpc_SecurityGroup_0009__li156166210598">If you want to clone a security group from a different region, the system will clone only rules whose source and destination are IP addresses and rules whose source and destination is the current security group.</li></ul>
|
|
</li><li id="vpc_SecurityGroup_0009__li39713151903">Cloning a security group clones its security group rules, but not the instances associated with the security group.</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_SecurityGroup_0009__section1228895111018"><h4 class="sectiontitle">Procedure</h4><ol id="vpc_SecurityGroup_0009__ol1527262085715"><li id="vpc_SecurityGroup_0009__li1827982595714">Log in to the management console.</li><li id="vpc_SecurityGroup_0009__li19707181319510">Click <span><img id="vpc_SecurityGroup_0009__image1365912304711" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_SecurityGroup_0009__li65321958215">Click <span><img id="vpc_SecurityGroup_0009__en-us_topic_0118498850_image8750174734412" src="en-us_image_0000001818982762.png"></span> in the upper left corner and choose <strong id="vpc_SecurityGroup_0009__b1163525712374"><span id="vpc_SecurityGroup_0009__text12634115723714">Network</span><span id="vpc_SecurityGroup_0009__text196351457163717"></span></strong> > <strong id="vpc_SecurityGroup_0009__b46358573374">Virtual Private Cloud</strong>.<p id="vpc_SecurityGroup_0009__p1182103318256">The <strong id="vpc_SecurityGroup_0009__b5883173733820">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_SecurityGroup_0009__li18692101019111">In the navigation pane on the left, choose <strong id="vpc_SecurityGroup_0009__b642282105415">Access Control</strong> > <strong id="vpc_SecurityGroup_0009__b64231124545">Security Groups</strong>.<p id="vpc_SecurityGroup_0009__p40747164518">The security group list is displayed.</p>
|
|
</li><li id="vpc_SecurityGroup_0009__li286122917579">Locate the row that contains the security group, click <strong id="vpc_SecurityGroup_0009__b0546434155416">More</strong> in the <strong id="vpc_SecurityGroup_0009__b14547103455417">Operation</strong> column, and click <strong id="vpc_SecurityGroup_0009__b10547153419548">Clone</strong>.</li><li id="vpc_SecurityGroup_0009__li15252923154410">Select the region and name of the new security group as prompted.<div class="fignone" id="vpc_SecurityGroup_0009__fig65321123633"><span class="figcap"><b>Figure 1 </b>Clone Security Group</span><br><span><img id="vpc_SecurityGroup_0009__image2533423733" src="en-us_image_0000002029014640.png"></span></div>
|
|
</li><li id="vpc_SecurityGroup_0009__li168711726183">Click <strong id="vpc_SecurityGroup_0009__b11322735115510">OK</strong>.<p id="vpc_SecurityGroup_0009__p619117461814">You can then switch to the required region to view the cloned security group in the security group list.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_SecurityGroup_0012.html">Managing a Security Group</a></div>
|
|
</div>
|
|
</div>
|
|
|