This topic describes how to create a database gateway on the DMS console.
Procedure
Log in to DMS 5.0.
-
In the top navigation bar, choose .
NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner and choose . -
On the gateway list page, click Create Gateway.
-
In the dialog box, enter the gateway name and description, and then click Next step.
-
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.
-
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.
NoteIf you need to modify existing database information, do so on the Database Information page.
-