Files
doc-exports/docs/rds/umn/rds_sqlserver_0025.html
wangdengke2 70f009fb3e rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-11-24 12:07:53 +00:00

25 lines
8.1 KiB
HTML

<a name="rds_sqlserver_0025"></a><a name="rds_sqlserver_0025"></a>
<h1 class="topictitle1">Binding and Unbinding an EIP</h1>
<div id="body8662426"><div class="section" id="rds_sqlserver_0025__en-us_topic_0192953725_section26758795194119"><h4 class="sectiontitle"><strong id="rds_sqlserver_0025__en-us_topic_0192953725_b84235270694112">Scenarios</strong></h4><p id="rds_sqlserver_0025__en-us_topic_0192953725_p2283626020420">By default, a DB instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to a DB instance for public accessibility, and you can unbind the EIP from the DB instance later if needed.</p>
<div class="notice" id="rds_sqlserver_0025__en-us_topic_0192953725_note29232533203622"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="rds_sqlserver_0025__en-us_topic_0192953725_p61766211203622">To ensure that the DB instance is accessible, the security group associated with the instance must allow access over the database port. For example, if the database port is 8635, ensure that the security group allows access over the 8635 port.</p>
</div></div>
</div>
<div class="section" id="rds_sqlserver_0025__en-us_topic_0192953725_section25123869979"><h4 class="sectiontitle">Prerequisites</h4><ul id="rds_sqlserver_0025__en-us_topic_0192953725_ul176448639523"><li id="rds_sqlserver_0025__en-us_topic_0192953725_li16430428125916">You have assigned an EIP on the VPC console.</li><li id="rds_sqlserver_0025__en-us_topic_0192953725_li70163319612">You can bind an EIP to a primary DB instance or a read replica only.</li><li id="rds_sqlserver_0025__en-us_topic_0192953725_li199477989523">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="rds_sqlserver_0025__en-us_topic_0192953725_section3199593620428"><a name="rds_sqlserver_0025__en-us_topic_0192953725_section3199593620428"></a><a name="en-us_topic_0192953725_section3199593620428"></a><h4 class="sectiontitle">Binding an EIP</h4><ol id="rds_sqlserver_0025__en-us_topic_0192953725_ol12603704105129"><li id="rds_sqlserver_0025__li17616348171"><span>Log in to the management console.</span></li><li id="rds_sqlserver_0025__li146168481712"><span>Click <span><img id="rds_sqlserver_0025__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_sqlserver_0025__li96167481711"><span>Click <strong id="rds_sqlserver_0025__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_sqlserver_0025__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_sqlserver_0025__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li46324476105129"><span>On the <strong id="rds_sqlserver_0025__rds_public_accessibility_b13522858144717">Instances</strong> page, click the target DB instance.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li2615556191414"><span>In the navigation pane on the left, choose <strong id="rds_sqlserver_0025__rds_public_accessibility_b2461106144720">Connectivity &amp; Security</strong>. In the <strong id="rds_sqlserver_0025__rds_public_accessibility_b638855619449">Connection Information</strong> area, click <strong id="rds_sqlserver_0025__rds_public_accessibility_b539010565446">Bind</strong> next to the <strong id="rds_sqlserver_0025__rds_public_accessibility_b8857142312498">EIP</strong> field.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li9149507101814"><span>In the displayed dialog box, all unbound EIPs are listed. Select the <span id="rds_sqlserver_0025__rds_public_accessibility_text11129818443">EIP</span> to be bound and click <strong id="rds_sqlserver_0025__rds_public_accessibility_b842352706204348">OK</strong>. If no available <span id="rds_sqlserver_0025__rds_public_accessibility_text394712634415">EIP</span>s are displayed, click <span class="uicontrol" id="rds_sqlserver_0025__rds_public_accessibility_uicontrol722893519818"><b>View <span id="rds_sqlserver_0025__rds_public_accessibility_text622833510812">EIP</span></b></span> to obtain an EIP.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li168881801024"><span>On the <strong id="rds_sqlserver_0025__rds_public_accessibility_b3349162191910">Connectivity &amp; Security</strong> page, check the <span id="rds_sqlserver_0025__rds_public_accessibility_text15816134134410">EIP</span> that has been bound to the DB instance.</span><p><p id="rds_sqlserver_0025__en-us_topic_0192953725_p461516575617">You can also view the progress and result of binding an EIP to a DB instance on the <strong id="rds_sqlserver_0025__en-us_topic_0192953725_b842352706112444_1">Task Center</strong> page.</p>
<p id="rds_sqlserver_0025__en-us_topic_0192953725_p56152571362">To unbind the EIP from the DB instance, see <a href="#rds_sqlserver_0025__en-us_topic_0192953725_section186511510267">Unbinding an EIP</a>.</p>
</p></li></ol>
</div>
<div class="section" id="rds_sqlserver_0025__en-us_topic_0192953725_section186511510267"><a name="rds_sqlserver_0025__en-us_topic_0192953725_section186511510267"></a><a name="en-us_topic_0192953725_section186511510267"></a><h4 class="sectiontitle">Unbinding an EIP</h4><ol id="rds_sqlserver_0025__en-us_topic_0192953725_ol31276680102616"><li id="rds_sqlserver_0025__li8704620112614"><span>Log in to the management console.</span></li><li id="rds_sqlserver_0025__li10704120112615"><span>Click <span><img id="rds_sqlserver_0025__rds_modify_instance_name_en-us_topic_0192953815_image192529212293_1" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_sqlserver_0025__li070552019267"><span>Click <strong id="rds_sqlserver_0025__rds_modify_instance_name_b171171523153019_1">Service List</strong>. Under <strong id="rds_sqlserver_0025__rds_modify_instance_name_b111722319302_1">Database</strong>, click <strong id="rds_sqlserver_0025__rds_modify_instance_name_b15118152363010_1">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li35235350102616"><span>On the <strong id="rds_sqlserver_0025__rds_public_accessibility_b133221644716">Instances</strong> page, click the DB instance that has an EIP bound.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li544111538106"><span>In the navigation pane on the left, choose <strong id="rds_sqlserver_0025__rds_public_accessibility_b8442165361015">Connectivity &amp; Security</strong>. In the <strong id="rds_sqlserver_0025__rds_public_accessibility_b10442165312109">Connection Information</strong> area, click <strong id="rds_sqlserver_0025__rds_public_accessibility_b1643781819365">Unbind</strong> next to the <strong id="rds_sqlserver_0025__rds_public_accessibility_b1644215315103">EIP</strong> field.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li1822313412"><span>In the displayed dialog box, click <strong id="rds_sqlserver_0025__rds_public_accessibility_b14720194523719">OK</strong>.</span></li><li id="rds_sqlserver_0025__rds_public_accessibility_li1757318114432"><span>On the <strong id="rds_sqlserver_0025__rds_public_accessibility_b498604516388">Connectivity &amp; Security</strong> page, check the results.</span><p><p id="rds_sqlserver_0025__en-us_topic_0192953725_p45731510439">You can also view the progress and result of unbinding an EIP from a DB instance on the <strong id="rds_sqlserver_0025__en-us_topic_0192953725_b842352706112444_3">Task Center</strong> page.</p>
<p id="rds_sqlserver_0025__en-us_topic_0192953725_p165736134317">To bind an EIP to the DB instance again, see <a href="#rds_sqlserver_0025__en-us_topic_0192953725_section3199593620428">Binding an EIP</a>.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_sqlserver_05_0005.html">Connection Management</a></div>
</div>
</div>