管理安全组内实例
<p class="shortdesc"></p>
<section class="section" id="Manage_Instance_SecurityGroup__section_xcz_cks_svb"><h2 class="doc-tairway">关联实例</h2>
<p class="p">云服务ECS实例可以关联安全组的数量是4个,此数量限制为固定的,无法更改。</p>
<p class="p"><strong class="ph b">前提条件</strong></p>
<ol class="ol" id="Manage_Instance_SecurityGroup__ol_bvp_fks_svb">
<li class="li">已创建安全组。</li>
<li class="li">已在创建安全组时所选择的VPC内创建云主机实例,且该云主机实例创建时未绑定该安全组。</li>
</ol>
<p class="p"><strong class="ph b">操作步骤</strong></p>
<ol class="ol" id="Manage_Instance_SecurityGroup__ol_gc1_3ks_svb">
<li class="li">登录<a class="xref" href="https://www.ocftcloud.com/console/ecs/overview" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</li>
<li class="li">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">网络</span><abbr> > </abbr><span class="ph uicontrol">安全组</span></span>,进入<span class="ph uicontrol">安全组</span>页面。</li>
<li class="li">选择安全组所在地域。</li>
<li class="li">单击目标安全组的名称,进入<span class="ph uicontrol">安全组详情</span>页面。</li>
<li class="li">切换到需要添加安全组的<span class="ph uicontrol">实例</span>页签,单击右上角的<span class="ph uicontrol">添加</span>,弹出<span class="ph uicontrol">关联实例</span>对话框。<div class="note note note_note" id="Manage_Instance_SecurityGroup__note_kmt_3ks_svb"><span class="note__title">说明:</span> 关联实例对话框中仅显示未绑定该安全组的云主机实例。</div></li>
<li class="li">勾选想要关联到该安全组的云主机实例,单击<span class="ph uicontrol">确认</span>,页面下方会弹出<span class="ph uicontrol">操作成功</span>的提示,完成实例的关联。</li>
</ol>
</section>
<section class="section" id="Manage_Instance_SecurityGroup__section_tcq_pks_svb"><h2 class="doc-tairway">移除单个实例</h2>
<p class="p">该操作是将实例从安全组中移除,并不会删除云服务器ECS实例本身。</p>
<p class="p"><strong class="ph b">前提条件</strong></p>
<p class="p">安全组内已有关联的云服务器ECS实例。</p>
<p class="p"><strong class="ph b">限制说明</strong>
</p>
<p class="p">每个云服务器ECS实例必须关联一个安全组,如果想要移除的云服务器ECS实例只关联了该安全组,则该云服务器ECS实例无法被移除。</p>
<p class="p"><strong class="ph b">操作步骤</strong></p>
<ol class="ol" id="Manage_Instance_SecurityGroup__ol_z5s_rks_svb">
<li class="li">登录<a class="xref" href="https://www.ocftcloud.com/console/ecs/overview" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</li>
<li class="li">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">网络</span><abbr> > </abbr><span class="ph uicontrol">安全组</span></span>,进入<span class="ph uicontrol">安全组</span>页面。</li>
<li class="li">选择安全 组所在地域。</li>
<li class="li">单击目标安全组的名称,进入<span class="ph uicontrol">安全组详情</span>页面。</li>
<li class="li">在<span class="ph uicontrol">实例</span>页签,单击目标实例<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">删除</span>,弹出<span class="ph uicontrol">确认</span>对话框,询问是否确认删除云服务器ECS实例。</li>
<li class="li">单击<span class="ph uicontrol">确认</span>,页面下方会弹出<span class="ph uicontrol">操作成功</span>的提示。</li>
</ol>
</section>
<section class="section" id="Manage_Instance_SecurityGroup__section_jh4_1ls_svb"><h2 class="doc-tairway">批量移除实例</h2>
<p class="p">该操作是将实例从安全组中移除,并不会删除云服务器ECS实例本身。</p>
<p class="p"><strong class="ph b">前提条件</strong></p>
<p class="p">安全组内已有多个关联的云服务器ECS实例。</p>
<p class="p"><strong class="ph b">限制说明</strong></p>
<p class="p">每个云服务器ECS实例必须关联一个安全组,如果想要移除的云服务器ECS实例只关联了该安全组,则该云服务器ECS实例无法被移除。</p>
<p class="p"><strong class="ph b">操作步骤</strong></p>
<ol class="ol" id="Manage_Instance_SecurityGroup__ol_j2l_cls_svb">
<li class="li">登录<a class="xref" href="http://ocftcloud.com/console/ecs/instance" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</li>
<li class="li">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">网络</span><abbr> > </abbr><span class="ph uicontrol">安全组</span></span>,进入<span class="ph uicontrol">安全组</span>页面。</li>
<li class="li">选择安全组所在地域。</li>
<li class="li">单击目标安全组的名称,进入<span class="ph uicontrol">安全组详情</span>页面。</li>
<li class="li">切换到需要移除安全组的<span class="ph uicontrol">实例</span>页签,勾选多个想要移除的实例,单击<span class="ph uicontrol">释放</span>,弹出<strong class="ph b">确认</strong>对话框,询问是否确认删除云主机实例。</li>
<li class="li">单击<span class="ph uicontrol">确认</span>,页面下方会弹出<span class="ph uicontrol">操作成功</span>的提示。</li>
</ol>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!