Parameter | Description |
Data Source Name | The name of the data source in DataWorks. The name must be unique within the current tenant. |
Authentication Method | For a new data source, the value of this parameter is fixed as Alibaba Cloud Account and Alibaba Cloud RAM Role. Note For an existing data source that is added by using an AccessKey pair, we recommend that you change the value of this parameter to Alibaba Cloud Account and Alibaba Cloud RAM Role for the data source. |
Alibaba Cloud Account | Specifies whether the MaxCompute project you want to use belongs to the current Alibaba Cloud account or another Alibaba Cloud account. Valid values: The other parameters that you must configure vary based on the value of the Alibaba Cloud Account parameter. For more information about how to configure these parameters, see the following descriptions for Other items. |
Region | The region in which the MaxCompute project that you want to use resides. Note If the region that you selected is different from the region in which the workspace resides, you cannot associate the MaxCompute data source with DataStudio in the workspace after you add the MaxCompute project as a data source. This indicates that the data source cannot be used in DataStudio or Operation Center and can be used only in Data Integration for data synchronization. |
Other items (Set the Alibaba Cloud Account parameter to Current Alibaba Cloud Account) | If you set the Alibaba Cloud Account parameter to Current Alibaba Cloud Account, you must configure the following parameters: MaxCompute Project Name: The name of the MaxCompute project that you want to add as a data source in the selected region. Note If you cannot select the desired MaxCompute project, assign the Super_Administrator role of the project to the current logon account. For more information, see the Permission description section in this topic. Default Access Identity: The default access identity that is used to access the data source in the current workspace. Development environment: The value of this parameter is fixed as Executor. Production environment: The value of this parameter can be Alibaba Cloud Account, Alibaba Cloud RAM User, or Alibaba Cloud RAM Role. Note Only an Alibaba Cloud account, or a RAM user or RAM role that is attached the AdministratorAccess policy can be used to select any access identity in the development environment and production environment. Specify a RAM user or RAM role as the default access identity of a MaxCompute data source in the production environment. If you want to set the default access identity of a MaxCompute data source in the production environment to an identity that is not the current logon account, such as another Alibaba Cloud account or another role, the account or role must be granted the permissions of the admin or Super_Administrator role. After the data source is added, the account or role is granted the permissions of the Role_Project_Scheduler role of the related MaxCompute project in the production environment. The data of the MaxCompute data source added to the workspace in the production environment belongs to the default access identity that you specify for the MaxCompute data source when you add the data source in the production environment. If you want to use another account to access or perform operations on tables in the MaxCompute data source in the production environment, you must request the required permissions in Security Center. For more information, see Manage permissions on MaxCompute and Overview.
|
Other items (Set the Alibaba Cloud Account parameter to Another Alibaba Cloud Account) | If you set the Alibaba Cloud Account parameter to Another Alibaba Cloud Account, you must configure the following parameters: UID of Alibaba Cloud Account: The UID of the Alibaba Cloud account to which the MaxCompute project you want to add as a data source belongs. MaxCompute Project Name: The name of the MaxCompute project that you want to add to the current workspace as a data source. RAM Role: The RAM role that you want to use to access the MaxCompute project. The RAM role that you select must meet the following conditions: The RAM role is created within the Alibaba Cloud account that you selected. The RAM role is assigned to the current logon account to allow DataWorks to access the MaxCompute project. The RAM role is added to the MaxCompute project that you selected.
Note For information about how to add a MaxCompute data source across accounts, see Scenario: Add a data source across accounts. If the MaxCompute project that you selected and the workspace belong to different Alibaba Cloud accounts, you cannot associate the MaxCompute data source with DataStudio in the workspace after you add the MaxCompute project as a data source. This indicates that the data source cannot be used in DataStudio or Operation Center and can be used only in Data Integration for data synchronization.
|
Endpoint | The configuration method for the endpoints that DataWorks uses to access the MaxCompute project that you want to add as a MaxCompute data source. The endpoints include the endpoint of the MaxCompute service and the endpoint of the Tunnel service that you can use to upload and download local data or data of cloud data sources. The following configuration methods are supported: Auto Fit: DataWorks automatically matches endpoints based on actual situations. We recommend that you select this option. Note If the MaxCompute project that you selected and the workspace reside in different regions and you set the Endpoint parameter to Auto Fit, DataWorks reads and downloads data over the public endpoint of the MaxCompute service by default. Custom Configuration: If you select this option, you must manually configure the endpoint of the MaxCompute service and the endpoint of the Tunnel service. The endpoints vary based on the region that you selected. For more information, see Endpoints.
|