Create a MaxCompute compute source
A MaxCompute compute source binds a Dataphin project to a MaxCompute project for offline computing. When the Dataphin compute engine is MaxCompute, projects require this source for standardized modeling, ad hoc queries, MaxCompute nodes, and general scripts.
Prerequisites
-
The Dataphin compute engine is set to MaxCompute. Set the compute engine for a Dataphin instance.
-
Only super administrators and project administrators can create compute sources. Data warehouse planning permission list.
Procedure
-
In the top navigation bar of Dataphin, choose Planning > Compute Source.
-
On the Compute Source page, click Create Compute Source and select MaxCompute Compute Source.
-
On the Create MaxCompute Compute Source page, configure the required parameters.
Parameter
Description
Basic Information Of Compute Source
Compute Source Type
Select MaxCompute.
Endpoint
Defaults to the compute engine endpoint. Not modifiable.
AccessKey ID,AccessKey Secret
Enter the AccessKey ID and AccessKey Secret of an account with access to the MaxCompute project.
Obtain these values from the User Management page.
Important-
Use the AccessKey of the MaxCompute project administrator for reliable connectivity.
-
Do not change this AccessKey after setup. Changes disrupt metadata collection.
Compute Source Configuration
MaxCompute Project
Select or enter a MaxCompute project. The dropdown shows only projects visible to the AccessKey user. You can also enter a project name manually or create one in the MaxCompute console.
NoteThis is the MaxCompute project name, not the DataWorks workspace name.
Switch to the target region in the MaxCompute console to find the MaxCompute project name on the Project Management tab.
External Project
Default: No. Set to Yes for external projects.
Note-
Integration tasks cannot read from or write to external projects.
-
Hologres cannot accelerate queries on external projects.
-
Table storage usage from MaxCompute metadata is unavailable for external projects.
-
Storage health scores and storage usage are unavailable for external project resources.
Compute Project
Select or enter a compute project. The dropdown shows only projects visible to the AccessKey user. You can also enter a project name manually or create one in the MaxCompute console.
Required when the MaxCompute project is external. Serves as the computing resource.
Compute Source Name
Enter a compute source name. Requirements:
-
Supports Chinese characters, digits, letters, underscores (_), and hyphens (-).
-
Maximum length: 64 characters.
Description
Enter a brief description of the compute source.
NoteTo batch-create compute sources under different AccessKey IDs, click Create Compute Source repeatedly. Maximum: 10 at a time.
-
-
Click Test Connection to verify connectivity between Dataphin and the AccessKey account.
-
After the test passes, click Verify And Submit to create the compute source.
What to do next
Attach the compute source to a project during project creation. Create a general project.