Connect an Alibaba Cloud database to DAS

更新时间:
复制 MD 格式

This topic describes how to connect an Alibaba Cloud database instance to Database Autonomy Service (DAS).

Prerequisites

  • The database instance must be one of the following types:

    • ApsaraDB RDS for MySQL, PolarDB for MySQL, or ApsaraDB MyBase for MySQL

    • ApsaraDB RDS for PostgreSQL or PolarDB for PostgreSQL

    • ApsaraDB RDS for SQL Server or ApsaraDB MyBase for SQL Server

    • ApsaraDB for Redis or ApsaraDB MyBase for Redis

    • PolarDB for PostgreSQL (Compatible with Oracle)

    • PolarDB-X 2.0

    • ApsaraDB for MongoDB

  • The target database instance and DAS must be in the same Alibaba Cloud account.

Procedure

Note

DAS automatically connects to Alibaba Cloud database instances upon creation. If this automatic connection fails, you can connect your instance to DAS manually.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, choose Intelligent O&M Center > Instance Monitoring.

  3. In the upper-right corner of the page, click Access Instance.

  4. Click Alibaba Cloud Database.

  5. Filter the database instances that you want to connect using the parameters in the following table. Select the target database instance and click Access instance.

    Parameter

    Description

    Select Engine:

    Select your database engine type.

    Access Status:

    Select the access status of the database instance.

    Region

    Select the instance's region.

    Instance ID/Name

    Select the target instance.

  6. Click Add More to connect another database instance, or click Complete to finish.

API reference

API

Description

AddHDMInstance

Connects a database instance to DAS.