To demonstrate solutions, you must register ApsaraDB RDS for MySQL instances that simulate development and production environments with Data Management (DMS). You must also create a DMS administrator account and a regular user account.
Two ApsaraDB RDS for MySQL instances are created. For more information, see Create an ApsaraDB RDS for MySQL instance.Note
The ApsaraDB RDS for MySQL instance that simulates the development environment is named
POC_dev, and the ApsaraDB RDS for MySQL instance that simulates the production environment is named
A database named
poc_devis created in the
POC_devinstance, and a database named
poc_prodis created in the
POC_prodinstance. For more information, see Create databases and accounts for an ApsaraDB RDS for MySQL instance.
A DMS administrator account is created.Note
DMS administrators can manage the system, manage permissions, configure development standards, and approve processes. If you are a first-time user of DMS, DMS uses your Alibaba Cloud account as the DMS administrator account.
Optional. A regular user account is created. For more information, see Add a user.Note
Regular users can apply for permissions on databases and query or update schemas. Regular users can be the employees of enterprises, such as R&D staff, testers, product staff, operations staff, and data analysts.
Log on to the DMS console V5.0 as a DMS administrator.
Create two security rule sets named
Security Rules for POC Development Databasesand
Security Rules for POC Production Databases, and set the Engine Type parameter to mysql for the rule sets. DMS applies default settings to security rules in the rule sets. For more information, see Create security rules.Note
Security rules use a domain-specific language (DSL) to implement fine-grained control over databases. You can use security rules to manage the development standards, permissions, and data changes of instances.
POC_prodinstances with DMS. For more information, see Register an ApsaraDB instance.Note
POC_devinstance, select Security Collaboration as the control mode,
Devas the environment type and
Security Rules for POC Development Databasesas the security rule set. For the
POC_prodinstance, select Security Collaboration as the control mode,
Productas the environment type and
Security Rules for POC Production Databasesas the security rule set. If your instances are registered with DMS, you can change the control mode and security rule sets of the instances. For more information, see Apply security rules.
Security Collaboration is the most secure control mode provided by DMS and gives you access to all DMS features, such as customization of development standards, fine-grained permission control, and secure and stable data change.
The ApsaraDB RDS for MySQL instances in Security Collaboration mode are billed on a pay-as-you-go or subscription basis. For more information, see Pricing.
Grant the regular user the permissions to query and change data in the
poc_proddatabases. For more information, see Manage permissions.