doc-exports/docs/gaussdb_mysql/umn/quick_start.html
Wang , Deng Ke a3ce99ce37 gaussdb UMN Initial 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-12-02 11:14:54 +00:00

47 lines
4.2 KiB
HTML

<a name="quick_start"></a><a name="quick_start"></a>
<h1 class="topictitle1">Connecting to a DB Instance</h1>
<div id="body1576663241759"><p id="quick_start__p146911530201417">You can connect a DB instance over a private or a public network.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="quick_start__table34881931174318" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Connection methods</caption><thead align="left"><tr id="quick_start__row248916316436"><th align="left" class="cellrowborder" valign="top" width="11.68%" id="mcps1.3.2.2.5.1.1"><p id="quick_start__p94898312434">Connect Through</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.44%" id="mcps1.3.2.2.5.1.2"><p id="quick_start__p10489131104311">Connection Address</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="47.29%" id="mcps1.3.2.2.5.1.3"><p id="quick_start__p5489103154315">Scenarios</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.589999999999996%" id="mcps1.3.2.2.5.1.4"><p id="quick_start__p98541156195517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="quick_start__row248973134318"><td class="cellrowborder" valign="top" width="11.68%" headers="mcps1.3.2.2.5.1.1 "><p id="quick_start__p48571255124517">Private network</p>
</td>
<td class="cellrowborder" valign="top" width="13.44%" headers="mcps1.3.2.2.5.1.2 "><p id="quick_start__p15489153115438">Private IP address</p>
</td>
<td class="cellrowborder" valign="top" width="47.29%" headers="mcps1.3.2.2.5.1.3 "><p id="quick_start__p7735048144619">The system provides a private IP address by default. </p>
<p id="quick_start__p273517483465">When your applications are deployed on an ECS that is in the same region and VPC as the <span id="quick_start__text3219501664">GaussDB(for MySQL)</span> DB instance, you are advised to connect to the DB instance through the ECS over a private IP address.</p>
</td>
<td class="cellrowborder" valign="top" width="27.589999999999996%" headers="mcps1.3.2.2.5.1.4 "><ul id="quick_start__ul589414895513"><li id="quick_start__li20894386559">Secure and excellent performance</li><li id="quick_start__li889558165516">Recommended</li></ul>
</td>
</tr>
<tr id="quick_start__row871255113459"><td class="cellrowborder" valign="top" width="11.68%" headers="mcps1.3.2.2.5.1.1 "><p id="quick_start__p55021336184516">Public network</p>
</td>
<td class="cellrowborder" valign="top" width="13.44%" headers="mcps1.3.2.2.5.1.2 "><p id="quick_start__p3714351114515">EIP</p>
</td>
<td class="cellrowborder" valign="top" width="47.29%" headers="mcps1.3.2.2.5.1.3 "><p id="quick_start__p209631558165410">If you cannot access the <span id="quick_start__text6606185214611">GaussDB(for MySQL)</span> DB instance over a private IP address, bind an EIP to the DB instance and connect it to an ECS (or a public network host) over the EIP.</p>
</td>
<td class="cellrowborder" valign="top" width="27.589999999999996%" headers="mcps1.3.2.2.5.1.4 "><ul id="quick_start__ul58856110012"><li id="quick_start__li15886121406">A relatively Low lower level of security compared to the other two connection modes.</li><li id="quick_start__li9886319016">To achieve a higher data transmission rate and security level, you are advised to migrate your applications to an ECS that is in the same VPC as your <span id="quick_start__text1930811918713">GaussDB(for MySQL)</span> DB instance and use a private IP address to access the DB instance.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="quick_start__note1953500185719"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="quick_start__ul1055155143910"><li id="quick_start__li1557558399">VPC: indicates the Virtual Private Cloud.</li><li id="quick_start__li827532114010">ECS: indicates the Elastic Cloud Server.</li><li id="quick_start__li29741549114115">If the ECS is in the same VPC as the <span id="quick_start__text133930780">GaussDB(for MySQL)</span> DB instance, you do not need to apply for an EIP.</li></ul>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0000.html">Getting Started with GaussDB(for MySQL)</a></div>
</div>
</div>