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>
22 lines
4.3 KiB
HTML
22 lines
4.3 KiB
HTML
<a name="vpc_SecurityGroup_0008"></a><a name="vpc_SecurityGroup_0008"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Security Group</h1>
|
|
<div id="body1529924416539"><div class="section" id="vpc_SecurityGroup_0008__sbac6979abea14c98b6270e0bf91ad991"><h4 class="sectiontitle">Scenarios</h4><p id="vpc_SecurityGroup_0008__a0b02ab6163e2408e9db1632dd0aeb686">If your security group is no longer required, you can delete it.</p>
|
|
</div>
|
|
<div class="section" id="vpc_SecurityGroup_0008__section1180962917812"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="vpc_SecurityGroup_0008__ul1036017511089"><li id="vpc_SecurityGroup_0008__li0360851889">The default security group is named <strong id="vpc_SecurityGroup_0008__b9559161711613">default</strong> and cannot be deleted.</li><li id="vpc_SecurityGroup_0008__li153608511982">If you want to delete a security group that is associated with instances, such as cloud servers, containers, and databases, you need to remove the instances from the security group first. For details, see <a href="SecurityGroup_0017.html">Adding an Instance to or Removing an Instance from a Security Group</a>.</li><li id="vpc_SecurityGroup_0008__li9121425927">A security group cannot be deleted if it is used as the source or destination of a rule in another security group.<p id="vpc_SecurityGroup_0008__p105571926328"><a name="vpc_SecurityGroup_0008__li9121425927"></a><a name="li9121425927"></a><a href="vpc_SecurityGroup_0006.html">Delete</a> or <a href="vpc_SecurityGroup_0005.html">modify</a> the rule and delete the security group again.</p>
|
|
<p id="vpc_SecurityGroup_0008__p5737123875915">For example, if the source of a rule in security group <strong id="vpc_SecurityGroup_0008__b18392132318388">sg-B</strong> is set to <strong id="vpc_SecurityGroup_0008__b169167271384">sg-A</strong>, you need to delete or modify the rule in <strong id="vpc_SecurityGroup_0008__b07237362387">sg-B</strong> before deleting <strong id="vpc_SecurityGroup_0008__b58262384387">sg-A</strong>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_SecurityGroup_0008__s3e26d00f315747089f7e203da3b9d030"><h4 class="sectiontitle">Procedure</h4><ol id="vpc_SecurityGroup_0008__oa60a59c597e94cfa88aca6ec6d05618d"><li id="vpc_SecurityGroup_0008__li2849879021595">Log in to the management console.</li><li id="vpc_SecurityGroup_0008__li840318282158">Click <span><img id="vpc_SecurityGroup_0008__image580116556397" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_SecurityGroup_0008__li65321958215">Click <span><img id="vpc_SecurityGroup_0008__en-us_topic_0118498850_image8750174734412" src="en-us_image_0000001818982846.png"></span> in the upper left corner and choose <strong id="vpc_SecurityGroup_0008__b030413612361"><span id="vpc_SecurityGroup_0008__text130415643612">Network</span><span id="vpc_SecurityGroup_0008__text6304266360"></span></strong> > <strong id="vpc_SecurityGroup_0008__b130415683612">Virtual Private Cloud</strong>.<p id="vpc_SecurityGroup_0008__p1182103318256">The <strong id="vpc_SecurityGroup_0008__b1563931213364">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_SecurityGroup_0008__li6391605416538">In the navigation pane on the left, choose <strong id="vpc_SecurityGroup_0008__b165761516667">Access Control</strong> > <strong id="vpc_SecurityGroup_0008__b15761161063">Security Groups</strong>.<p id="vpc_SecurityGroup_0008__p16470133714519">The security group list is displayed.</p>
|
|
</li><li id="vpc_SecurityGroup_0008__leffbc967da3b40c3b461148c6e6ac83f">Locate the row that contains the target security group, click <strong id="vpc_SecurityGroup_0008__b491422919572">More</strong> in the <strong id="vpc_SecurityGroup_0008__b19680173213575">Operation</strong> column, and click <strong id="vpc_SecurityGroup_0008__b17827153415720">Delete</strong>.<p id="vpc_SecurityGroup_0008__p18991217268">A confirmation dialog box is displayed.</p>
|
|
</li><li id="vpc_SecurityGroup_0008__li72933474108">Enter <strong id="vpc_SecurityGroup_0008__b1891491286">DELETE</strong> as prompted and click <strong id="vpc_SecurityGroup_0008__b1892391785">OK</strong>.</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>
|
|
|