All Products
Search
Document Center

Data Management:Create a database gateway

Last Updated:Aug 27, 2026

This topic describes how to create a database gateway on the DMS console.

Procedure

  1. Log in to DMS 5.0.

  2. In the top navigation bar, choose Solution > Database Gateway.

    Note

    If you use the DMS console in simple mode, move the pointer over the 2023-01-28_15-57-17.png icon in the upper-left corner and choose All Features > Solution > Database Gateway.

  3. On the gateway list page, click Create Gateway.

  4. In the dialog box, enter the gateway name and description, and then click Next step.

  5. Install the gateway.

    You can select an installation package based on your operating system. For Windows, click Download installation package. For other operating systems, copy the command line, paste it into the terminal on the host machine, and press Enter to run it. If the local gateway starts successfully, the system automatically redirects you to the page for adding a database. You can also manually click Next step.

    If you need to connect through an Alibaba Cloud Virtual Private Cloud (VPC) internal endpoint, such as for a self-managed database on ECS, Express Connect, Cloud Enterprise Network, or VPN Gateway, select the Connect through Alibaba Cloud VPC internal endpoint option.

  6. Add a database. You can add multiple databases to a single gateway.

    You can add a database in one of the following two ways:

    • Add a database while creating the gateway.

    • Add a database on the database information page.

      Configure the following parameters when adding a database:

      Parameter

      Description

      database gateway

      Select the target database gateway.

      Database type

      Select the target database type.

      host

      The database's internal endpoint, which must be accessible from the gateway's host machine.

      port

      The database's connection port.

      description

      A brief description of the database.

      Note

      If you need to modify existing database information, do so on the Database Information page.