doc-exports/docs/opengauss/umn/opengauss_01_0015.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

54 lines
5.9 KiB
HTML

<a name="opengauss_01_0015"></a><a name="opengauss_01_0015"></a>
<h1 class="topictitle1">Connecting to a DB Instance</h1>
<div id="body8662426"><p id="opengauss_01_0015__a1e9283d9edb54e0494ab344ca8c244e6"><span id="opengauss_01_0015__text850714419551">GaussDB(openGauss)</span> DB instances can be connected over a private network, a public network, or <span class="keyword" id="opengauss_01_0015__keyword12750491093">Data Admin Service (DAS)</span>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="opengauss_01_0015__ta7eb11408280484681845d2015a75b50" frame="border" border="1" rules="all"><caption><b>Table 1 </b><span id="opengauss_01_0015__text14742124011166">GaussDB(openGauss)</span> DB instance connection modes</caption><thead align="left"><tr id="opengauss_01_0015__r25338ee51ed1427884c6c0429a7bfaff"><th align="left" class="cellrowborder" valign="top" width="11.68%" id="mcps1.3.2.2.5.1.1"><p id="opengauss_01_0015__a2570282a71894f79b8a2db9078284136"><strong id="opengauss_01_0015__aebea453752bb4c9a9d0616c1012b7d2b">Connect Through</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.389999999999999%" id="mcps1.3.2.2.5.1.2"><p id="opengauss_01_0015__a9fae81fd11014093aeed5ea6e72c7c17"><strong id="opengauss_01_0015__ac28a874e57294ffe93356af09e58a4ae">IP Address</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.93%" id="mcps1.3.2.2.5.1.3"><p id="opengauss_01_0015__a78443696ef7844418b4a0c3ebbff7bfc"><strong id="opengauss_01_0015__a865e815ba9a94f6ba96b36e69ea0190c">Scenarios</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.5.1.4"><p id="opengauss_01_0015__aa3b68f06f4ce498d9988ebb3c9f4636d"><strong id="opengauss_01_0015__a5fd591db1b514795af486ae04993a2d4">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="opengauss_01_0015__r4dbc52711de040b9bc772f4d423705db"><td class="cellrowborder" valign="top" width="11.68%" headers="mcps1.3.2.2.5.1.1 "><p id="opengauss_01_0015__p7223161412318">DAS</p>
</td>
<td class="cellrowborder" valign="top" width="13.389999999999999%" headers="mcps1.3.2.2.5.1.2 "><p id="opengauss_01_0015__ab30979c865c04e1fb6fe4f47051b2be9">Not required</p>
</td>
<td class="cellrowborder" valign="top" width="49.93%" headers="mcps1.3.2.2.5.1.3 "><p id="opengauss_01_0015__a04a7d24926024dab8e13aadc47d6bd36">DAS enables you to manage databases on a web-based console. It supports SQL execution, advanced database management, and intelligent O&amp;M, simplifying database management and improving both efficiency and data security. The permissions required for connecting to a <span id="opengauss_01_0015__text84101961556">GaussDB(openGauss)</span> DB instance through DAS are enabled by default.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.4 "><ul id="opengauss_01_0015__u90adb26fe60949a0b275b488477c734e"><li id="opengauss_01_0015__l15dca3d76009402fb71740265ad953a8">Easy to use, secure, advanced, and intelligent</li><li id="opengauss_01_0015__lc38e4c0137534fafab1aa5443b927489">Recommended</li></ul>
</td>
</tr>
<tr id="opengauss_01_0015__rfee29f60833b48c1ad5268459ce28618"><td class="cellrowborder" valign="top" width="11.68%" headers="mcps1.3.2.2.5.1.1 "><p id="opengauss_01_0015__p158481441143220">Private network</p>
</td>
<td class="cellrowborder" valign="top" width="13.389999999999999%" headers="mcps1.3.2.2.5.1.2 "><p id="opengauss_01_0015__a3dc46a1e96bd4a1dbdaff092e11a1b77">Private IP address</p>
</td>
<td class="cellrowborder" valign="top" width="49.93%" headers="mcps1.3.2.2.5.1.3 "><p id="opengauss_01_0015__a6128282401ed499aa8cfef30270fd717">A private IP address is provided by default.</p>
<p id="opengauss_01_0015__aa3d2623b33674135a38db9c0f5a8a8bf">When your applications are deployed on an ECS that is in the same region and VPC as your <span id="opengauss_01_0015__text1498972291">GaussDB(openGauss)</span> DB instance, you are advised to connect the ECS to the DB instance over a private IP address.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.4 "><ul id="opengauss_01_0015__u6f54707dd62c4615ae14a7f6ab4039fa"><li id="opengauss_01_0015__l5d086968eeb7478ca33ff6458ec008c0">Secure and excellent performance</li><li id="opengauss_01_0015__laa750b2f58ef4814a924de717efd8e85">If DAS is not used, you are advised to use the private network connection.</li></ul>
</td>
</tr>
<tr id="opengauss_01_0015__r89cbc685b6b043d88a1f7b303918a6a6"><td class="cellrowborder" valign="top" width="11.68%" headers="mcps1.3.2.2.5.1.1 "><p id="opengauss_01_0015__p399344519326">Public network</p>
</td>
<td class="cellrowborder" valign="top" width="13.389999999999999%" headers="mcps1.3.2.2.5.1.2 "><p id="opengauss_01_0015__a249ce6e3585746e7ae2ef324ac7692c5">EIP</p>
</td>
<td class="cellrowborder" valign="top" width="49.93%" headers="mcps1.3.2.2.5.1.3 "><p id="opengauss_01_0015__a5709bcfb6129403890206d7af41377b3">If you cannot access a <span id="opengauss_01_0015__text114981705490">GaussDB(openGauss)</span> DB instance over a private IP address, bind an EIP to the DB instance and connect it to the ECS over the EIP.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.4 "><ul id="opengauss_01_0015__u10786f178f8e477b9b495cf11112c276"><li id="opengauss_01_0015__l8d3c7c22767342ca82d8a838d4f231b1">A relatively lower level of security compared to other connection methods.</li><li id="opengauss_01_0015__lbfb80d1145bb4aa786e3e409b8d33b56">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 subnet as your <span id="opengauss_01_0015__text09532344911">GaussDB(openGauss)</span> DB instance and use a private IP address to access the DB instance.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="opengauss_01_0014.html">Getting Started with GaussDB(openGauss)</a></div>
</div>
</div>