Import Data (Console)
This page introduces how to import the prepared data on the Zilliz Cloud console.
Import data on the web UI
Once data files are ready, you can import them directly from your local drive or upload them to an object storage bucket, such as AWS S3 or Google Cloud GCS, Azure Blob Storage for data imports.
-
You can have up to 10,000 running or pending import jobs in a collection.
-
The web console supports uploading a local JSON or Parquet file of up to 1 GB. For larger files, it is recommended to upload from an object storage instead. If you have any difficulties with data import, please create a support ticket.
Local file
Zilliz Cloud supports importing data from a local JSON or Parquet file. If your data is prepared in the NumPy format, please import from an object storage bucket.
To import data from a local file, you can follow the demo below.
Navigate to the target collection you wish to import data into.
Switch to the Data tab.
Click on Import Data.
Set the data import configuration.
-
Select the partition.
-
Select Local File as the Data Location.
-
Select your data format. For supported data formats, see Format Options.
-
Drag or drop your local file into the Select File area.
Click Import.
Remote files from an object storage bucket
To import remote files, you must first upload them to a remote bucket. You can easily convert your raw data into supported formats and upload the result files using the BulkWriter tool.
Once you have uploaded the prepared files to a remote bucket, select the object storage service and fill in the path to the files in the remote bucket and bucket credentials for Zilliz Cloud to pull data from your bucket.
Based on your data security requirements, you can use either long-term credentials or short-term tokens during data import.
For more information about obtaining credentials, refer to:
-
Amazon S3: Authenticate using long-term credentials
-
Google Cloud Storage: Manage HMAC keys for service accounts
-
Azure Blob Storage: View account access keys
For more information about using short-term tokens, refer to this FAQ.
Zilliz Cloud now allows you to import data from any object storage service to any Zilliz Cloud cluster, regardless of the cloud provider hosting the clusters. For instance, you can import data from an AWS S3 bucket to a Zilliz Cloud cluster deployed on GCP.
You are advised to use a bucket or a blob container from the same provider and in the same region as the target cluster to ensure a low-latency, stable experience.
Navigate to the target collection you wish to import data into.
Switch to the Data tab.
Click on Import Data.
Set the data import configuration.
-
Select the partition.
-
Select Object Storage Service as the Data Location.
-
Select your data format. For supported data formats, see Format Options.
-
Enter your object storage service credentials.
Click Import.
From a volume
-
Managed volume: If your local file is extremely large (> 1GB), you can upload the file to a managed volume first and them import from the volume. Once you have uploaded the prepared files to a volume, copy the file path and continue to import the file into a collection.
-
External volume: If your data files are in a cloud object storage bucket, you can create an external volume that maps to that bucket. You can then import data directly from the external volume without providing credentials each time.
The following demo shows how to import data from a managed volume.
Navigate to your target volume and switch to the Files tab.
In the Actions column, click on ... and then select Copy Path.
Navigate to the target collection you wish to import data into.
Switch to the Data tab.
Click on Import Data.
Set the data import configuration.
-
Select the partition.
-
Select Volume as the Data Location.
-
Select your data format. For supported data formats, see Format Options.
-
Paste the file or folder path you just copied in step 2.
Click Import.
Verify results
You can view the progress and status of the import job on the Jobs page.
Supported object paths
For applicable object paths, refer to Storage Options and Format Options.
FAQ
What is the difference between an external volume and importing directly from external storage?
Both allow you to import data from your own S3 or GCS bucket. The key differences are:
-
External volume requires you to integrate an AWS S3 bucket, a Google Cloud Storage bucket, or a Microsoft Azure blob storage container with Zilliz Cloud for credential management. Credentials are set up once and reused across multiple volumes and operations. Data engineers do not need direct access to cloud storage keys.
-
Direct external storage import requires you to provide credentials (access key and secret key) with each import request. This is simpler for one-time imports but does not offer credential separation or reusability.