This topic describes how to deploy nodes in a workspace that is in standard mode.
Prerequisites
Background information
After you commit a node in a workspace that is in basic mode, the system automatically
schedules the node in the production environment. After you commit a node in a workspace
that is in standard mode, the node takes effect only in the development environment,
and the system does not automatically schedule the node in the development environment.
You must deploy the node to the production environment before the node can be scheduled
to run periodically.
Note All operations that are committed on the DataStudio page enter the to-be-deployed
state on the Create Deploy Task page. On the Create Deploy Task page, you can deploy
the operations that are related to files to the production environment.
- DataWorks provides the following types of built-in checks that can be performed before
a node is deployed:
- Code review: If you enable the forcible code review feature for the workspace to which the node belongs, the node can be deployed only after the node passes the code review. For more information, see Code review.
- Smoke testing: If you enable the forcible smoke testing feature for the workspace to which the node belongs, the node can be deployed only after the node passes the smoke testing. For more information, see Perform smoke testing.
- Extension-based check: If you enable the extension-based check feature for the workspace to which the node belongs, the node can be deployed only after the node passes the extension-based check. For more information, see Overview.
- Check item-based check: If you enable a check item for the node in Data Governance Center, the node can be deployed only after the node passes the check. For more information, see Create and configure check items.
- DataWorks supports the following scenarios for node deployment:
- Deploy nodes in a workspace that is in standard mode: DataWorks allows you to deploy a node in a workspace that is in standard mode from the development environment to the production environment.
- Deploy nodes across workspaces: DataWorks allows you to deploy a node across workspaces that are in basic mode, belong to the same Alibaba Cloud account, and reside in the same region.
- Deploy nodes across clouds: DataWorks allows you to deploy a node across Alibaba Cloud accounts, regions, or cloud platforms. For example, you can deploy a node across Alibaba Finance Cloud and Alibaba Gov Cloud.
Note This topic describes the deployment process of nodes in a workspace in standard mode.
Usage notes
- The time when a node is deployed affects the time when the instances that are generated for the node take effect. If you deploy a node during the period from 23:30 to 24:00 on the current day, instances that are generated for the node take effect on the third day after the deployment regardless of whether the Instance Generation Mode parameter for the node is set to Next Day or Immediately After Deployment. For more information about the instance generation mode, see Configure immediate instance generation for a node.
- Users who want to deploy nodes must be grant the required permissions. Developers can create deployment tasks for nodes that need to be deployed, but only users who are granted the O&M permissions can deploy the nodes.
- You can manage a node deployment process. Whether the deployment operation is successful depends on the permissions of the role that is used to perform the operation and the specified deployment process. If the deployment operation fails, you can check the status of the deployment task on the Deploy Tasks page.
- You can deploy a node only after the node is committed. A node can enter the to-be-deployed state on the Create Deploy Task page only if the node is committed.