doc-exports/docs/dds/umn/dds_02_0026.html
Wang , Deng Ke ba65944bfd Added version 4.2.
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2023-07-11 13:21:20 +00:00

23 lines
5.6 KiB
HTML

<a name="dds_02_0026"></a><a name="dds_02_0026"></a>
<h1 class="topictitle1">Binding an EIP</h1>
<div id="body1524559356643"><div class="section" id="dds_02_0026__section055104935914"><h4 class="sectiontitle">Scenarios</h4><p id="dds_02_0026__p171361239153218">After you create a DB instance, you can bind it to an <span id="dds_02_0026__text931951122515"></span><span id="dds_02_0026__text194552546256">EIP</span> to allow external access. If later you want to prohibit external access, you can also unbind the EIP from the DB instance.</p>
</div>
<div class="section" id="dds_02_0026__section26758795194119"><h4 class="sectiontitle">Precautions</h4><ul id="dds_02_0026__ul15712132844"><li id="dds_02_0026__li13712152748">Before accessing a database, you need to apply for an <span id="dds_02_0026__text549610410264"></span><span id="dds_02_0026__text0496744262">EIP</span> on the VPC console. Then, add an inbound rule to allow the IP addresses or IP address ranges of ECSs. For details, see section <a href="dds_02_0080.html">Setting a Security Group</a>.</li><li id="dds_02_0026__li137122023418">To change the <span id="dds_02_0026__text1584514513519"></span><span id="dds_02_0026__text168467585118">EIP</span> that has been bound to a node, you need to unbind it from the node first.</li></ul>
</div>
<div class="section" id="dds_02_0026__section3199593620428"><a name="dds_02_0026__section3199593620428"></a><a name="section3199593620428"></a><h4 class="sectiontitle">Binding an <span id="dds_02_0026__text1761717195114"></span><span id="dds_02_0026__text1375179514">EIP</span></h4><ol id="dds_02_0026__ol12603704105129"><li id="dds_02_0026__li46324476105129"><span>On the <strong id="dds_02_0026__b84235270615219">Instance Management</strong> page, click the target single node instance.</span></li><li id="dds_02_0026__li349825362319"><span>In the navigation pane on the left, choose <span class="uicontrol" id="dds_02_0026__uicontrol1289618282046"><b>Connections</b></span>.</span></li><li id="dds_02_0026__li38329011165953"><span>In the <strong id="dds_02_0026__b117916301841">Basic Information</strong> area, locate the target node and click <strong id="dds_02_0026__b879320307410">Bind EIP</strong> in the <strong id="dds_02_0026__b579313016419">Operation</strong> column.</span><p><p id="dds_02_0026__p156211543878">Or in the <strong id="dds_02_0026__b1519910114228">Node Information</strong> area on the <strong id="dds_02_0026__b16199813228">Basic Information</strong> page, locate the target node and choose <strong id="dds_02_0026__b20199101122210">More</strong> &gt; <strong id="dds_02_0026__b719918132213">Bind EIP</strong> in the <strong id="dds_02_0026__b1419916182212">Operation</strong> column.</p>
</p></li><li id="dds_02_0026__li14267104105129"><span>In the displayed dialog box, all available unbound EIPs are listed. Select the required <span id="dds_02_0026__text0404132216518"></span><span id="dds_02_0026__text16405132285113">EIP</span> and click <strong id="dds_02_0026__b1340615227518">OK</strong>. If no available EIPs are displayed, click <strong id="dds_02_0026__b38341124165114">View EIP</strong> and create an <span id="dds_02_0026__text15835224145118"></span><span id="dds_02_0026__text128361224195114">EIP</span> on the VPC console.</span></li><li id="dds_02_0026__li17560260102159"><span>Locate the target node, in the <strong id="dds_02_0026__b2020715324519">EIP</strong> column, view the <span id="dds_02_0026__text12332161417276"></span><span id="dds_02_0026__text19332191412279">EIP</span> that is successfully bound.</span><p><p id="dds_02_0026__p32760134103252">To unbind an EIP from the DB instance, see <a href="#dds_02_0026__section35191234134216">Unbinding an EIP</a>.</p>
</p></li></ol>
</div>
<div class="section" id="dds_02_0026__section35191234134216"><a name="dds_02_0026__section35191234134216"></a><a name="section35191234134216"></a><h4 class="sectiontitle">Unbinding an <span id="dds_02_0026__text963613272511"></span><span id="dds_02_0026__text6637122735114">EIP</span></h4><ol id="dds_02_0026__ol1441915615430"><li id="dds_02_0026__li1960835754320"><span>On the <strong id="dds_02_0026__b34027572411917">Instance Management</strong> page, click the target single node instance.</span></li><li id="dds_02_0026__li14898203864416"><span>In the navigation pane on the left, choose <span class="uicontrol" id="dds_02_0026__uicontrol117093408810"><b>Connections</b></span>.</span></li><li id="dds_02_0026__li725094674418"><span>In the <strong id="dds_02_0026__b161811243287">Basic Information</strong> area, locate the target node and click <strong id="dds_02_0026__b14182943887">Unbind EIP</strong> in the <strong id="dds_02_0026__b518314311818">Operation</strong> column.</span><p><p id="dds_02_0026__p3911161814814">Or in the <strong id="dds_02_0026__b16911171819818">Node Information</strong> area on the <strong id="dds_02_0026__b1491115181815">Basic Information</strong> page, locate the target node and choose <strong id="dds_02_0026__b7911121810811">More</strong> &gt; <strong id="dds_02_0026__b091171810815">Bind EIP</strong> in the <strong id="dds_02_0026__b1911171816817">Operation</strong> column.</p>
</p></li><li id="dds_02_0026__li24001256164416"><span>In the displayed dialog box, click <strong id="dds_02_0026__b1472131165218">Yes</strong>.</span><p><p id="dds_02_0026__p1440018568448">To bind an EIP to the DB instance again, see <a href="#dds_02_0026__section3199593620428">Binding an EIP</a>.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_02_0077.html">Connecting to a Single Node Instance Over Public Networks</a></div>
</div>
</div>