Why a new ClickHouse cluster is not secure by default and how to close the gap
A new ClickHouse cluster starts with a default user that has all permissions, so a team that must show a locked-down cluster before production use has to make hardening an explicit set of configuration steps rather than assume the defaults are safe. The ClickHouse access control documentation recommends the SQL-driven workflow and restricting the default user, which is the first control to verify in any review. Until that user is restricted, every other control can be bypassed by anyone who can reach the server with the default credentials.
The work is harder than it looks because access control, TLS, network exposure, backups and audit each live in different places and touch different settings. Users, roles, row policies, settings profiles and quotas are defined in SQL, while listener and certificate settings sit in server configuration files, and network rules sit with the infrastructure team. A change in one area can break something in another: tightening a listener or certificate can stop existing clients from connecting, and a change to a user or profile can stop the replication or backup jobs that run under an account. Replication also depends on ClickHouse Keeper, so changes to node-to-node connectivity need the same care as client changes. Each change should be tested against clients, replicas and backup jobs before it reaches production.
This section covers only the hardening controls. It does not cover the rollout plan, identity federation with LDAP, Kerberos, X.509 or JWT, or migration from another platform, which are handled on sibling pages. Before starting, confirm with your own security team which controls your review requires, which ClickHouse version you run and whether it is still in the supported list in the ClickHouse security policy. Then record the current state of each control so the hardening work can be checked against it.
Which ClickHouse settings and objects control access, encryption and exposure
Hardening ClickHouse comes down to a short list of objects and settings: the default user, local accounts and roles, row-level filters, resource limits, the ports that accept connections, and the backup destination. Each one sets who can reach data, how traffic is protected and where copies of data end up, so each should be reviewed on its own and then checked together.
The default user
The default user is the account a fresh ClickHouse server uses when no other credentials are configured, and it starts with all permissions. Hardening means giving it a password or disabling it, then creating named administrative and application users so that day-to-day work does not run as the default account. Check that no network path reaches the server with the default user unauthenticated, and confirm the setting in your own configuration files before go-live.
Access control docsLocal users and roles
Users and roles define who can log in and which statements they can run, managed through SQL statements such as CREATE USER and GRANT. Grant privileges to roles and attach roles to users, so a change in access does not require editing each account. Review grants for broad privileges such as administrative rights, and confirm that service accounts hold only the privileges their pipelines need.
Row policies
Row policies filter which rows a user can read from a table, so one table can serve several teams or tenants without separate copies. They are only as strong as the grants behind them: a user with broad table rights or the ability to alter policies may bypass the intended filter. Test each policy with a restricted account and confirm that the filter applies to every query path your applications use.
Settings profiles and quotas
Settings profiles bundle query and session settings for groups of users, while quotas cap how many queries, rows or resources a user can consume over a time window. These limit both accidental overload and deliberate abuse by an account that has been compromised. Set limits for each application and analyst role, and confirm that the limits are reviewed when workloads change.
Native and HTTP ports with TLS
ClickHouse accepts client traffic on a native protocol port and an HTTP interface, and each needs its own TLS configuration if clients connect across untrusted networks. Enable TLS on both, decide which ports are open, and require certificates that your clients validate. Confirm the port numbers and certificate settings in your server configuration, because defaults differ between deployments and versions.
Listen addresses and network exposure
The listen address setting controls which network interfaces the server binds to, so a server bound to all interfaces may be reachable from places that were never intended. Bind the server only to the interfaces that clients need, restrict access with firewall rules and private subnets, and keep the Keeper and inter-replica traffic on paths that are not open to application networks. Verify exposure with a port scan from outside the intended network.
Backup destination
Backups created with BACKUP run to local disk, S3-compatible storage or Azure Blob Storage, and the destination holds a full copy of the data. Restrict write and read access to the destination, encrypt it at rest and in transit, and keep credentials out of plain configuration files. Confirm which storage tier and key management your environment supports before you choose an encryption approach, and run a restore test to prove the copy is usable.
Backup and restore docsWhich access and encryption choices fit your data and team
This table compares the main access and encryption choices for self-hosted ClickHouse, from the default user to TLS placement. Read each row for when the option fits and what it asks of your team after go-live. The main takeaway is that every option trades setup effort against ongoing maintenance, and the cheapest choice up front is often the costliest to change later.
| Decision | When it fits | Operational cost | What to confirm |
|---|---|---|---|
| Disable or restrict the default user | Most production clusters, where named accounts can carry all access | Create named admins and service accounts first, then lock down or remove the default user in a controlled change | Which tools and jobs still connect as default and need new credentials |
| Keep an admin account with a strict password policy | Small teams or clusters where a break-glass admin is still needed | Password rotation, secure storage of the admin secret, and a record of who can use it | How admin access is logged and who approves its use |
| Local SQL-defined users and roles | Teams that want access managed as code and reviewed in version control | Ongoing role maintenance as teams and datasets change, plus periodic access reviews | Whether your change process can review SQL grants before they run |
| External authenticators (LDAP, Kerberos, X.509, JWT) | Organizations that already run a central directory or certificate authority | Directory and certificate configuration to keep in sync, and testing after identity changes | Which authenticator your identity team will own; see the SSO and identity page for detail |
| Row policies on shared tables | Multiple teams or tenants need different row subsets from one table | Policies must be written and tested for every table; mistakes can expose rows silently | Whether auditors accept row-level filtering as the isolation control for your data |
| Separate tables or databases per tenant | Strong separation is needed, or tenants have very different schemas or retention | More tables to create, migrate and back up; schema changes repeat per tenant | How many tenants you expect and whether schema changes will be applied consistently |
| Settings profiles | Groups of users share limits such as memory, timeouts or allowed settings | Profiles need periodic review as workloads grow; a shared profile change affects many users | Which workloads need separate profiles and who approves profile changes |
| Per-user settings | A small number of accounts need exceptions to the shared profile | Each exception is one more setting to track and explain during audits | Whether the exception is temporary and has an owner |
| TLS terminated inside ClickHouse | You want encryption end to end without an extra component in the path | Certificate rotation must be handled on each server and reloaded without outages | Whether your certificate tooling can renew and distribute certificates automatically |
| TLS terminated at a proxy | You already run a standard proxy or load balancer with managed certificates | Proxy and ClickHouse configuration must stay in sync, and the internal hop still needs review | Whether traffic between the proxy and ClickHouse is encrypted and who owns each configuration |
How a query passes through TLS, authentication, row policies and quotas
A query starts at a client on the native or HTTP port and crosses the client network boundary into the ClickHouse server, where TLS and network allow lists come first. The server then authenticates the request against a user, applies that user's role grants, filters the table through any row policy, and charges the query against its quota. Every query, allowed or denied, should land in the query log, which is the record you audit. Check each hand-off separately, because a gap at any one of them lets a query bypass the rest.
Request path from client to query log, with trust boundaries marked.
The order to harden a ClickHouse cluster step by step
This sequence takes a self-hosted ClickHouse cluster from default settings to a state where every account, connection and data path has a defined owner, a limited scope and a check that proves it works. The order matters: each step removes a risk that the next step would otherwise leave open or make harder to verify.
Confirm the running version is supported
Compare the exact server version on every node against the supported versions listed in the ClickHouse security policy before changing any configuration. Run the version query on each node, not only the one you connect to, because mixed versions are common after a partial upgrade. If a node runs a version outside the supported list, schedule the upgrade first, since hardening settings on an unsupported build can leave known vulnerabilities in place. Done when every node reports a version on the supported list and the result is recorded with the date of the check.
Inventory existing users and grants
List every user, role, row policy, settings profile and quota, and the grants attached to each, using the access control system tables. Note which accounts are used by applications, by people and by scheduled jobs, and which have no known owner. Compare this list against the access control documentation so the team understands what the default configuration already grants. Done when you have a written inventory that every unexplained account is either assigned an owner or marked for removal.
Restrict or disable the default user
The default user starts with all permissions, so it is the first account to restrict. Remove its network access or disable it in configuration, and confirm that no application still connects with it. Where a bootstrap account is still needed, give it a strong password or key and limit it to administrative tasks only. Done when a connection attempt as the default user from an application host is refused and the change is captured in version-controlled configuration.
Create named administrative and service accounts with SQL
Create one named administrator account per person who needs it and one service account per application or pipeline, using SQL statements so the work is repeatable and visible in the query log. Give each account its own credentials and avoid sharing accounts across teams. Document the owner of each account and the system that uses it. Done when each account can log in with its own credentials and the inventory from the earlier step shows no shared or ownerless accounts.
Define roles and grant only needed privileges
Create roles that match real tasks, such as read-only analysts on specific databases, writers for an ingestion pipeline and operators for maintenance. Grant each role only the privileges its tasks require, and assign roles to accounts instead of granting privileges directly to users. Review grants for wildcard privileges, which apply to more objects than most teams expect. Done when a test account with the analyst role can run its expected queries and a statement outside its grants returns a permission error.
Enable TLS on native and HTTP ports
Configure TLS for both the native protocol port and the HTTP interface, using certificates issued by your internal certificate authority or a public authority if clients require it. Verify the full certificate chain from a client host, including intermediate certificates and hostname matching, and confirm that plaintext connections on the same ports are refused where your configuration allows it. Keep the private key permissions restricted to the service account. Done when a client validates the chain without disabling verification and a plaintext connection attempt fails.
Restrict listen addresses and firewall rules
Bind ClickHouse listeners only to the interfaces that clients and cluster peers need, and open the native, HTTP and inter-server ports only from the specific subnets or hosts that require them. Apply the same rules to Keeper ports so that only ClickHouse nodes can reach the coordination layer. Test from an address outside the allowed range to confirm the port is closed. Done when a scan from an unapproved host shows no open ClickHouse or Keeper ports and each allowed client can still connect.
Add row policies and settings profiles
Where users share a table but should see only part of it, define row policies that filter rows by a column such as tenant or region. Then create settings profiles that cap resource-related settings and set defaults for each role. Confirm that policies apply to every route, including the HTTP interface, because a policy that covers only one protocol leaves data exposed. Done when a test account returns only its permitted rows through both the native and HTTP interfaces and the profile limits reject an oversized request.
Set quotas for each account group
Define quotas that limit query counts, execution time or data read per interval for each account group, so one workload cannot exhaust the cluster or hide data extraction in normal traffic. Set the interval and limits from observed usage in pre-production rather than guesses, and confirm with the vendor documentation how each quota type is measured. Done when a test account that exceeds its quota receives a clear error and the quota counters appear in the system tables.
Configure encrypted and tested backups
Set up BACKUP and RESTORE to a destination you control, and confirm with your storage provider how encryption at rest and access to the backup bucket are handled, since backup encryption depends on the destination. Restrict write and read access to the backup credentials to the backup service account only. Replication does not protect against human error or corruption, so schedule a restore onto a spare cluster and verify row counts and sample queries. Done when a restore test has completed successfully on a separate cluster and the result is recorded.
Enable and review query log auditing
Turn on query logging, confirm that the entries record the user, client address and statement for each request, and set retention for the log tables so that the audit trail survives long enough for your review cycle. Send a known test query from a named account, then find it in the log under that account. Assign an owner to review denied statements and unusual access patterns on a schedule you define. Done when the test query appears with the correct user and the review owner has confirmed the first report.
How row policies and quotas limit what each role can read and consume
A row policy filters which rows a role can see on a specific table, and it does nothing for tables it does not name. Each policy is attached to a table and a role, and its expression decides which rows that role's queries return. Start from the data owner's rules, not from the table schema: write down who may see which tenant, region or business unit, then translate each rule into a policy expression and confirm it matches the owner's wording. Be deliberate about what the policies leave open. Users with administrative privileges can typically bypass or manage policies, and a role with access to a table that has no policy sees every row. Also check the default user, which starts with all permissions, and confirm that restricting it is part of the same change, as described in the access control documentation linked below.
Quotas cap consumption per user or role, such as the number of queries or the amount of data read within an interval, so one workload cannot starve the rest of the cluster. Settings profiles are the companion control: they fix which settings a user may read or change, so an analyst cannot raise a memory limit or disable a restriction that a quota or policy depends on. Confirm the exact quota intervals and limit types against the version you deploy, because the set of options is defined by the release, not by this page. Keep profiles narrow and assign them to roles, not to individual accounts, so that access reviews stay manageable.
Test every policy and quota with real queries before users depend on them, because a mistake fails silently. A wrong expression can hide rows that should be visible, and an omitted policy can expose rows that should be hidden, with no error in either case. Build a test matrix that runs representative dashboards and ad hoc queries as each role, compares row counts and sample values against an expected result set from the data owner, and includes deliberately out-of-scope queries that must return nothing or be refused. Repeat the matrix after each schema change, role change or upgrade, and keep the results as evidence for your access review. Pre-production with representative data is the right place for this work.
How hardening changes for a single node, a replicated cluster and an isolated network
A single ClickHouse server has the simplest exposure model: one host, one set of listening ports and one place where users, roles and data live. Hardening focuses on the default user, client-facing TLS, and a narrow network path to the native and HTTP ports. Because there is no replica to recover from, backups carry more weight than they do in a cluster, and they need to be restore-tested on a separate host.
- Default user: Restrict or remove the default user, which starts with all permissions, and create named administrative and application accounts through SQL-driven access control.
- Client TLS: Enable TLS on the native and HTTP ports so that client traffic is encrypted, and confirm which clients still connect in plain text.
- Network scope: Limit listening interfaces and firewall rules to the application and administrator networks that need them.
- Backup target: Send
BACKUPoutput to a location outside the server, and keep encryption settings for backups under your key management control. - Keeper controls: Even with one node, do not assume Keeper-related controls are irrelevant. If the single node is later expanded to a replicated setup, the access rules for Keeper must be designed in advance, or they will be added under time pressure.
Confirm with your security team which ports are reachable from each network segment, and ask your vendor or implementer to show a restore from the backup target to a separate host.
A replicated cluster adds traffic that a single node never sees: replicas exchange data, and they coordinate through ClickHouse Keeper. Hardening therefore extends to inter-node TLS, access for replication, and tight control over who can reach the Keeper nodes. Keeping users and roles identical across replicas matters because access control is stored per server, so a missing grant on one replica produces inconsistent results for the same query.
- Inter-node TLS: Encrypt traffic between replicas and between servers and Keeper, and use certificates issued from an internal authority with a documented renewal process.
- Replication access: Give replicas a dedicated, least-privilege identity for replication rather than reusing an application or administrator account.
- Keeper access restriction: Limit network access to the Keeper ports to the ClickHouse servers and designated administrators, and keep Keeper on dedicated hosts as the replication guide recommends.
- Identical users and roles: Apply the same SQL access control statements on every replica, and verify the grants after each change, since drift between replicas is easy to miss.
- Quotas and profiles: Apply settings profiles and quotas consistently so one replica does not accept queries that others reject.
Ask for a written list of which accounts exist on each replica and how changes are propagated, and confirm how a recovered replica is checked after it resyncs.
In an air-gapped or restricted network, the usual external dependencies must be replaced with local ones. Certificates cannot be issued from a public authority at deploy time, backup targets cannot be a public cloud bucket by default, and the platform cannot rely on outbound calls for updates or checks. The hardening work shifts toward offline certificate issuance, local backup storage and verification that the server makes no outbound connections it should not make.
- Offline certificate issuance: Create the certificate authority, server and client certificates inside the restricted environment, and document how they are rotated without internet access.
- Local backup targets: Choose a local disk, an on-premises S3-compatible store or Azure Blob Storage endpoint inside your boundary, and confirm which backup destinations the ClickHouse backup documentation supports for your setup.
- External authenticators: If LDAP, Kerberos or JWT is used, confirm that identity providers are reachable only from approved addresses.
- No-outbound-access checks: Test egress from the ClickHouse hosts and Keeper hosts, and record the results as evidence for your reviewers.
- Update path: Plan how security updates from the supported version list are brought in through an approved transfer process, and test them in a pre-production environment first.
Confirm with your network and compliance teams which egress rules apply, and ask the implementer to show the egress test results and a restore using only local backup storage.
What drives hardening effort and how to keep each part manageable
This table lists the factors that most change the effort of hardening a self-hosted ClickHouse deployment, how each one raises the workload, and the controls that keep it contained. Read it to scope internal work or a fixed-scope engagement, and to see where effort grows as the environment grows. The main takeaway is that most of the effort comes from repeated, unmanaged grants and certificates, so templates and version-controlled scripts reduce it the most.
| Driver | Why it raises effort | How to keep it down |
|---|---|---|
| Number of users and services | Each human account, application and scheduled job needs its own user, role and grant. Shared credentials multiply review work and make audit trails unclear. | Define a small set of standard roles, grant roles rather than individual privileges, and give each service its own account with a settings profile. |
| Tables needing row policies | Every table that holds data restricted by tenant, region or data owner needs a policy, and each policy must be tested against every role that queries the table. | Start with a shared policy pattern, keep policies in version-controlled SQL, and test each role against a fixed set of queries after every change. |
| Clusters and environments | Development, pre-production and production each repeat users, roles, quotas and TLS settings. Drift between environments is a common source of failed reviews. | Generate access control SQL from one source for all environments, and apply the same scripts with environment-specific variables only. |
| TLS and certificate sources | Native and HTTP ports, replica-to-replica traffic and Keeper connections each need certificates. Mixed certificate sources mean separate renewal and trust settings. | Issue all server and client certificates from one internal certificate authority, track expiry dates in one inventory, and automate renewal before expiry. |
| Integration with existing identity systems | LDAP, Kerberos, X.509 or JWT authenticators each need configuration, group mapping and failure testing. Each identity source adds a separate path that must be reviewed. | Limit the number of authentication methods in use, map directory groups to a fixed set of roles, and document which accounts remain local. |
| Data owners' access rules | Owners often define access in business terms that must be translated into roles and row filters. Each change request adds review and retesting. | Agree a request template with owners, record approvals next to the SQL change, and review access rights on a fixed schedule. |
| Compliance evidence requirements | Assessors ask for proof of configuration, access reviews and query log retention. Evidence gathered by hand is slow and often incomplete. | Export configuration and grants on a schedule, keep query log queries and retention settings in version control, and confirm evidence needs with your auditor early. DeployOpen prepares evidence but does not issue audit reports. |
| Backup encryption and restore testing | Encrypted backups need key management and restore tests on a spare cluster. Each backup destination adds its own access settings to review. | Use one key management approach for all backup destinations, and schedule restore tests that also confirm access control is restored correctly. |
Which controls protect backups, query logs and secrets
Hardening ClickHouse does not stop at the server configuration. Backups, query logs and the credentials that connect services to the cluster each hold copies of sensitive data or grant access to it. The cards below cover the controls that protect each of these, and the checks to confirm before going live.
Backup destination and access
ClickHouse BACKUP and RESTORE can write full and incremental backups to local disk, S3-compatible storage or Azure Blob Storage. Choose the destination with the same classification as the source data, then set access on that destination separately from ClickHouse access. A backup holds the data even when no user can query it, so the bucket or disk needs its own read and write restrictions. Replication does not replace backups, because replicas copy human error and corruption as well. Confirm the encryption options for your chosen destination against the backup documentation.
Backup docsRestore testing as a control
The backup documentation warns that a backup never test-restored will probably not restore properly when needed. Treat a restore on a spare cluster as part of the security control set, since it proves the backup is complete and that the restore path works under the same access rules. Record who ran the restore, which backup was used and what was verified. Include restored copies in your retention and deletion schedule so they do not outlive the source data.
Query log audit
ClickHouse records executed queries in system tables such as query_log, which show the user, the query text and the outcome. Decide which users and sources must be logged, and confirm that query text is not capturing secrets or personal data pasted into filters. Restrict who can read these tables, since query text can reveal schema and business activity. Set retention for the log tables explicitly and confirm the values with your own policy and the production configuration in your environment.
Who reads the logs
Audit logs only help if a named team reviews them and acts on unusual activity, such as bulk exports by a service account or queries from an unexpected host. Define who receives alerts, how often reviews happen and how log access is itself audited. Keep the reviewer role separate from the administrator role where possible, so the person changing permissions is not the only person checking what changed.
Service account passwords
Applications and pipelines that connect to ClickHouse need credentials that are stored outside the configuration files and source repositories. Use a secrets manager or the platform's existing vault, give each service its own user with the narrowest role and row policy needed, and rotate passwords on a schedule you can execute without downtime. Avoid shared accounts, since they make query log review meaningless. Confirm which external authenticators fit your environment before choosing password-based access for services.
External authenticatorsCertificate and private key handling
TLS on the native and HTTP ports depends on X.509 certificates and private keys that must be readable by the ClickHouse process but protected from everyone else. Store private keys with restricted file permissions or in a secrets store, record certificate expiry dates, and plan renewal with a tested reload procedure. Keep the certificate authority trust chain on clients consistent with the server certificate. Check the ClickHouse security policy for supported versions before scheduling any renewal or upgrade that touches TLS settings.
- Supported version lines
- 4
How to test that restrictions hold and fail safely
Every restriction in the hardened design should have a test that tries to break it and records the result. Run these tests against a pre-production cluster that matches production settings, and keep the expected outcome written down before you start. The core cases are: connecting as the default user or with no credentials at all, which should fail once the default user is restricted; a role attempting a grant it does not hold, which should return an access error; a user querying a table covered by a row policy, where the returned rows must match the expected output for that user's filter; a client connecting over the plain native or HTTP port when TLS is required, which should be refused; a connection from a network address not on the allow list; and a user pushing past a quota, which should return a quota error once the limit is reached. Record the exact user, client and address used for each test so a reviewer can repeat it.
Each attempt should also appear in the query log, so check that the log shows what you expect. In system.query_log, filter by user and time window to confirm that successful queries and denied attempts are both recorded, and read the exception code and message on failed rows. Connection-level failures such as refused TLS handshakes or rejected addresses may not appear as queries, so check the server log as well. Confirm that the log tables are enabled and retained long enough for a review cycle, because a test that cannot be found later proves nothing. Consult the ClickHouse access control documentation to confirm which fields and grants your version exposes for these checks.
Finish with a restore test, because a backup that has never been restored is an unverified assumption. Restore a recent BACKUP of the production schema and data into a spare cluster, not the live one, and then repeat the access tests there: the default user should still be restricted, role grants should match the original, row policies should return the same rows for the same users, and quotas and settings profiles should be present. Compare row counts and checksums on sample partitions against the source. Note that access control objects may need to be included in the backup scope, so confirm what your backup covers before relying on it. Record the restore duration and any manual steps, and treat any gap as a defect in the runbook. Repeat this on a schedule, because a single successful restore does not show that the next backup will restore.
Questions teams ask before hardening ClickHouse themselves or hiring a partner
How much effort does ClickHouse security hardening take?
The effort depends on how much of the hardening surface your deployment already covers, and most of the work is in decisions and verification rather than in typing configuration. The main drivers are the number of users and applications that connect, whether native and HTTP ports already use TLS, how many networks and clients need access, whether you already have an identity provider for LDAP, Kerberos or JWT, the number of tables that need row policies, and whether backups are encrypted and restore-tested. Each driver adds review, testing and change control work. Ask any partner for an effort estimate tied to a written list of those drivers, and ask your own team to count them before comparing quotes.
Can our team harden ClickHouse alone, and what skills do we need?
A team with working ClickHouse administration experience can do most of the hardening itself, provided it has someone who understands certificates, Linux networking and SQL-driven access control. The core steps are restricting the default user, creating roles, users, settings profiles, quotas and row policies in SQL, enabling TLS on the native and HTTP ports, limiting network exposure, configuring encrypted backups and reviewing query logs. Skills most often missing are certificate lifecycle management, change control for a stateful database, and a restore test that proves backups work. Plan for a pre-production environment so changes can be tested before they reach the cluster.
How long does hardening take for a small scope compared with a full scope?
Duration scales with scope, and the clearest split is between a single-cluster hardening of access, transport and network settings and a wider engagement that also covers audit logging, encrypted backups with a restore test, and documentation for reviewers. A narrow scope can often be finished in a single change window once the decisions are made, while a wider scope needs staged rollouts, client changes and verification on each application. No duration is given here because it depends on your environment. Ask for a timeline that lists each phase, the environments it touches, and the approvals each phase needs.
What must our team provide before hardening starts?
Your team provides the access and decisions that a partner cannot make for you. The usual inputs are:
- An inventory of ClickHouse clusters, hosts, users, applications and the networks that reach them.
- Data owner rules that say which tables hold sensitive data and who may read them, so row policies and roles can be scoped.
- A certificate authority or a documented process for issuing and renewing server and client certificates.
- A backup target, such as local disk, S3-compatible storage or Azure Blob Storage, with the retention and key management rules you require.
- A pre-production environment with representative data and queries, plus change windows and an owner who signs off on changes.
Does DeployOpen hardening include an audit or certification?
No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. The hardening work produces configuration, documentation and test evidence that your auditor can review, such as access control definitions, TLS settings, network rules, backup and restore test records and query log retention. Confirm with your auditor which evidence they expect before the work starts, so the deliverables match what they will request.
Which ClickHouse version should we run, and how do security updates apply?
Run a version that appears in the supported versions list in the ClickHouse security policy, and check that list before each planning cycle. The policy lists versions 26.9, 26.8, 26.7 and 26.3 as currently supported with security updates, and all other versions as unsupported. The production FAQ recommends stable releases for most production use and says stable releases ship roughly monthly, while LTS releases ship twice a year and are supported for a year after release. Read the changelog before each upgrade, because minor backward-incompatible changes can occur, and test the upgrade in pre-production first. Confirm the current list on the security policy page, since support status changes over time.
How is a fixed-scope hardening engagement agreed before work starts?
Most DeployOpen engagements are fixed-scope, which means the scope, deliverables and timelines are agreed in writing before work begins. A written scope usually names the clusters and environments covered, the access controls and TLS settings to implement, the network exposure rules, the backup and restore test, the query log audit configuration, the documentation delivered and the client inputs required. The quote follows from that written scope, and DeployOpen does not publish a price list. Ask for the scope document, the acceptance criteria for each deliverable and the process for changes that arise during the work.
How DeployOpen scopes, hardens, tests and hands over ClickHouse security work
DeployOpen plans and hardens self-hosted ClickHouse inside your own infrastructure, from access control and TLS through to audit logging and tested backups. Work starts with a written scope, is built and tested in a pre-production environment, and is handed over with documentation your security and compliance teams can review. Ongoing support and continuous testing are available as retainers.
How we scope
- We inventory existing ClickHouse nodes, ports, users, client applications and network paths before any change is proposed.
- The written scope names which controls are in, such as default user restriction, role design, row policies, quotas, TLS and backup encryption.
- We agree which environments, test data and change windows are available, since these shape the effort and timeline in the quote.
How we build
- We apply access control changes through SQL statements, recorded in version control, so each role, grant and policy can be reviewed and reproduced.
- We configure TLS on the native and HTTP ports, restrict network exposure with firewall rules, and validate client connections after each change.
- We test changes in a pre-production environment with representative data and queries before anything touches production.
How we hand over
- You receive a configuration record covering users, roles, row policies, quotas, certificates, listening ports and firewall rules.
- We document the query log and audit settings, the retention approach, and the steps to rotate credentials and certificates.
- Backup encryption and restore procedures are documented, and we run a restore test on a spare cluster so you have evidence it works.
How we support
- Support can cover reviewing ClickHouse release notes and security updates against the supported versions list before you upgrade.
- Retainers can include periodic access reviews, configuration drift checks and retesting after significant platform changes.
- DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any audit reports or certifications.

