Upgrade a workspace mode (from basic to standard)
You can upgrade a workspace from basic mode to standard mode to isolate your development and production environments.
Before you begin
Before you begin, understand the following:
Understand the differences between workspaces in basic and standard mode, including their physical architecture and development workflows. For more information, see Differences between workspace modes.
Know how to create data sources and attach them to Data Development. For more information, see Data Source Management and Prepare for data development: Attach a computing resource or cluster.
Limitations
Only an Alibaba Cloud account can be used to upgrade the workspace mode.
Before you upgrade, create a MaxCompute project for the development environment. The project must be available, must not already be bound to any workspace as a MaxCompute computing resource, and must use the same three-tier model as the production MaxCompute project. Use a separate development MaxCompute project for each MaxCompute computing resource. For MaxCompute, the upgrade creates only the development computing resource entry and its data source. DataWorks does not create a MaxCompute project.
Tables, resources, and functions in the production MaxCompute project are not automatically copied to the development environment. To use them in the development environment, migrate them after the upgrade by using MaxCompute Migration Service (MMS). For more information, see Migration Service (MMS) Overview.
How the upgrade works
After the upgrade, the platform creates a development environment based on the production configuration of the original basic-mode workspace, isolating the development and production environments. The following sections describe how computing resources and data sources are handled.
MaxCompute computing resources: Create a MaxCompute project for the development environment before the upgrade. In the upgrade drawer, select the project. DataWorks creates a development MaxCompute computing resource entry and its data source, and sets the Default Access Identity of the development data source to Executor.
NoteTables, resources, and functions in the production MaxCompute project are not automatically copied to the development environment. To use them in the development environment, migrate them after the upgrade by using MaxCompute MMS. For more information, see Migration Service (MMS) Overview.
You can also configure the following option during the upgrade:
Enable Revoke Data Access Permissions (disabled by default): DataWorks releases DataWorks role permissions from the production MaxCompute project. The affected users must request the permissions again. If you do not enable this option, DataWorks does not revoke these permissions.
Non-MaxCompute computing resources: The platform designates the existing environment as the production environment and automatically creates a development environment based on the production configuration.
Data sources: The platform designates the existing environments of all data sources as the production environment and automatically creates development data sources based on the production configuration.
The following example focuses on upgrading a MaxCompute workspace from basic mode to standard mode.

Category | Before upgrade | After upgrade |
Data source | One | A development data source is added, allowing the development and production environments to use separate data sources. Note
|
Procedure
To upgrade a workspace from basic mode to standard mode, use an Alibaba Cloud account and follow these steps.
This operation is irreversible. Proceed with caution.
-
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Management Center.
On the tab, click Upgrade to Standard Mode next to Mode.
In the Workspace Upgrade drawer, complete the following configuration.
Read the upgrade notice at the top to learn the estimated upgrade duration and the impact on task publishing in Data Studio.
In the Computing Resources section, select the development project that you created in MaxCompute Project for each MaxCompute computing resource. If needed, enable Revoke Data Access Permissions (disabled by default). The
odps:ListProjectspermission is required to select a project. If you do not have this permission, contact your administrator.No manual configuration is required in the Data Source section. The system automatically creates development data sources based on the production configuration.
Select Rollback is not supported after workspace upgrade, I confirm upgrading the workspace to standard mode and click Upgrade Now.
In the Workspace Upgrade Notice dialog box, review the estimated upgrade duration, MaxCompute data permission changes, and the rollback restriction. Click OK to start the upgrade.
After the upgrade enters the Upgrading step, view the status of each computing resource in the MaxCompute Compute Resource Upgrade Result table. In the Node Execution Result section, you can view the status and failure reason of each process node.
If a computing resource fails to upgrade, click the status icon in its row to view the upgrade details. To reopen the drawer and check the upgrade progress and results, return to the basic attributes page and click View Upgrade Process.
After the upgrade succeeds, click Close to exit the drawer.
Impact on MaxCompute
The following sections describe how the upgrade affects MaxCompute, including the upgrade process and an example. For more details, see Data access and permissions in MaxCompute for workspaces in different modes.
Upgrade process
After the workspace is upgraded from basic mode to standard mode, DataWorks creates a development MaxCompute computing resource based on the project and permission settings that you select in the upgrade drawer. The upgrade process is as follows.
Creates a development MaxCompute computing resource: DataWorks creates a MaxCompute computing resource entry and its development data source based on the development project that you select in the upgrade drawer.
NoteTables, resources, and functions are not automatically created in the development MaxCompute project. To migrate them from the production environment, use Migration Service (MMS) Overview.
(Optional) Revokes permissions from the production MaxCompute project: If you enable Revoke Data Access Permissions in the upgrade drawer, DataWorks releases DataWorks role permissions from the production MaxCompute project. The affected users must request production permissions again. If you do not enable this option, DataWorks does not revoke these permissions.
Example scenario
For example, a company has a basic-mode workspace named A in DataWorks, and its MaxCompute project is also named A. Before the upgrade, the user creates a development MaxCompute project named A_dev. After clicking Upgrade to Standard Mode, the user selects A_dev in the upgrade drawer.
DataWorks upgrades workspace A to standard mode and creates a development MaxCompute computing resource entry and its data source based on A_dev.
Tables, resources, and functions in project A are not automatically copied to A_dev. To use them in the development environment, migrate them by using MaxCompute MMS.
If Revoke Data Access Permissions is enabled, DataWorks releases DataWorks role permissions from production project A, and the affected users must request production permissions again. If this option is disabled, DataWorks does not revoke these permissions.
DataStudio (Data Development) uses A_dev as the default MaxCompute project. To query data in production project A, use the ProjectName.TableName format. Code in Data Development must be published to the production environment through the task publishing process.
In this example, A_dev is a MaxCompute project created by the user in advance, not a new DataWorks workspace. You can select a development project name based on your business requirements. The _dev suffix is optional.
Behavior changes
The following table describes the main behavior of RAM users after a basic-mode workspace is upgraded to standard mode. Assume that a MaxCompute computing resource is attached and the workspace is operated by an Alibaba Cloud account. Statements about production permission revocation apply only when Revoke Data Access Permissions is enabled. Access to development resources also requires the corresponding permissions.
Scenario | Basic mode workspace | Standard mode workspace |
Operate on resources (table/resource/function) | Direct operations are successful. Note In basic mode, the Alibaba Cloud account's permissions are used to execute tasks. Even when a RAM user performs an operation, the RAM user effectively has the same permissions as the Alibaba Cloud account. Because these permissions are unrestricted, RAM users can directly operate on production data, making access control impossible. |
|
Accessing environments and accounts | Basic mode has only a production environment. All commands operate directly on production data.
|
|
Accessing resources in the corresponding environment | projectname.tablename/resource/function |
|