安全组

<p><strong>1. 安全组配置</strong></p> <p>(1)进入云服务器ECS控制台,点击 <strong>安全组&nbsp;</strong>&rarr;&nbsp;<strong>创建</strong>&nbsp;按钮。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701174418-1df4585e90b8.png" style="height:333px; width:830px" /></p> <p>(2)填写描述,选择对应VPC与网络域,点击 <strong>确定</strong>。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701174930-107d433a9056.png" style="height:337px; width:830px" /></p> <p>(3)点击刚才创建的安全组名称,首先创建安全组规则,点击 <strong>安全组规则&nbsp;</strong>&rarr;&nbsp;<strong>创建</strong>,选择规则方向、协议类型、授权IP,填写描述信息。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701175838-15580dbc99d9.png" style="height:350px; width:830px" /></p> <p>(4)将添加实例到对应安全组,点击右侧 <strong>添加主机</strong> 按钮。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701180027-1b4993259d0d.png" style="height:258px; width:830px" /></p> <p>(5)选择主机名称,点击 <strong>确定</strong>,添加成功,在&quot;实例&quot;列表即可查看。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701180717-182295829cea.png" style="height:259px; width:830px" /></p> <p>&nbsp;</p> <p><strong>2.&nbsp;同一VPC下不同网络域分区实例通信配置</strong></p> <p>(1)创建2台实例,都在ECJ36006的VPC下面,一台在DMZ区,一台在SF区。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701182137-1eec0d0390ef.png" style="height:205px; width:830px" /></p> <ul> <li>SF区实例</li> </ul> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701182435-1b6172aa9328.png" style="height:317px; width:830px" /></p> <ul> <li>DMZ区实例</li> </ul> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701182505-151a3e2998c8.png" style="height:316px; width:830px" /></p> <p>(2)选择 <strong>安全组&nbsp;</strong>&rarr;&nbsp;<strong>华东1</strong>,点击右上角<strong> 创建</strong>,新建2个安全组。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701183039-16fe2a8a9f6b.png" style="height:310px; width:830px" /></p> <p>(3)创建完成,在&ldquo;实例管理&rdquo;列表即可查看。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701183146-1ff5b2109a42.png" style="height:266px; width:830px" /></p> <p>(4)分别添加实例到安全组。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701183503-1d9f1b6c909d.png" style="height:223px; width:830px" /></p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190701183717-1c3cdd42944f.png" style="height:223px; width:830px" /></p> <p>(5)添加实例完成后,配置安全组规则,加入安全组的实例可以ping通。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20182410201450-1b9a68b499a8.png" style="height:122px; width:668px" /></p> <p>(6)其他端口通讯需要在安全组配置,示例配置DMZ区安全组规则,填写CIDR地址,子网掩码为32位指定为单个ip,也可以指定整个网段地址,参考【专有网络】-【专有网络详情】-【网络域】-【网络域详情】。</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pacloud/20190801092652-172435209892.png" style="height:237px; width:830px" /></p> <p>&nbsp;</p>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询 - 7x24 小时

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

7x24 小时,急速解答

工单支持

解决云产品相关技术问题