All Products
Search
Document Center

ApsaraDB for MyBase:Use a webshell to connect to a host

Last Updated:Jul 14, 2023

A webshell is a code execution environment in the form of a web page. A webshell can be used to perform operations such as server and permission management. You can use a webshell to manage websites and servers in a simple and convenient manner. In ApsaraDB for MyBase, you can use a webshell to log on to a host in a quick manner and manage the host. This topic describes how to use a webshell to connect to a host in an ApsaraDB for MyBase dedicated cluster.

Prerequisites

  • The Grant OS Permissions parameter is set to Enabled when you create your ApsaraDB for MyBase dedicated cluster. For more information, see Create a dedicated cluster.

  • The MySQL, PostgreSQL, or SQL Server database engine is used in your ApsaraDB for MyBase dedicated cluster.

  • If you want to connect to a host that is created in an ApsaraDB MyBase for SQL Server dedicated cluster, make sure that an account is created for the host. For more information, see Create a host account.

Procedure

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. Find the dedicated cluster that you want to manage and click Details in the Actions column.

  4. In the left-side navigation pane of the details page, click Hosts. On the page that appears, use one of the following methods to connect to the host:

      1. Find the host to which you want to connect, click More in the Actions column, and then click Remote connection. Connect to the host

      2. In the message that appears, click OK.

      3. Find the host to which you want to connect and click Details in the Actions column.

      4. On the Host Information tab, click Remote Connection. Connect to the host

  5. Check whether you are logged on to the host.

    • The following figure shows that you are logged on to a host that uses the AliLinux image type in an ApsaraDB MyBase for MySQL or ApsaraDB MyBase for PostgreSQL dedicated cluster.s

    • The following figure shows that you are logged on to a host that uses the Windows image type in an ApsaraDB MyBase for SQL Server dedicated cluster.windows

    Note

    The system automatically connects to the host from the server. You do not need to enter the username or password of your account.