申请公网IP带宽
<p class="shortdesc">本文介绍如何申请IP带宽。</p>
<section class="section" id="Apply_IP_Bandwidth__section_egf_1kl_svb"><h2 class="doc-tairway">前提条件</h2>
<ol class="ol" id="Apply_IP_Bandwidth__ol_hx5_bkl_svb">
<li class="li">您已成功创建云服务器ECS,可参考<a class="xref" href="/ssr/help/compute/ecs/manual.Instance_Manage.Create_Instance" target="_blank" rel="external noopener">创建ECS</a>。</li>
<li class="li">您已成功创建专有网络VPC,可参考<a class="xref" href="https://www.ocftcloud.com/ssr/help/network/vpc/og.vpc.createvpc" target="_blank" rel="external noopener">创建专有网络VPC</a>。</li>
</ol>
</section>
<section class="section" id="Apply_IP_Bandwidth__section_tbx_1kl_svb"><h2 class="doc-tairway">操作步骤</h2>
<p class="p"><strong class="ph b">第一步:创建NAT网关</strong></p>
<ol class="ol" id="Apply_IP_Bandwidth__ol_ojk_mkl_svb">
<li class="li">登录<a class="xref" href="http://ocftcloud.com/console/vpc/overview" target="_blank" rel="external noopener">专有网络VPC控制台</a>。</li>
<li class="li">单击左侧导航栏<span class="ph uicontrol">NAT网关</span>,进入<span class="ph uicontrol">NAT网关</span>页面。</li>
<li class="li">选择目标地域,单击右上角<span class="ph uicontrol">创建</span>。</li>
<li class="li">进入<span class="ph uicontrol">创建NAT网关</span>页面,选择与ECS实例相同的VPC、勾选规格、输入描述。<img class="image" id="Apply_IP_Bandwidth__image_h15_tkl_svb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20232006152129-1909cfd192ea.png" width="800"></li>
<li class="li">单击<strong class="ph b">购买</strong>,进入<strong class="ph b">订单确认</strong>页面。</li>
<li class="li">单击<span class="ph uicontrol">确认开通</span>,进入<span class="ph uicontrol">支付结果</span>页面。</li>
<li class="li">单击<span class="ph uicontrol">管理控制台</span>,返回到NAT网关控制台页面。<div class="note note note_note" id="Apply_IP_Bandwidth__note_hb4_ykl_svb"><span class="note__title">说明:</span> 一个VPC最多只能创建一个NAT网关。</div></li>
</ol>
<p class="p"><strong class="ph b">第二步:创建带宽包</strong></p>
<ol class="ol" id="Apply_IP_Bandwidth__ol_ah4_1ll_svb">
<li class="li">进入<span class="ph uicontrol">NAT网关</span>页面,选择目标地域,单击目标实例名称。</li>
<li class="li">单击<span class="ph uicontrol">带宽包管理</span>页签,单击右上角<span class="ph uicontrol">创建</span>。<img class="image" id="Apply_IP_Bandwidth__image_wdt_fll_svb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20232006152129-1b0bdc01940c.png" width="800"></li>
<li class="li">进入<span class="ph uicontrol">创建带宽包</span>页面,输入需要的总带宽量,选择公网IP个数。<img class="image" id="Apply_IP_Bandwidth__image_kxw_hll_svb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20232006152129-13fe0c24957c.png" width="800"></li>
<li class="li">单击<span class="ph uicontrol">购买</span>,进入<span class="ph uicontrol">订单确认</span>页面。</li>
<li class="li">单击<span class="ph uicontrol">确认开通</span>,进入<span class="ph uicontrol">支付结果</span>页面。</li>
<li class="li">单击<span class="ph uicontrol">管理控制台</span>,返回到NAT网关控制台页面。<div class="note note note_note" id="Apply_IP_Bandwidth__note_cqg_nll_svb"><span class="note__title">说明:</span>
<ul class="ul" id="Apply_IP_Bandwidth__ul_ztv_nll_svb">
<li class="li">创建完带宽包会自动生成公网IP,每个NAT网关最多申请5个带宽包,每个带宽包中最多申请5个公网IP。</li>
<li class="li">只支持按固定带宽收费,公网IP没有实例费。</li>
</ul>
</div></li>
</ol>
<p class="p"><strong class="ph b">第三步:公网IP绑定ECS</strong></p>
<ol class="ol" id="Apply_IP_Bandwidth__ol_s1b_qll_svb">
<li class="li">进入<span class="ph uicontrol">NAT网关</span>页面,选择目标地域,单击目标实例名称。</li>
<li class="li">单击<span class="ph uicontrol">DNAT规则管理</span>页签,单击右上角<span class="ph uicontrol">创建</span>。</li>
<li class="li">进入创建DNAT规则页面,选择规则类型、IP地址,选择ECS实例、添加主机,输入描述。<div class="note note note_note" id="Apply_IP_Bandwidth__note_ew2_rll_svb"><span class="note__title">说明:</span> 若DNAT规则类型选择IP映射,可以实现ECS实例访问互联网。您也可以创建SNAT规则访问互联网。</div></li>
<li class="li">单击<span class="ph uicontrol">创建</span>。</li>
</ol>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!