doc-exports/docs/opengauss/umn/opengauss_01_0037.html
Wang , Deng Ke 04da47cae2 openGauss UMN 20221109 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-11-29 07:39:44 +00:00

25 lines
7.1 KiB
HTML

<a name="opengauss_01_0037"></a><a name="opengauss_01_0037"></a>
<h1 class="topictitle1">Binding and Unbinding an EIP</h1>
<div id="body1588063083313"><div class="section" id="opengauss_01_0037__sd0d0b65ca02b4bac95a6048d0e01bf6c"><h4 class="sectiontitle">Scenarios</h4><p id="opengauss_01_0037__a7fc399a3e1354d16b7da047fefa3eb3d">You can bind an EIP to a <span id="opengauss_01_0037__text131691039125411">GaussDB(openGauss)</span> DB instance for public access and can unbind the EIP from a <span id="opengauss_01_0037__text5174153914543">GaussDB(openGauss)</span> DB instance as required.</p>
<div class="notice" id="opengauss_01_0037__n7d1b5394788b482f922ef3a3b6cd5038"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="opengauss_01_0037__ab177057961df45f88ecb637072368fb0">To ensure that the database can be accessed, the security group used by the database must have the permission to access the database port. For example, if the database port is <strong id="opengauss_01_0037__b857775012549">1611</strong>, ensure that the security group has the permission to access port <strong id="opengauss_01_0037__b358335010542">1611</strong>.</p>
</div></div>
</div>
<div class="section" id="opengauss_01_0037__s78692501dd2843f8b2e12cfc09997e4a"><h4 class="sectiontitle">Precautions</h4><ul id="opengauss_01_0037__uebd1937f127249db9622974e9cfd6c0d"><li id="opengauss_01_0037__l20505de169ed40ed8595cdac3839fd7f">You can bind an EIP to a CN only.</li><li id="opengauss_01_0037__l0d9d6e26d6fa45abb1552e143caf7934">If a DB instance has already been bound with an EIP, you must unbind the EIP from the DB instance first before binding a new EIP to it.</li></ul>
</div>
<div class="section" id="opengauss_01_0037__s276bd2277a8e43d0b113e04386ea9290"><a name="opengauss_01_0037__s276bd2277a8e43d0b113e04386ea9290"></a><a name="s276bd2277a8e43d0b113e04386ea9290"></a><h4 class="sectiontitle">Binding an EIP</h4><ol id="opengauss_01_0037__o4c64bb8680374584bbbff2fc55658908"><li id="opengauss_01_0037__li17251143135117"><span>Log in to the management console.</span></li><li id="opengauss_01_0037__en-us_topic_0192953659_li42514315519"><span>Click <span><img id="opengauss_01_0037__i251621a9ff0c468daf58c21cd2e9afb3" src="en-us_image_0000001072358973.png"></span> in the upper left corner and select a region and a project.</span></li><li id="opengauss_01_0037__li85361458162720"><span>Click <strong id="opengauss_01_0037__afab9a51872a0475eac5831778f04beda">Service List</strong>. Under <strong id="opengauss_01_0037__en-us_topic_0241495502_b155592161758">Database</strong>, click <strong id="opengauss_01_0037__en-us_topic_0241495502_b056012161059">GaussDB</strong>.</span></li><li id="opengauss_01_0037__lb7a94adb746945549de0480d03e6919d"><span>In the navigation pane on the left, choose <strong id="opengauss_01_0037__aac73ac6a5277470ca896f424ceddcc09">GaussDB(openGauss)</strong> &gt; <strong id="opengauss_01_0037__a8989b0cbeb2940689376ccc2b84bc056">Instance Management</strong>.</span></li><li id="opengauss_01_0037__lefa99b45aad3414cbef87e469d5dcb30"><span>On the <strong id="opengauss_01_0037__b18442023005">Instance Management</strong> page, click the target DB instance.</span></li><li id="opengauss_01_0037__l845354d1bd354808a7bee6765b1811ce"><span>In the <strong id="opengauss_01_0037__b551092510">Connection Information</strong> area, click <strong id="opengauss_01_0037__b48401627917">Bind EIP</strong>.</span></li><li id="opengauss_01_0037__l9aca18390ae14e438c539f52647b7507"><span>In the displayed dialog box, all unbound EIPs are listed. Select the EIP to be bound and click <span class="uicontrol" id="opengauss_01_0037__uicontrol4848112810114"><b>OK</b></span>. If no available EIPs are displayed, click <span class="uicontrol" id="opengauss_01_0037__ud70c330918f149b1ba1918ae3a700920"><b>View EIP</b></span> and obtain an EIP.</span></li><li id="opengauss_01_0037__le24b8c466e9e44e6b250139d8e7b1e68"><span>In the <span class="uicontrol" id="opengauss_01_0037__uicontrol135581248512"><b>Connection Information</b></span> area, view the bound IP address.</span><p><p id="opengauss_01_0037__aa15f28aab8ed4246b5a6a3a98f32d430">To unbind the EIP from the DB instance, see <a href="#opengauss_01_0037__s7427bdddd2df4ea18f4047c25b4f3ebe">Unbinding an EIP</a>.</p>
<div class="note" id="opengauss_01_0037__note1440917471351"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="opengauss_01_0037__p1640913474359">After the EIP is bound, you can click <span><img id="opengauss_01_0037__image1616621213819" src="en-us_image_0000001072758914.png"></span> next to the private IP address to view its details.</p>
</div></div>
</p></li></ol>
</div>
<div class="section" id="opengauss_01_0037__s7427bdddd2df4ea18f4047c25b4f3ebe"><a name="opengauss_01_0037__s7427bdddd2df4ea18f4047c25b4f3ebe"></a><a name="s7427bdddd2df4ea18f4047c25b4f3ebe"></a><h4 class="sectiontitle">Unbinding an EIP</h4><ol id="opengauss_01_0037__o37ee0a162ed84eaf991c5c80dc487af3"><li id="opengauss_01_0037__l62a7d9c140094d6aa7383147eb65c127"><span>Log in to the management console.</span></li><li id="opengauss_01_0037__li6557350122513"><span>Click <span><img id="opengauss_01_0037__en-us_topic_0192953815_image192529212293" src="en-us_image_0000001072358973.png"></span> in the upper left corner and select a region and a project.</span></li><li id="opengauss_01_0037__li8993164052218"><span>Click <strong id="opengauss_01_0037__en-us_topic_0241495502_b1555913162054">Service List</strong>. Under <strong id="opengauss_01_0037__en-us_topic_0241495502_b155592161758_1">Database</strong>, click <strong id="opengauss_01_0037__en-us_topic_0241495502_b056012161059_1">GaussDB</strong>.</span></li><li id="opengauss_01_0037__li17107653297"><span>In the navigation pane on the left, choose <strong id="opengauss_01_0037__en-us_topic_0241495502_b17904525152019">GaussDB(openGauss)</strong> &gt; <strong id="opengauss_01_0037__en-us_topic_0241495502_b2029133192019">Instance Management</strong>.</span></li><li id="opengauss_01_0037__l08c1c0843fa54b50a8a478aca026a0aa"><span>On the <strong id="opengauss_01_0037__b1436612511228">Instance Management</strong> page, click the DB instance that has been bound with an EIP.</span></li><li id="opengauss_01_0037__l011d32d7637f432986c1215c17dda162"><span>In the <strong id="opengauss_01_0037__b58444720319">Connection Information</strong> area, click <strong id="opengauss_01_0037__b14323817239">Unbind</strong> next to the IP address. In the displayed dialog box, click <strong id="opengauss_01_0037__b1964810235316">Yes</strong> to unbind the EIP.</span></li><li id="opengauss_01_0037__l8664ed66319842f4bb125ed0a1344f7f"><span>In the <strong id="opengauss_01_0037__b15619830137">Connection Information</strong> area, view the IP address.</span><p><p id="opengauss_01_0037__aa5537e399eba4f8685f0e96b337b270d">To bind an EIP to the DB instance again, see <a href="#opengauss_01_0037__s276bd2277a8e43d0b113e04386ea9290">Binding an EIP</a>.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="opengauss_01_0032.html">Instance Management</a></div>
</div>
</div>