Introduction to the Enterprise Mode
DataArts Studio provides two workspace modes, the simplified mode and enterprise mode, to help you manage your production data with varied security control requirements. This section describes the differences between the two modes from multiple dimensions, such as the physical form and impact on development.
Currently, only Management Center and DataArts Factory support the enterprise mode.
In simple mode, you need to create two workspaces, one for the development environment and the other for the production environment. In this way, you can isolate the development and production environment. You can export scripts or jobs from the development workspace and import them to the production workspace. In this mode, you cannot synchronize the production and development environment easily as there is no approval for the synchronization. To address these issues, you can use a workspace in enterprise mode to isolate the development and production environment. The one-click release and approval process improves your efficiency in task release.
You are advised to upgrade to the enterprise mode for your workspace to better manage the development process. For details, see Creating a Workspace in Enterprise Mode.
Background
This section contains the following parts which resolve the problems you may encounter when using the enterprise mode.
Category |
Description |
---|---|
Introduction to the two workspace modes |
|
Comparison of Workspaces Using Different Modes in Production Task Development and O&M |
Introduction to the task development and O&M mechanisms built based on the physical attributes of DataArts Studio workspaces |
Comparison of the advantages and disadvantages of the workspace modes |
|
Process of Using DataArts Studio in Different Workspace Modes |
Process control of the workspace in enterprise mode |
Operations Allowed by DataArts Studio Modules in Different Workspace Modes |
In the simple mode, only the production environment is available. In the enterprise mode, the development environment and production environment are available. This part describes the mapping between environments and DataArts Studio modules. |
Important Notes
- Different workspace modes have certain requirements on the data lake engine. To isolate the development environment from the production environment of a workspace that uses the enterprise mode, you must configure a data lake engine for both environments. You can configure isolation between the development and production environments using any of the methods shown in the following figure.
Figure 1 Configuring isolation between the development and production environments
- Configure two sets of data lake services to isolate the development environment from the production environment.
For clustered data sources, such as MRS, GaussDB(DWS), RDS, MySQL, Oracle, DIS, and ECS, you can create data connections in Management Center to distinguish data lake services in the development environment from those in the production environment. The data lake is automatically switched during development and production. Therefore, you need to prepare two sets of data lake services that have the same version, specifications, components, region, VPC, subnet, and other related configurations. For details, see Creating a DataArts Studio Data Connection.
When creating a data connection, you can select different clusters for the development environment and production environment to isolate them.
Figure 2 Selecting different clusters during data connection creation
- Configure environment isolation for DLI.
Configure environment isolation in enterprise mode, including DLI queue configuration and DB configuration.
For serverless services (such as DLI), you can configure the mapping between data lake services in the production environment and those in the development environment through environment isolation in Management Center. The data lake is automatically switched during development and production. Therefore, you need to prepare two sets of queues and database resources in the serverless data lake service and distinguish them by name suffix. For details, see Configuring Environment Isolation for a DataArts Studio Workspace in Enterprise Mode.
- Configure two databases in the same data lake service to isolate the development environment from the production environment.
For GaussDB(DWS), MRS Hive, and MRS Spark, if you select the same cluster when creating a data connection (as shown in Figure 3), you must configure database mapping on the Configure Data Source Resource Mapping page shown in Figure 4 to isolate the development and production environments. For details, see DB configuration.
- Configure two sets of data lake services to isolate the development environment from the production environment.
- Data development jobs in the development environment of a workspace that uses the enterprise mode are not scheduled by default. They can be scheduled only after released to the production environment.
Introduction to the Simple Mode and Enterprise Mode
Typically, DataArts Studio workspaces use the simple mode. In this mode, you cannot isolate the development and production environment in the DataArts Factory and Management Center modules of DataArts Studio, or control the data development process or table permissions. Instead, you can only perform simple data development operations. A data lake functions as the production environment of DataArts Studio.
- The development environment is accessible only to developers for script and job development and release of scripts and jobs to the production environment.
- The production environment is accessible only to end users and allows no change. Any change that is required must be made in the development environment and released to the production environment again.
- You can create a workspace in either mode to experience DataArts Studio. With a workspace in enterprise mode, you can isolate the code, compute resources, and permissions of the development environment from those of the production environment, and manage the task release process.
- If you are using a workspace in simple mode and want to experience the enterprise mode while retaining the code of the workspace, you can upgrade the workspace. For details, see Creating a Workspace in Enterprise Mode.
Comparison of Workspaces Using Different Modes in Production Task Development and O&M
Comparison Item |
Simple Mode |
Enterprise Mode (Recommended) |
---|---|---|
Management of the production task development process |
After a task is submitted, it can be periodically executed to generate result data without being released. The process is submission and then production. |
The process is submission, release, and then production.
|
Management of the production task O&M permissions |
Developers can directly edit scripts and jobs of production tasks. |
Developers can edit and submit code on the DataArts Factory console, but cannot directly release code to the production environment. To release code to the production environment, developers must have the O&M permission. (The deployer, admin, and operator have this permission).
|
Management of production data permissions |
Developers can directly use production data for tests, posing security threats to production data. |
Developers can use test data in the development environment. Data in the production environment is read-only. |
Advantages and Disadvantages of Workspace Modes
Comparison Item |
Simple Mode |
Enterprise Mode |
---|---|---|
Advantages |
Simple, convenient, and easy to use
|
Secure and normalized
|
Disadvantages |
Unstable and insecure
|
The process is relatively complex. Generally, one person cannot complete all data development and production tasks. |
Process of Using DataArts Studio in Different Workspace Modes
- In the simple mode, you cannot isolate the development and production environment in the DataArts Factory and Management Center modules of DataArts Studio, or control the data development process or table permissions. Instead, you can only perform simple data development operations. After submitting a script or job, you do not need to release it. The script or job can be periodically executed to generate result data.
Figure 7 Process in simple mode
- In the enterprise mode, you can isolate the development environment from the production environment in the DataArts Factory and Management Center modules of DataArts Studio. This prevents developers' operations from affecting services in the production environment. The development environment is accessible only to developers for script and job development and release of scripts and jobs to the production environment. The production environment is accessible only to end users and allows no change. Any change that is required must be made in the development environment and released to the production environment again.
Figure 8 Process in enterprise mode
Operations Allowed by DataArts Studio Modules in Different Workspace Modes
DataArts Studio Module |
Simple Mode |
Enterprise Mode |
---|---|---|
Management Center |
Perform operations in the production environment (data connection operations and data import and export). |
Perform operations in the development and production environments (data source resource mapping configuration, data connection operations, and data import and export) |
DataArts Factory |
Perform operations on instances and databases in the production environment. |
Perform operations on instances and databases in the development and production environments. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot