Migrate from OpenSearch to Zilliz Cloud
OpenSearch is a distributed search and analytics engine that supports various use cases, from implementing a search box on a website to analyzing security data for threat detection. Zilliz Cloud enables seamless migration from OpenSearch, allowing you to leverage advanced analytics and AI-driven insights. This guide outlines how to transfer your OpenSearch data to Zilliz Cloud.
Considerations
-
Zilliz Cloud supports migrating most OpenSearch data types. Before starting, verify that your data types are compatible. If your table has fields with unsupported data types, you can choose not to migrate those fields or submit a support ticket. For a full list of supported data types, Field mapping reference.
-
Each migration task is limited to a single source OpenSearch cluster. If you have data in multiple source clusters, you can set up separate migration jobs for each one.
Before you start
-
The source OpenSearch cluster is accessible from the internet.
-
If you have an allowlist configured in your network environment, ensure that Zilliz Cloud IP addresses are added to it. For more information, refer to Zilliz Cloud IPs.
-
You have been granted the Organization Owner or Project Admin role. If you do not have the necessary permissions, contact your Zilliz Cloud administrator.
Migrate from OpenSearch to Zilliz Cloud
You can migrate source data to a Zilliz Cloud cluster of any plan tier, provided its CU size can accommodate the source data.
-
Log in to the Zilliz Cloud console.
-
Go to the target project page and select Migrations > OpenSearch.
-
In the Connect to Data Source step, enter Cluster Endpoint (e.g.
https://<ID>.<region>.es.amazonaws.com
for AWS OpenSearch,https://<ip>:<port>
for OpenSearch Community Edition), Username, and Password of the source OpenSearch cluster to establish connections. Then, click Next.📘NotesNeed help finding your OpenSearch credentials? Check Communicate with OpenSearch.
-
In the Select Source and Target step, configure settings for the source OpenSearch cluster and target Zilliz Cloud cluster. Then, click Next.
📘NotesEach source index you choose to migrate from OpenSearch must include a vector field.
-
In the Configure Schema step,
-
Verify the data mapping between your OpenSearch data and the corresponding Zilliz Cloud data types. Zilliz Cloud has a default mechanism for mapping OpenSearch data types to its own, but you can review and make necessary adjustments. Currently, you can rename fields, but cannot change the underlying data types.
-
In Advanced Settings, configure Dynamic Field and Partition Key. For more information, refer to Dynamic Field and Use Partition Key.
-
In Target Collection Name and Description, customize the target collection name and description. The collection name must be unique in each cluster. If the name duplicates an existing one, rename the collection.
-
-
Click Migrate.
Monitor the migration process
Once you click Migrate, a migration job will be generated. You can check the migration progress on the Jobs page. When the job status switches from IN PROGRESS to SUCCESSFUL, the migration is complete.
After migration, verify that the number of collections and entities in the target cluster matches the data source. If discrepancies are found, delete the collections with missing entities and re-migrate them.
Cancel migration job
If the migration process encounters any issues, you can take the following steps to troubleshoot and resume the migration:
-
On the Jobs page, identify the failed migration job and cancel it.
-
Click View Details in the Actions column to access the error log.
Field mapping reference
Review the table below to understand how OpenSearch data types map to Zilliz Cloud field types.
OpenSearch Field Type | Zilliz Cloud Field Type | Description |
---|---|---|
| The | |
Not supported | Alias fields are not supported. | |
| Binary data is stored as a string on Zilliz Cloud. | |
|
| Directly mapped. |
|
| Directly mapped. |
|
| Directly mapped. |
|
| Mapped to |
|
| Directly mapped. |
|
| Directly mapped. |
|
| Directly mapped. |
| Not supported | Not supported on Zilliz Cloud. |
| Not supported | Not supported on Zilliz Cloud. |
| Stores | |
| Stored as a string. Ensure correct format conversion. | |
| Stored as a string. | |
| Stored as a string. | |
| Serialized into JSON format. | |
|
| Stored as a string. |
|
| Mapped to |
|
| Stored as a string. |
|
| Stored as a string. |
| Not supported | Not supported on Zilliz Cloud. |
| Stored as a string. | |
| Stored as a string. | |
| Stored as a string. | |
| Stored as a string. | |
Not supported | Derived fields are not supported on Zilliz Cloud. | |
Not supported | Star-tree fields are not supported on Zilliz Cloud. |
-
Potential data loss or truncation: When storing fields like Date, Range, IP address, or large text content in a
VARCHAR
column, consider any length limitations or indexing requirements on Zilliz Cloud. -
Unsupported field types: For OpenSearch types that are not supported, transform or exclude them before migrating to Zilliz Cloud.