All Products
Search
Document Center

Data Management:Prerequisites

Last Updated:Jun 10, 2026

Before you start the DMS getting started tutorial, register two ApsaraDB RDS for MySQL instances to simulate development and production environments, and prepare a DMS administrator account and a regular user account.

Before you begin

  • Create two ApsaraDB RDS for MySQL instances. For more information, see Create an ApsaraDB RDS for MySQL instance.

    Note

    This tutorial uses two instances: POC_dev for development and POC_prod for production.

  • Create a database named poc_dev in the POC_dev instance and a database named poc_prod in the POC_prod instance. Create databases and accounts.

  • Have a DMS administrator account ready.

    Note

    Administrators handle system management, permission control, development rules, and process approval. If you sign in to and activate DMS for the first time, DMS sets your Alibaba Cloud account as the administrator.

  • Optional: Have a regular user account for DMS ready. For more information, see Add a user.

    Note

    Regular users can apply for database permissions and query or change data and schemas. This role covers developers, testers, product managers, operations engineers, and data analysts.

Procedure

  1. Log in to the DMS console with an administrator account.

  2. Create two MySQL security rules (default configuration auto-assigned) named POC_development_database_rule and POC_production_database_rule. Add a security rule .

    Note

    Security rules use a DSL to provide fine-grained control over development standards, access control, and data changes for database instances.

  3. Add the POC_dev and POC_prod instances. Add an ApsaraDB instance.

    Note

    Set the control mode of the POC_dev instance to Security Collaboration, the security rule to POC development database rules, and the environment type to Development. Set the control mode of the POC_prod instance to Security Collaboration, the security rule to POC production database rules, and the environment type to Production. To modify settings for existing instances, Apply security rules.

    • The Security Collaboration mode is the highest DMS service tier, providing all features including custom development standards, fine-grained permission control, and reliable data changes.

    • This operation incurs a fee (pay-as-you-go or subscription). Product pricing.

  4. Grant regular users the Query and Change permissions on the poc_dev and poc_prod databases. Manage access control permissions or .