Associate your OpenSearch Vector Search Edition instance as a computing resource in DataWorks to develop and manage offline sync tasks in Data Studio.
Prerequisites
Before you begin, make sure that you have:
-
An OpenSearch Vector Search Edition instance in the same region as your DataWorks workspace
-
A DataWorks workspace with Use Data Studio (New Version) enabled
-
The RAM user performing the operation added to the workspace and assigned the Workspace Administrator role
-
A resource group attached to the workspace with network connectivity to the OpenSearch instance:
-
Serverless resource group: Ensure connectivity between the OpenSearch computing resources and the Serverless resource group
-
Legacy exclusive resource group: Ensure the exclusive resource group for scheduling can connect to the OpenSearch instance
-
Limitations
|
Constraint |
Details |
|
Supported instance type |
OpenSearch Vector Search Edition only |
|
Supported regions |
China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), China (Hong Kong), Singapore, Germany (Frankfurt) |
Required permissions:
|
Operator |
Required permissions |
|
Alibaba Cloud account |
No additional permissions required |
|
RAM user or RAM role |
O&M and Workspace Administrator roles, or the |
Step 1: Open the computing resource page
-
Log on to the DataWorks console.
-
Switch to the destination region.
-
In the left-side navigation pane, choose .
-
Select your workspace and click Go To Management Center.
-
In the left-side navigation pane, click Computing Resource.
Step 2: Associate the computing resource
-
Click Associate Computing Resource.
-
Set the computing resource type to OpenSearch.
-
Configure the parameters:
Parameter
Description
OpenSearch Instance
Select a purchased OpenSearch instance. To buy a new instance, click Create in the drop-down list. If the workspace uses separate production and development environments, select a different instance for each.
Username
The username configured during OpenSearch instance creation. View it on the OpenSearch Instance Management page.
Password
The password configured during OpenSearch instance creation.
Computing Resource Instance Name
A custom name for the computing resource. At runtime, this name identifies the computing resource for a task.
-
Select the resource group for running offline OpenSearch sync tasks.
-
Click Test Network Connectivity to verify that the resource group can access the OpenSearch instance.
If the test fails, see Network connectivity solutions.
-
Click OK.
The system automatically creates an OpenSearch data source with the same name in the Data Sources section of the workspace.
Next steps
Create offline sync tasks in Data Studio using a node. See Offline synchronization nodes.