Create Dedicated Cluster
Create a dedicated cluster.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Use application/json
.
Name of the cluster to create.
ID of the project to which the cluster belongs.
ID of the cloud region hosting the cluster.
Subscription plan of the cluster.
CU type of the cluster.
This applies to dedicated clusters only. For free and serverless clusters, the value is empty.
CU size of the cluster. For free and serverless clusters, the value is always 0
.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/clusters/createDedicated" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
-d '{
"clusterName": "Cluster-05",
"projectId": "proj-xxxxxxxxxxxxxxxxxxxxxx",
"regionId": "aws-us-west-2",
"plan": "Standard",
"cuType": "Performance-optimized",
"cuSize": 1
}'
Response code.
Response payload.
ID of the cluster created.
Name of the cluster administration user named db_admin
.
Password of the cluster administration user. This value shows up only once when the cluster is created. You are advised to record it securely.
Prompt messages returned.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"username": "db_admin",
"password": "****************",
"prompt": "successfully submitted, cluster is being created. You can access data about the creation progress and status of your cluster by DescribeCluster API. Once the cluster status is RUNNING, you may access your vector database using the SDK with the admin account and the initial password you specified."
}
}