Skip to main content

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​

LimitDescription
Project typeLake-Search clusters are available only to Enterprise projects.
RegionCurrently, Lake-Search clusters can be created only in AWS us-west-2.
PermissionTo manage a Lake-Search cluster, you need to be a Project Admin.
Cluster countEach project can have up to 20 Lake-Search clusters.
Data volumeA 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.

bash
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.

ParameterDescription
projectIdID of the project where the Lake-Search will be created.
regionIdRegion where the Lake-Search is deployed. The region must match the project's region. Currently, use aws-us-west-2.
clusterNameName of the Lake-Search to create.
cuSizeNumber 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.
autoSuspendIdle 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.

json
{
"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​

1

In the Zilliz Cloud console, open the target project.

2

Go to Lake-Search > Clusters.

3

Click + Compute.

4

Configure the cluster settings.

ParameterDescription
Cluster NameName of the Lake-Search to create.
Cluster DescriptionDescription of the Lake-Search to create, up to 255 characters.
Query CUNumber 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 suspendIdle time, in seconds, before the cluster auto-suspends. The default is 1 minute.
5

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.