forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
23 lines
5.7 KiB
HTML
23 lines
5.7 KiB
HTML
<a name="dds_02_0046"></a><a name="dds_02_0046"></a>
|
|
|
|
<h1 class="topictitle1">Binding an EIP</h1>
|
|
<div id="body1522136462404"><div class="section" id="dds_02_0046__section055104935914"><h4 class="sectiontitle"><strong id="dds_02_0046__b10875147182618">Scenarios</strong></h4><p id="dds_02_0046__p171361239153218">After you create a DB instance, you can bind it to an <span id="dds_02_0046__text5347529164615">EIP</span><span id="dds_02_0046__text148921833154616"></span> to allow external access. If you want to prohibit external access later, you can also unbind the EIP from the DB instance.</p>
|
|
</div>
|
|
<div class="section" id="dds_02_0046__section1130510262514"><h4 class="sectiontitle">Precautions</h4><ul id="dds_02_0046__ul15712132844"><li id="dds_02_0046__li13712152748">Before accessing a database, you need to apply for an <span id="dds_02_0046__text12115114904613">EIP</span><span id="dds_02_0046__text16115164920463"></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_0019.html">Setting a Security Group</a>.</li><li id="dds_02_0046__li137122023418">In the cluster instance, only dds mongos can be bound to an <span id="dds_02_0046__text1493612568465">EIP</span><span id="dds_02_0046__text99362563461"></span>. To change the <span id="dds_02_0046__text97581238476">EIP</span><span id="dds_02_0046__text1875815311474"></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_0046__section3199593620428"><a name="dds_02_0046__section3199593620428"></a><a name="section3199593620428"></a><h4 class="sectiontitle">Binding an <span id="dds_02_0046__text177791721153913">EIP</span><span id="dds_02_0046__text4780421123918"></span></h4><ol id="dds_02_0046__ol12603704105129"><li id="dds_02_0046__li46324476105129"><span>On the <strong id="dds_02_0046__b84235270615219">Instance Management</strong> page, click the target cluster instance.</span></li><li id="dds_02_0046__li349825362319"><span>In the navigation pane on the left, choose <span class="uicontrol" id="dds_02_0046__uicontrol15916566265"><b>Connections</b></span>. In the <strong id="dds_02_0046__b743512366392">Basic Information</strong> area, locate the target dds mongos node and click <strong id="dds_02_0046__b1643633673919">Bind EIP</strong> in the <strong id="dds_02_0046__b5438153693917">Operation</strong> column.</span><p><p id="dds_02_0046__p01821156154813">Or in the <strong id="dds_02_0046__b17561158144012">Node Information</strong> area on the <strong id="dds_02_0046__b153761534110">Basic Information</strong> page, locate the target dds mongos node and choose <strong id="dds_02_0046__b051943016416">More</strong> > <strong id="dds_02_0046__b124701337412">Bind EIP</strong> in the <strong id="dds_02_0046__b62371336144110">Operation</strong> column.</p>
|
|
</p></li><li id="dds_02_0046__li14267104105129"><span>In the displayed dialog box, all available unbound EIPs are listed. Select the required <span id="dds_02_0046__text1373018458489">EIP</span><span id="dds_02_0046__text127302045134810"></span> and click <strong id="dds_02_0046__b132941115422">OK</strong>. If no available EIPs are displayed, click <strong id="dds_02_0046__b12732191694419">View EIP</strong> and create an <span id="dds_02_0046__text713712644915">EIP</span><span id="dds_02_0046__text161371768492"></span> on the VPC console.</span></li><li id="dds_02_0046__li17560260102159"><span>In the <strong id="dds_02_0046__b46581858114416">EIP</strong> column on the dds mongos tab, view the <span id="dds_02_0046__text4815132834917">EIP</span><span id="dds_02_0046__text2815122894918"></span> that is successfully bound.</span><p><p id="dds_02_0046__p32760134103252">To unbind an EIP from the DB instance, see <a href="#dds_02_0046__section186511510267">Unbinding an EIP</a>.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="dds_02_0046__section186511510267"><a name="dds_02_0046__section186511510267"></a><a name="section186511510267"></a><h4 class="sectiontitle">Unbinding an <span id="dds_02_0046__text16988121194516">EIP</span><span id="dds_02_0046__text89891121144512"></span></h4><ol id="dds_02_0046__ol31276680102616"><li id="dds_02_0046__li35235350102616"><span>On the <strong id="dds_02_0046__b34027572411917">Instance Management</strong> page, click the target cluster instance.</span></li><li id="dds_02_0046__li15539153193217"><span>In the navigation pane on the left, choose <span class="uicontrol" id="dds_02_0046__uicontrol8299182120338"><b>Connections</b></span>. In the <strong id="dds_02_0046__b553193234517">Basic Information</strong> area, locate the target dds mongos node and click <strong id="dds_02_0046__b165414329451">Unbind EIP</strong> in the <strong id="dds_02_0046__b75573218456">Operation</strong> column.</span><p><p id="dds_02_0046__p10693102185417">Or in the <strong id="dds_02_0046__b1745464113455">Node Information</strong> area on the <strong id="dds_02_0046__b845474184520">Basic Information</strong> page, locate the target dds mongos node and choose <strong id="dds_02_0046__b0455841134512">More</strong> > <strong id="dds_02_0046__b1645618411455">Unbind EIP</strong> in the <strong id="dds_02_0046__b11457144164515">Operation</strong> column.</p>
|
|
</p></li><li id="dds_02_0046__li56439840102720"><span>In the displayed dialog box, click <strong id="dds_02_0046__b395412212479">Yes</strong>.</span><p><p id="dds_02_0046__p21771104103056">To bind an EIP to the DB instance again, see <a href="#dds_02_0046__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_0013.html">Connecting to a Cluster Instance Over Public Networks</a></div>
|
|
</div>
|
|
</div>
|
|
|