Skip to main content
Skip to main content

Qdrant

Qdrant in Zerops provides a fully managed vector database solution designed for AI applications. Focus on building vector search features while we handle infrastructure maintenance, high availability, and data protection.

Supported Versions​

Currently supported Qdrant versions:

  • 1.12
  • 1.10

Import configuration version:

  • qdrant@1.12
  • qdrant@1.10

Deployment Modes​

Non-HA Mode​

  • Single node setup ideal for development and non-production projects
  • Simple deployment and management

HA Cluster​

  • Automatically configured with 3 nodes
  • Recommended for production environments
  • Built-in data replication across nodes
  • By default (automaticClusterReplication=true), automatically creates replicas of all shards across all three nodes
    • Can be disabled by setting automaticClusterReplication to false
  • Automatic cluster recovery and node replacement in case of failures

Data Backup​

Qdrant backups are created using native snapshotting:

  • Format: .snapshot (compressed)
  • Tooling: Native snapshotting
  • Source: Taken from the primary node (leader in HA clusters)

For backup configuration, scheduling, retention policies, and management options, see the Zerops Backups documentation.

Restoring Backups​

To restore a Qdrant backup:

  1. Download the backup file (.snapshot) from the Zerops UI
  2. Prepare your target environment (clean existing collections or use a new instance)
  3. Restore using the Qdrant API. Use the snapshot restore endpoint to import the snapshot file. Follow the official Qdrant documentation for detailed snapshot restore procedures.

For assistance with the restoration process, contact Zerops support.

Network Architecture & Access​

Qdrant can be accessed only from services within the same project, public access is not available.

API Keys​

API key authentication is required for both HTTP and gRPC API calls. Include the key in your request headers. The keys are automatically generated when the Qdrant service is created and can be found in the service's environment variables:

  • apiKey: Full access API key for administrative operations (creating collections, indexing)
  • readOnlyApiKey: Restricted API key for search operations

HTTP API​

  • Port: 6333
  • Connection String: Available as connectionString environment variable or construct using http://${hostname}:${port}

gRPC API​

  • Port: 6334
  • gRPC Connection String: Available as grpcConnectionString environment variable or construct using tcp://${hostname}:${grpcPort}

Rotating secrets​

Rotating secrets describes when and how to rotate, and what to do when it goes wrong. This section covers what is specific to Qdrant.

What is rotated​

  • The full access API key: the apiKey variable.
  • The read-only API key: the readOnlyApiKey variable.

Nothing else in the Qdrant configuration is changed.

During the rotation​

Single-nodeHA
Qdrantrestarts oncerestarts node by node, each node after the previous one is ready again
Open connectionsare closedto a node are closed when that node restarts
Requestsfail until Qdrant has loaded its collectionsare routed to the running nodes
Keysonly the new keys are accepted after the restarta restarted node accepts only the new keys, the other nodes only the old ones

Good to know​

  • In HA mode a request can be refused with either key. Until the rotation ends, it depends on which node answers.
  • The health status of the containers can show as failing for a short time. It recovers when the containers receive the new variables.
  • A value that you set by hand in apiKey or readOnlyApiKey is replaced. Qdrant doesn't use a value set by hand, and the rotation overwrites it with a generated one.
  • If a node doesn't become ready in time, the rotation goes on with the next node. It then fails with the message that the secrets were rotated, but part of the service was left in an inconsistent state. The new keys are stored and valid. Wait until the service is healthy. If a node still accepts the old keys then, run the rotation again.
  • A backup that starts during the rotation can fail. Run it again.

Support​

For advanced configurations or custom requirements: