Securing Qdrant cluster traffic: p2p TLS and internal auth

Node-to-node traffic in a distributed Qdrant cluster carries shard data and consensus messages, so it needs its own encryption, authentication and network isolation. This page explains the settings, the build order and the checks to run.

On this page

Why Qdrant cluster traffic needs its own hardening

A team running a multi-node Qdrant cluster inside its own network should assume that the engine ships without authentication, so every listening port is open until the team closes it. Node-to-node traffic is a separate attack surface from client traffic. Securing the client API on ports 6333 and 6334 does nothing to protect the internal channel that nodes use to replicate shards, coordinate topology and move data between themselves. This page covers three controls for that internal channel: peer-to-peer TLS backed by a private certificate authority, the enforce_internal_auth setting on port 6335 that is available from release 1.18, and isolation of port 6335 so that clients cannot reach it.

The security docs state that by default all self-deployed Qdrant instances are not secure, because they listen on all network interfaces and have no authentication configured. In a cluster, that default applies to every node and to the peer port as well as the client ports. The distributed deployment docs recommend at least three nodes for production so that quorum survives a node failure, which is why multi-node clusters are common in regulated settings such as banking, healthcare and public sector workloads. Each additional node adds another internal endpoint that must be encrypted, authenticated and placed correctly on the network, so the cluster design and the network design have to be settled together.

Before enabling anything, confirm the Qdrant version on every node, because the internal authentication control depends on release 1.18 or later and mixed versions in one cluster complicate rollout. Ask your platform team which network segment carries peer traffic, which firewall rules currently allow port 6335, and who issues and rotates the certificates. The Qdrant security documentation and the distributed deployment guide are the sources to check against your own environment before you change any node configuration.

Where the trust boundaries sit in a Qdrant cluster

The diagram starts with client applications, which reach each Qdrant node on the client-facing ports and should never reach the internal port. Inside the internal network, nodes exchange Raft consensus and shard traffic over the peer-to-peer port, and a private CA issues the certificates those node-to-node connections depend on. Check that the client-facing boundary has no route to the internal port, and that every node trusts the same CA and has enforce_internal_auth set.

Client traffic stops at the boundary, while node-to-node traffic stays inside the internal network.

Settings that control node-to-node protection and when each fits

This table compares the ways to protect traffic between Qdrant nodes on the internal peer-to-peer port, from network isolation alone to TLS and internal authentication. Read each row for what it covers, what it leaves open, and the situation where a team should pick it. Network isolation of port 6335 is the baseline for every option, and the internal auth setting is only one layer of the answer.

OptionWhat it protectsWhat it does not protectChoose it when
Plain p2p on an isolated networkNode-to-node traffic stays on a private segment that only cluster members can reach, so outside parties cannot sniff or connect to the peer port.Traffic is unencrypted, so anyone with access to the segment (a compromised host, a misconfigured switch or a rogue container) can read or inject cluster messages.The cluster sits on a dedicated, physically or logically isolated network with no shared tenants, and your assessor accepts the segment as the control.
p2p TLS with a private CAEncrypts node-to-node traffic and lets each node verify the certificates of its peers against your own certificate authority.Does not stop a node that holds a valid cluster certificate from acting as a member, and does not restrict which network hosts can reach port 6335.Nodes share a segment with other workloads, or your policy requires encryption in transit inside the cluster. Confirm the exact configuration keys in the Qdrant security docs before you publish or deploy.
enforce_internal_auth on port 6335 (from 1.18)Requires internal requests on the peer port to carry authentication, so an unauthenticated host cannot issue cluster operations even if it can reach the port.Does not encrypt traffic by itself, and does not replace network isolation or certificate management. Confirm the 1.18 release behavior and the setting name in the release notes before relying on it.You run 1.18 or later, have a rollout plan for the shared credential across nodes, and want a second control in case the network boundary fails.
Network isolation of port 6335 (baseline)Blocks clients and other networks from reaching the internal port, so only peers can open connections to it. It applies to every option above.Does not protect traffic between peers that are allowed through, and does not protect against a compromised node inside the allowed set.Always. Publish only 6333 and 6334 to clients and keep 6335 on the private cluster network, regardless of which encryption or auth option you add.

What travels between nodes and why it matters

Every node in a distributed Qdrant cluster talks to the other nodes over the internal port, and that traffic falls into two groups. The first is control traffic. Qdrant uses the Raft consensus protocol to agree on cluster topology and collection structure, so all nodes share one view of which nodes exist, how each collection is defined and how it is split into shards. The second is data traffic. Shard data moves between nodes when replicas are created or transferred, and writes are kept in step across the copies set by the replication factor. Both groups matter for security because the data traffic carries the content of your vectors and payloads, not only status messages.

The risk is what a forged or leaked internal message can do. A peer that can send Raft messages can influence cluster state, including the membership and layout that decide where data lives. A peer that can request shard data can read the vectors and payloads held by the node it targets. The distributed deployment docs describe the cluster model, but you should confirm the full list of internal endpoints for your exact version before you rely on any network rule. Write that list down and map which node-to-node calls use each endpoint on port 6335.

Treat node-to-node traffic with the same care as client traffic, even though clients never need to reach it. Decide which hosts are cluster members, record the peer addresses each node is configured with and confirm that nothing outside that set can reach port 6335. The documentation recommends at least three nodes for production so quorum survives a node failure, which means a compromised member cannot be removed without affecting service. Review the membership list each time a node is added or retired, and make that review part of your change process.

Set up p2p TLS and internal auth in order

This sequence builds a private certificate authority, gives every node a certificate that its peers can verify, and turns on peer authentication for the internal port. Each step ends with a check, so the cluster is only considered secured once every node has joined and the internal port refuses untrusted connections.

  1. Design the private CA and lifetimes

    The security or PKI team decides who operates the certificate authority, where its private key is kept, and how long node certificates and the CA itself stay valid. Write down the renewal window and who performs each renewal, because a node certificate that expires mid-cluster will stop peers from talking to each other. Confirm the lifetimes against your own certificate policy rather than a default. The step is done when the CA chain and the lifetime policy are approved and a test certificate issued from the CA validates with openssl.

  2. Issue one certificate per node

    Issue a separate certificate and private key for each node, with subject alternative names that match the exact hostnames or IP addresses other nodes use to reach it on the peer-to-peer port. A name mismatch is the most common cause of a failed peer handshake, so compare the SAN list with the cluster configuration before distribution. Keep each private key readable only by the Qdrant service account on its node. The check is that each certificate chains to the CA and that openssl x509 output lists the expected names for that node.

  3. Configure p2p TLS on every node

    Before the cluster forms, set the peer-to-peer TLS options on every node, pointing to that node's certificate, its private key and the CA certificate that peers must trust. Use the configuration key names from the current Qdrant configuration reference for your release, and apply the same settings on all nodes so no node is left on plaintext. Do this before bootstrapping the first cluster so no unencrypted peer traffic ever occurs. The step is done when every node starts with the new configuration and the file permissions on keys are confirmed.

  4. Form the cluster and confirm one state

    Start the nodes and let them join the cluster. Query the cluster status on each node through the client REST port, and confirm they all report the same peers, the same leader and the same number of nodes. The Qdrant distributed deployment documentation recommends at least three nodes for production so quorum survives a single node failure, so a two-node test cluster should not be treated as a production baseline. Then start one extra node built with a certificate from a different CA. The check is that this node is refused by the cluster while the trusted nodes remain in agreement.

  5. Enable enforce_internal_auth on a supported release

    Before turning on enforce_internal_auth for the internal port 6335, confirm in the Qdrant release notes that your running version supports it, which the topic scope places at 1.18 and later. If a node runs an older release, upgrade it first, following the one-minor-version upgrade path, instead of mixing releases in a cluster that is not yet authenticated. Prepare the configuration change on all nodes but do not apply it yet. The step is done when every node is on a release that supports the setting and the change is staged and reviewed.

  6. Roll the change through the cluster

    Apply enforce_internal_auth one node at a time, restarting each node and waiting until it rejoins and reports the same cluster state as the others before moving to the next. Keep quorum in mind: with three nodes, only one node should be restarting at any moment. Record the time and the node for each restart so any rollback can be targeted. The step is done when all nodes have restarted, the cluster reports a single consistent state, and no node is still running the previous configuration.

  7. Verify internal auth and port isolation

    Test the finished setup from both sides. From a host on the client network, confirm that port 6335 cannot be reached at all, and from a node without valid credentials, confirm that connections to 6335 are refused. Then confirm the cluster still reads and writes normally through the client ports 6333 and 6334. Finally, check that the cluster status is unchanged after the test. The sequence is complete when the internal port refuses unauthenticated and untrusted connections, clients are unaffected, and the results are recorded for your audit file.

How the setup differs on Docker, Kubernetes and bare metal

On Docker Compose or virtual machines, your team owns every layer of the peer-to-peer setup. You generate the certificate authority, issue a certificate for each node, place the files on each host, and write the configuration that tells each node where to find its peers. Nothing in the platform manages these files for you, so the operating procedure you write is the control.

  • Certificate files: Each node needs its own certificate and key, mounted read-only into the container or readable by the service account on the VM. Keep the private keys out of image layers and compose files committed to source control.
  • Secret delivery: Pass any API key values through your secrets tooling or host-level secret files, not inline environment variables that appear in process listings or shell history.
  • Rotation: Plan a restart window for each node when certificates or keys change, and confirm the cluster stays in quorum while nodes restart one at a time.
  • Network controls: Use host firewalls or the cloud security group to allow port 6335 only between cluster nodes. Confirm the rule with a test from a client host.
  • Configuration drift: Keep the node configuration in version control so every host runs the same TLS and internal authentication settings.

Before you go live, check that each node rejects a peer without a valid certificate and that a client host cannot reach port 6335.

Security risks to close around internal traffic

A distributed Qdrant cluster trusts its nodes with every shard, snapshot and replica it holds. The risks below cluster around one question: who can reach the internal port, and how does each node prove who it is? Each card names one control and one check to run before the cluster carries production data.

Internal port reachable from clients

Port 6335 carries node-to-node traffic for consensus, replication and shard transfer. If client networks can reach it, a client can talk to the cluster's internal interface directly, bypassing the access rules you set on the public ports. Bind the internal listener to the cluster's private network and publish only 6333 and 6334 to clients. Verify from a client subnet that 6335 is closed. Run the check from each network segment that holds an application, not only from your admin host.

Qdrant security docs

Certificates from a shared CA

If node certificates are issued by a CA that also signs certificates for unrelated services, any holder of a certificate from that CA may be able to join or impersonate a node. Issue a dedicated internal CA for Qdrant peer certificates, scope its signing policy to this cluster, and keep its private key offline or in a managed signing service. Verify that a certificate from another internal CA is rejected by the cluster. Ask your PKI team who else trusts that root.

Missing node identity checks

Transport encryption alone does not prove which machine is on the other end of a connection. Enforcing internal authentication on the peer port means a node must present a valid credential before the cluster accepts its traffic. Confirm the setting is applied on every node, since a single node with the check off can still be a path in. Verify that a node started with a wrong or missing credential fails to join. Record the result in your change log.

Secrets in images and logs

Certificate keys and API keys written into container images, compose files or startup logs persist in registries and log stores long after rotation. Mount keys and certificates at runtime from your secrets store, and keep them out of the image layers and environment dumps. Check that startup logs and orchestrator manifests do not echo key material. Verify by searching the image history, manifests and log index for the key file name and key prefix. Repeat the search after every image rebuild.

Snapshots crossing the cluster network

Collection snapshots are tar archives that hold every vector and payload in a collection. When a snapshot moves between nodes or to backup storage over the internal network, it is only as protected as that path. Restrict the snapshot endpoints to admin credentials, and send transfers over TLS on the internal network. Verify that a snapshot transfer fails without the admin credential and that the transfer uses TLS. Confirm the same rule applies to backups in S3-compatible storage.

Qdrant snapshots docs

Monitoring endpoints revealing cluster detail

Health and cluster status endpoints can disclose node addresses, topology and collection layout to anyone who can reach them, and an unauthenticated default install does not restrict them. Expose metrics and status only to your monitoring network, and place a proxy with authentication in front of any dashboard that crosses a trust boundary. Verify that an unauthenticated request from outside the monitoring network returns no cluster topology. Test it from the same subnets you tested for port 6335.

How to plan certificate issuance, renewal and trust

Before you enable p2p TLS on a Qdrant cluster, decide who owns the private certificate authority that signs node certificates, because that owner controls every later renewal and every trust change. Assign the CA to the team that already runs your internal PKI or secrets platform, and record who can sign, who can revoke, and where the root key lives. Each node needs its own certificate and key, and the certificate names should match the hostnames or addresses the peers use to reach each other on port 6335, since peer verification fails when a name in the certificate does not match what the node dials. Plan the names from your inventory before issuing anything, and use one consistent naming scheme so a replacement node can get a certificate without redesign.

Renewal is where clusters go down when it is planned badly. Issue certificates with enough lifetime to renew on a schedule, and renew one node at a time so Raft consensus keeps a quorum while each node restarts or reloads. Confirm whether your Qdrant version reloads certificates on a running node, and at what interval, by reading the Qdrant security documentation for the release you run. If your version needs a restart to pick up new files, schedule the restarts in the same rolling pattern you use for upgrades and check cluster health between nodes. Test the whole cycle in a staging cluster first, including expiry alerts, so the first renewal in production is not also the first test.

Replacing a CA is the hardest change, because nodes trust only the chain they were configured with. A new CA means every node must trust the new root before any node presents a certificate signed by it, so plan a transition in which both roots are trusted during the overlap, then retire the old one. Skipping that step splits the cluster: nodes that have the new certificate cannot reach peers that still trust only the old root, and the cluster can lose its consensus quorum. Also decide in advance how clients and the internal port are separated, since a CA change that touches the client-facing TLS path (covered in the TLS for REST and gRPC guidance) has a different blast radius. Ask your Qdrant contact to confirm the exact trust settings for your version before you change them.

Limits to confirm before relying on this setup

The cards below cover facts that the topic depends on but that this page cannot settle for your version, topology or hardware. Check each one against the vendor's documentation or a test cluster before you write runbooks or sign off the design, because the answers decide whether the setup works as described.

Release that introduced enforce_internal_auth

The setting that requires authentication on the internal port 6335 is documented as available from version 1.18, but you should confirm the exact release that introduced it and the configuration key name in the release notes for the version you run. Do not assume that a nearby minor version behaves the same way. Test the setting on a throwaway cluster running your target version and confirm that an unauthenticated peer request is refused before you rely on it.

Qdrant releases

Mixed-version clusters during rolling changes

During a rolling upgrade, some nodes run the old release and some run the new one. Confirm with the vendor whether nodes on different versions can communicate while enforce_internal_auth is enabled on only part of the cluster, and whether peer authentication fails in either direction. Plan the rollout order and a rollback path around the answer, and rehearse the change on a test cluster with the same node count and shard layout.

Effect of internal auth on joining nodes

A new node must present valid credentials to join the Raft cluster and receive shards. Confirm which certificate, key or API setting a joining node needs, what happens when the CA or the internal key differs from the existing nodes, and whether a node that fails authentication stays out of the cluster without damaging its peers. Include a join test in your runbook for scaling events, since a failed join during an incident is hard to diagnose.

Health endpoint behavior under internal auth

Load balancers and orchestrators often probe a health endpoint, and you need to know whether that probe still succeeds once internal auth is enforced and TLS is on. Confirm which endpoints stay open, which require a key, and what the responses reveal about cluster state. Check this on your ingress and probe configuration, because a probe that fails silently can cause restarts that look like network faults.

Qdrant security docs

TLS cost on shard transfers

Node-to-node TLS adds CPU work on every shard transfer, replication and recovery, and large collections make that cost visible. Measure transfer duration and node CPU with TLS on and off on hardware that matches production, using a collection of realistic size, before you set expectations for rebalancing windows. Ask the vendor whether any tuning options exist for transfer encryption, and record the results in your sizing plan.

Questions teams ask before they hire help with cluster security

What does a Qdrant cluster traffic hardening project cost, and what drives the price?

Cost follows the written scope, and DeployOpen does not publish a price list, so a quote comes after the scope is agreed. The main drivers are the number of nodes, whether you already run a certificate authority (CA) or need to build one, how many environments need the same change (development, staging, production), and how many change windows the rollout needs. Most engagements are fixed-scope, so ask for deliverables listed by item: certificate chain design, node configuration, internal port isolation, verification tests and a rollback procedure. Ask whether ongoing support or a retest is included or quoted separately.

How long does a cluster hardening project usually take?

Duration depends mostly on the node count, the state of your existing certificate process and how many change windows your operations team allows. A cluster with a working internal CA and a staging copy usually moves faster than one where the CA policy, DNS names and firewall rules must be agreed first. No fixed duration applies to every cluster, so ask for a timeline tied to the agreed scope and to the change calendar. Qdrant's own distributed deployment guidance recommends at least three nodes for production, so plan time for rolling changes across all of them.

What must our team provide before hardening can start?

Prepare a network diagram that shows each Qdrant node, the ports on each path, load balancers, and where clients and monitoring tools connect. Provide your CA policy, including who may issue node certificates, certificate lifetimes and how revocation is handled. Grant cluster access to a named engineer for configuration, and make a staging cluster available that matches production topology. Confirm change windows and the rollback owner in advance. Missing staging capacity is one of the most common reasons a cluster change moves to a later window.

Can our in-house team harden Qdrant cluster traffic without outside help?

Yes, a team with Linux, certificate and container networking experience can make these changes using the Qdrant security and distributed deployment documentation. The work is manageable alone when the team already runs an internal CA and can test rolling restarts in staging. Outside help is most useful when the CA design is new, when several environments must match, or when the team needs an independent check of the port isolation and the internal authentication settings. Decide based on your staff time, your experience with rolling restarts on a stateful cluster and your audit deadlines.

How is securing cluster traffic different from encrypting client traffic?

Client traffic hardening protects the connections from applications to Qdrant on REST and gRPC, usually with API keys, TLS and JWT access control. Cluster traffic hardening protects node-to-node communication, which carries replication, shard transfers and consensus messages on the internal port. Qdrant's security docs note that self-deployed instances listen on all interfaces without authentication by default, so both paths need separate settings. A complete project covers the peer-to-peer (p2p) TLS settings, internal authentication, and network rules that keep the internal port away from clients.

What goes wrong most often when enabling peer-to-peer TLS on a live cluster?

The most common failures involve certificate names that do not match the addresses nodes use to reach each other, a CA bundle missing from one node, and a rolling restart that leaves nodes on mixed settings for longer than planned. Teams also find that a firewall rule blocks port 6335 between nodes after the change, which splits the cluster. Test each step in staging, keep the previous configuration available for rollback, and confirm cluster health after every node restarts before moving to the next.

Will hardening change how our applications connect to Qdrant?

Application connections change only where you also enable client TLS or API keys, so plan those changes separately. The peer-to-peer settings affect nodes, not clients, but the internal port must stay reachable between nodes after the change. Confirm which client SDKs need a trusted CA certificate and which services need updated credentials, and schedule those updates with the application owners before the cluster change. Compliance evidence should record both the node and client configurations.

What evidence should we keep to show auditors the cluster traffic is protected?

Keep the approved CA policy, the configuration files used on each node with secrets removed, firewall rules that show the internal port limited to cluster members, and test records showing the cluster reached a healthy state after the change. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any audit report or certification. Ask your auditor which evidence format they accept before the work begins.

How DeployOpen scopes and delivers Qdrant cluster hardening

DeployOpen treats node-to-node protection as part of the whole Qdrant deployment, not a single setting. We scope the cluster topology, certificate authority, internal port exposure and client paths first, then build and test each layer in your own infrastructure. Every change ends with written evidence your security and platform teams can review.

How we scope

  • Map every Qdrant node, peer address and client path so the written scope names each traffic flow to protect.
  • Confirm your Qdrant version and whether enforce_internal_auth on port 6335 applies, since the setting depends on the release you run.
  • Agree in writing who issues and rotates the certificate authority, and where its private key is stored.

How we build

  • Configure p2p TLS across all nodes with certificates issued from your CA, then validate each peer connection before enabling enforcement.
  • Restrict port 6335 to cluster members with network rules so clients have no route to the internal port.
  • Roll changes one node at a time and check cluster health and consensus state after every restart.

How we hand over

  • Deliver configuration files, network rules and a runbook covering certificate renewal and node replacement.
  • Provide test results showing that peers connect over TLS and that unauthorized connections to port 6335 fail.
  • Walk your platform and security teams through the evidence so they can review it against their own controls.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing upgrades, certificate renewals and retesting after Qdrant version changes can be covered by a retainer.
  • Confirm with your team which support tier and response expectations apply before the engagement begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.