Create a Lake-Search Cluster
This feature is available only with the Enterprise plan or higher.
A Lake-Search provides compute resources for Search in Lake-Search and query workloads. It spins up when requests arrive and scales back to zero when idle, so it is a good fit for batch search, validation, exploration, and workloads that do not require always-on serving.
Prerequisites
Before you create a Lake-Search cluster, ensure that:
-
You are a Project Admin in the target project. For details about the roles and permissions, see Manage Platform Roles.
-
You have the project ID where the Lake-Search will be created.
-
You have an API key with permission to manage resources in the project.
-
The project is in the same region as the Lake-Search. Currently, the supported region is
aws-us-west-2.
Limitations
| Limit | Description |
|---|---|
| Project type | Lake-Search clusters are available only to Enterprise projects. |
| Region | Currently, Lake-Search clusters can be created only in AWS us-west-2. |
| Permission | To manage a Lake-Search cluster, you need to be a Project Admin. |
| Cluster count | Each project can have up to 20 Lake-Search clusters. |
| Data volume | A Lake-Search can query up to 3 TB of raw data for every 8 CUs. Queries that exceed this limit return an error. |
Create a Lake-Search Cluster
You can create a Lake-Search cluster from the Zilliz Cloud console or by calling the RESTful API.
Via RESTful API
The following example creates a Lake-Search cluster. For details, see Create Lake-Search.
export BASE_URL="https://api.cloud.zilliz.com"
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/clusters/createOnDemandCluster" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json" \
-d '{
"projectId": "proj-xxxxxxxxxxxxxxxxxxx",
"regionId": "aws-us-west-2",
"clusterName": "my-lake-search",
"cuSize": 8,
"autoSuspend": 60,
"description": "A cluster for vector search workloads."
}'
The following table explains the parameters.
| Parameter | Description |
|---|---|
projectId | ID of the project where the Lake-Search will be created. |
regionId | Region where the Lake-Search is deployed. The region must match the project's region. Currently, use aws-us-west-2. |
clusterName | Name of the Lake-Search to create. |
cuSize | Number of query CUs to allocate. The cluster automatically scales between zero and this value based on workload. The minimum is 8 CUs, the maximum is 256 CUs, and values increase in increments of 8. This value is fixed after creation and cannot be changed. |
autoSuspend | Idle timeout, in seconds, before the cluster auto-suspends. When no requests are received within this period, the cluster suspends to stop incurring compute costs. The minimum value is 60 seconds, and the default is 60 seconds. |
description(optional) | Description of the Lake-Search to create, up to 255 characters. |
The following is an example output.
{
"code": 0,
"data": {
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"prompt": "Successfully submitted. The Lake-Search cluster is being created. Use the Describe Lake-Search Cluster API to check its creation progress and status. Once the cluster status is RUNNING, use your API key to access the cluster."
}
}
Via web console
In the Zilliz Cloud console, open the target project.
Go to Lake-Search > Clusters.
Click + Compute.
Configure the cluster settings.
| Parameter | Description |
|---|---|
| Cluster Name | Name of the Lake-Search to create. |
| Cluster Description | Description of the Lake-Search to create, up to 255 characters. |
| Query CU | Number of query CUs to allocate. The cluster automatically scales between zero and this value. The minimum is 8 CUs, the maximum is 256 CUs, and values increase in increments of 8. This value is fixed after creation and cannot be changed. |
| Auto suspend | Idle time, in seconds, before the cluster auto-suspends. The default is 1 minute. |
Click Create.
Next steps
After the cluster is created, use the cluster ID when connecting to a project endpoint for Search in Lake-Search. For details, see Connect for Search in Lake-Search.
To list, inspect, or drop Lake-Search, see Manage Lake-Search.