All Products
Search
Document Center

DataWorks:Cross-workspace deployment

Last Updated:Mar 26, 2026

DataWorks cross-workspace deployment moves objects—nodes, functions, resources, and components—from one basic-mode workspace to another within the same Alibaba Cloud account and region. Use this workflow to isolate development and production environments across basic-mode workspaces. For background, see Achieve environment isolation in basic mode.

Important

Before proceeding, read Deployment logic to understand the mapping relationships between source and destination workspaces. This ensures tasks run correctly after deployment.

Limitations

Supported workspace combinations

Cross-workspace deployment supports basic-mode source workspaces only. Standard-mode source workspaces are not supported. The following table shows supported source-to-destination combinations.

Source workspaceDestination workspaceSupported
Basic mode + DataStudio (new version)Basic mode + DataStudio (new version)Yes
Basic mode + DataStudio (new version)Basic mode + DataStudio (old version)No
Basic mode + DataStudio (new version)Standard mode + DataStudio (new version)Yes
Basic mode + DataStudio (new version)Standard mode + DataStudio (old version)No
Basic mode + DataStudio (legacy version)Basic mode + DataStudio (old version)Yes
Basic mode + DataStudio (legacy version)Standard mode + DataStudio (old version)Yes
Basic mode + DataStudio (legacy version)Basic mode + DataStudio (new version)No
Basic mode + DataStudio (legacy version)Standard mode + DataStudio (new version)No

Scope

Cross-workspace deployment is limited to workspaces within the same Alibaba Cloud account and region. Cross-region deployment is not supported. For cross-region scenarios, use Deploy Center.

Permissions summary

OperationRequired role
Create a deployment environmentWorkspace Administrator
Deploy tasks to the source workspace production environmentO&M, Deploy, or Workspace Administrator
Create a deployment packageDevelopment
Deploy a packageO&M, Deploy, or Workspace Administrator (in both source and destination workspaces)

For instructions on adding members and granting roles, see Manage permissions on workspace-level services.

Deployment process

All cross-workspace deployment operations are performed in the source workspace.

image

Step 1: Create a deployment environment

A deployment environment maps the source workspace's engine instances, resource groups, and dependencies to their counterparts in the destination workspace. After this mapping is configured, the system applies it automatically during each deployment—no manual reconfiguration needed.

Note

Only Workspace Administrator role members can create and configure deployment environments.

Go to Deploy Center

  1. Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose More > Management Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Management Center.

  2. In the upper-left corner of the page, click the image icon and choose All Products > More > Deploy Center.

Configure the deployment environment

  1. On the Deploy Center page, click Deployment Environment Management in the left-side navigation pane.

  2. Click Create Deployment Environment and fill in the configuration sections below.

Basic information

ParameterDescription
Environment nameName for the deployment environment.
Deployment typeSelect Cross-workspace deployment.
Destination workspaceSelect the destination workspace.
Deployment object ownerDetermines the node owner in the destination workspace after deployment. See the options below.

Deployment object owner options:

  • Default: DataWorks assigns the source node owner. If that user is not a member of the destination workspace, the deployment executor is assigned instead.

  • Deployment package creator: Assigns the user who created the deployment package.

  • Deployment package executor: Assigns the user who executed the deployment.

Computing resource mappings

Configure mappings between source and destination computing resources. The system deploys nodes, resources, functions, and components to the mapped destination computing resource.

Note
  • At least one computing resource in the source workspace must be mapped to a computing resource in the destination workspace.

  • Decide whether to map each source computing resource based on your business requirements.

ParameterDescription
Computing resource in source workspaceAll computing resources bound to the source workspace.
Computing resource typeThe type of the source computing resource.
Computing resource in destination workspaceThe corresponding computing resource in the destination workspace. To check available computing resources, go to Deployment Environment Management in the destination workspace's Deploy Center and click View workspace environment information.
Ignore mappingWhen enabled, nodes, resources, functions, and components under that computing resource are excluded from the deployment package. Enable this for engine instances whose objects don't need to be deployed.

Resource group mappings

Configure mappings between source and destination resource groups. The system uses the mapped destination resource group to run tasks after deployment.

Note
  • Only mappings between resource groups of the same type are supported.

  • The Ignore mapping option is not available for default resource groups and shared resource groups.

  • For Data Integration resource groups, make sure the destination resource group's whitelist and network connectivity settings match those of the source. For details, see Overview of network connectivity solutions.

ParameterDescription
Resource group in source workspaceResource groups associated with the source workspace.
Resource group typeThe type of the source resource group.
Resource group in destination workspaceThe corresponding resource group in the destination workspace. To check details, go to Deployment Environment Management in Deploy Center and click View workspace environment information.
Ignore mappingWhen enabled, the source resource group is used to deploy tasks. If the source workspace has more resource groups than the destination, enable this for the extra ones.

Dependency mappings

This section lists the upstream projects for all cross-project dependencies in the source workspace. Map each source project to a destination project so the system rewires dependencies accordingly.

Note
ParameterDescription
Source project nameThe upstream projects for cross-project dependencies in the source workspace.
PropertyThe project category.
Destination project nameThe destination project to map to.
Ignore mappingWhen enabled, the system keeps the original dependencies in the destination workspace unchanged.

Data source mappings

Map source data sources to destination data sources. The system uses the destination data sources during task deployment.

ParameterDescription
Source data source nameData sources in the source workspace.
Datasource typeThe data source type.
Destination nameThe destination data source to map to.
Ignore mappingWhen enabled, the source data source is used directly during deployment.

Parameter mappings

Sync workflow parameters and scheduling parameters from the source workspace to the destination workspace. Configure parameter values using the visual UI or expressions. For supported formats, see Supported formats for scheduling parameters.

Note

Parameter names must be unique within each deployment task. Do not assign the same values to a parameter in different tasks.

  1. Click Create.

Step 2: Deploy tasks to the source workspace production environment

Deploy the tasks you want to include in the cross-workspace deployment package. After deployment, the system pushes the built packages to the Nodes to deploy list in Deploy Center.

Note
  • Members with the O&M, Deploy, or Workspace Administrator role can perform this step.

The following instructions use a basic-mode workspace in DataStudio (new version). For DataStudio (legacy version), locate the items to deploy in DataStudio and click the Submit button (image) in the top toolbar.

  1. In DataStudio (new version), locate the nodes, functions, or other items to deploy, and click the Deploy button in the top toolbar.

  2. In the deployment process, click Start deployment to production environment.

    image

Step 3: Create a deployment package

Note

Members with the Development role can create deployment packages. If you have the Workspace Administrator role, the system automatically generates a package after you select objects—click Deploy all to proceed directly.

  1. Log on to the Deploy Center of the source workspace as a member with the Development role. To enter Deploy Center, click the image icon in the upper-left corner, then choose All Products > More > Deploy Center.

  2. In the left-side navigation pane, click Nodes to deploy. In the Actions column, click Add to deployment package for each item. The View package to deploy section updates to show the count.

    Note
    • To add multiple items at once, select them and click Batch add to deployment package at the bottom of the page.

    • If you click Terminate deployment in the DataStudio (new version) deployment process, the corresponding package no longer appears in this list.

    image

  3. Click View packages to review the objects in the package. Click Remove to exclude any unnecessary items.

    Note

    Object preview is currently available in DataStudio (old version) only.

  4. On the Deployment package page, click Create deployment package and follow the instructions to finish.

    image

Step 4: Deploy the package

Note

The member performing this step must have the O&M, Deploy, or Workspace Administrator role in both the source and destination workspaces.

  1. Log on to the Deploy Center of the source workspace. To enter Deploy Center, click the image icon in the upper-left corner, then choose All Products > More > Deploy Center.

  2. In the left-side navigation pane, click Deployment packages.

  3. In the Actions column of the package, click Deploy and follow the on-screen instructions.

    Note
    • During deployment, members with the O&M, Deploy, or Workspace Administrator role can edit the resource group used when the deployed task runs in the destination workspace.

Deployment timing

The time at which a deployment takes effect depends on the node's instance generation mode.

Instance generation modeConditionTakes effect
Next DayDeployed before 23:30On the instance generated the next day
Next DayDeployed after 23:30On the instance generated on the third day
Immediately after deploymentScheduling time is at least 10 minutes after deploymentAt the scheduled time as planned
Immediately after deploymentScheduling time is within 10 minutes of deployment, or deployed after 23:30On the instance generated on the third day

Step 5: View the deployment result

  1. After deploying the package, go to the Deployment packages page of the current workspace to view deployment packages.

    image

  2. If the deployment succeeded, go to the Operation Center of the destination workspace to verify the deployed tasks.