All Products
Search
Document Center

Change the environment type of an instance

Last Updated: May 29, 2020

This topic describes the environment types supported by Data Management Service (DMS) and how to change the environment type of an instance.

Important notes

  • We recommend that you select the environment type of an instance based on the actual environment of the database registered as the instance.
  • In security rules, an instance in the Security Collaboration mode requires no approval and less control in the test environment by default. However, the instance requires strict control in the production environment by default. For more information about how to set the control mode, see Change or set the control mode.

Supported environment types

Currently, DMS supports eight types of environments that are divided into two categories: offline and online. The following table lists the environment types. You can change the environment type of an instance as needed. For more information, see the Procedure section.

Category Environment type Display name
Offline Development dev
Test test
SIT sit
UAT uat
Stress testing pet
STAG stag
Online Production product
Staging pre

In the domain specific language (DSL) syntax, the display name of the environment type is used as the value of the @fac.env_type factor. For example, @fac.env_type in ['product','pre'] indicates the production environment and the staging environment. For more information about the DSL syntax, see DSL syntax for security rules.

Procedure

In the DMS console, you can change the environment type of an instance in one of the following ways:

  • Change the environment type of an instance on the Instance page.
  1. Log on to the DMS console.
  2. In the top navigation bar, choose System Management > Instance.
  3. On the Instance List tab of the Instance page, find the target instance and choose More > Edit instance in the Actions column.
    Edit instance
  4. In the Edit instance dialog box that appears, click Advanced information.
  5. Select an environment type from the Environment type drop-down list as needed.
    Change the environment type
  6. Click Submit.
  • Change the environment type of an instance in the left-side navigation pane.
  1. Log on to the DMS console.
  2. In the left-side navigation pane, right-click the target instance.
  3. From the menu that appears, select Edit instance.
    3
  4. In the Edit instance dialog box that appears, click Advanced information.
  5. Select an environment type from the Environment type drop-down list as needed.
    Change the environment type
  6. Click Submit.