--- name: privatelink description: Use when the user wants to list available PrivateLink endpoint services, list/create/delete PrivateLink endpoints for a project, or manage the endpoint whitelist on Zilliz Cloud. --- ## Prerequisites 1. CLI installed and logged in (see setup skill). 2. A project to attach endpoints to (see project-region skill). ## Commands Reference ### List available PrivateLink endpoint services ```bash zilliz privatelink list-services # Optional: --region-id ``` ### List Privatelinks ```bash zilliz privatelink list --project-id ``` ### Create a Privatelink ```bash zilliz privatelink create \ --project-id \ --region-id \ --endpoint-id # Optional: --gcp-project-id ``` ### Delete a Privatelink ```bash zilliz privatelink delete --project-id --endpoint-id ``` ### Add region to PrivateLink endpoint whitelist ```bash zilliz privatelink add-whitelist --project-id --region-id ``` ## Guidance - PrivateLink lets a cluster be reached over a cloud-provider private network (AWS PrivateLink, GCP Private Service Connect, Azure Private Link) instead of the public internet. Endpoints are scoped to a project and a region. - Workflow for a new endpoint: 1. `zilliz privatelink list-services --region-id ` to find the `endpointService` value for that region (and whether `whitelistRequired` is true). 2. If `whitelistRequired` is true, call `zilliz privatelink add-whitelist --project-id --region-id ` first so the project is allowed to attach an endpoint in that region. 3. Create the VPC endpoint in your own cloud account (out-of-band, in the AWS/GCP/Azure console or via IaC) and capture its endpoint ID (e.g. `vpce-xxxx`). 4. Register it with `zilliz privatelink create --project-id --region-id --endpoint-id `. For GCP, also pass `--gcp-project-id `. - `list` is per-project: `zilliz privatelink list --project-id `. There is no global listing. - `delete` is irreversible -- always confirm with the user, especially in production. Existing connections from that endpoint stop working immediately. - After enabling PrivateLink for a cluster, the cluster's endpoint URL switches to the private DNS form. Re-run `zilliz cluster describe --cluster-id ` to fetch the updated endpoint and update any consumer config.