ClickHouse Cloud BYOC vs self-hosted ClickHouse in your own VPC

BYOC keeps data in your VPC but leaves ClickHouse Inc operating the control plane and access paths. Self-hosting open-source ClickHouse in the same VPC moves that access and operating work to you.

On this page

Why teams compare ClickHouse Cloud BYOC with self-hosted ClickHouse in their VPC

A renewal, a data residency requirement or a BYOC quote on the table usually triggers this comparison. Both options keep the data inside the customer's VPC, so the real question is who operates the database and who can reach it. In a BYOC deployment, ClickHouse Inc. runs the service inside the customer's cloud account, which means the vendor's staff and tooling still perform operations on infrastructure the customer owns. In a self-hosted deployment, the customer's own platform, security and database teams hold that operational access and decide who gets it.

That difference shapes four decisions that go beyond price: access, residency evidence, operating effort and contract terms. On access, list every identity that can reach the cluster, the control plane, the cloud IAM roles and the support paths, and ask the vendor to document each one in writing. On residency, ask what evidence you can show an auditor or data protection officer about where data, backups and logs sit and who can read them. On operating effort, map who patches, upgrades, restores and responds to incidents in each model, since the cost of that work does not appear in a BYOC quote. On contract terms, check exit rights, notice periods and any charges for leaving, because these determine how easily you can move later.

The comparison is therefore a governance exercise as much as a pricing one. Write the requirement first, such as which staff may read raw tables and which jurisdictions may hold backups, then test each option against it. A BYOC quote that answers those questions in writing can be the right choice, and a self-hosted cluster can fail the same test if nobody owns its upgrades and restore tests.

What a VPC-resident ClickHouse deployment must satisfy

A ClickHouse cluster in your own VPC still leaves compliance questions open: who can reach the data, where it sits, and what happens if a provider or regulator gets involved. The six cards below cover the decisions that differ between a BYOC arrangement and a cluster you operate yourself, and each one needs a documented answer from the controller before data goes in.

Who can access and operate the cluster

Access to data and to the cluster is a separate question from where the servers run. With BYOC, the vendor's staff may operate the control plane inside your VPC, so you need to know which of their people can reach data-plane hosts, under what approval, and how that access is logged. With self-hosted ClickHouse, your team defines the user list, roles and external authenticators, such as LDAP or JWT, in the ClickHouse access control configuration. Ask the vendor for a written access model and check it against your own role matrix. Confirm this with the vendor, since operator access practices are set by their contract and operations.

Access control docs

Where data is stored and processed

Storage and processing location decide whether a GDPR transfer exists at all. Under EDPB Guidelines 05/2021, storing personal data in a cloud outside the EEA is a transfer, so the region and the sub-processors that hold copies both matter. For a VPC deployment, confirm the cloud account, region, backup target and any logging or telemetry paths that leave the VPC. Keep a data flow diagram that lists every location, including backup buckets and support tooling, and review it whenever the topology changes.

EDPB Guidelines 05/2021

Remote access as a transfer

Article 44 requires every transfer of personal data to a third country to meet Chapter V conditions, and EDPB Guidelines 05/2021 state that remote access from a third country, even only displaying data on a screen for support, counts as a transfer. A vendor engineer troubleshooting a cluster from outside the EEA can therefore create a transfer even when the data never leaves your VPC. Infringements of Articles 44 to 49 carry fines of up to EUR 20 million or 4% of worldwide annual turnover. Ask where remote support sessions originate and whether they are restricted to EEA locations.

Third-country authority access exposure

The CLOUD Act provision at 18 U.S.C. 2713 requires US-linked service providers to preserve or disclose data in their possession, custody or control, wherever it is located. Following the CJEU's Schrems II judgment, transfer tools are assessed case by case, and EDPB Recommendations 01/2020 say no effective technical measure can be envisioned where a provider must access data in the clear and foreign authority powers exceed what is necessary. GDPR Article 48 limits recognition of foreign disclosure orders to those based on an international agreement. Your controller assessment should record which entity holds the keys and which laws apply to it, and the same question applies to any EU processor subject to third-country law.

GDPR text on EUR-Lex

Switching rights under the Data Act

The EU Data Act, applicable since 12 September 2025, gives customers the right to switch from a data processing service to another provider or to on-premises ICT infrastructure, with a maximum two-month notice period and a 30-day transition. Switching charges are banned from 12 January 2027. Article 32 also requires providers to prevent unlawful third-country governmental access to non-personal data held in the Union. Before choosing BYOC, write the exit steps into the contract, including how schemas, data and users would move to a self-hosted cluster. Confirm the notice and transition terms with the vendor.

Data Act text

Recoverability through backups and restore tests

Replication keeps copies of data across replicas, but ClickHouse's backup documentation notes that replication alone does not protect against human error or corruption. BACKUP and RESTORE support full and incremental backups to local disk, S3-compatible storage or Azure Blob Storage. The documentation also warns that a backup never test-restored will probably not restore properly, so schedule restore tests on spare clusters. Check where backup copies sit, since they are personal data in their own right and fall under the same location and access rules.

Backup and restore docs

Who holds access to data in a BYOC deployment

In a BYOC deployment, the data plane runs in your VPC, but ClickHouse Inc. still operates the service. That split means the vendor's operations and support staff may have remote access paths into systems that hold your data, even though the servers sit in your cloud account. Before you sign, treat those paths as part of your data flow and document them as you would any other processor access route. The supplied facts do not describe the specific BYOC access model, including which roles can reach nodes, how sessions are granted and logged, or whether access is approved by you. Those details must come from the vendor in writing.

Location matters as much as the existence of access. The EDPB's Guidelines 05/2021 state that remote access from a third country counts as a transfer under GDPR Chapter V, even when the person only views data on a screen for support or administration. If any ClickHouse Inc. staff or contractor who could reach your cluster sits outside the EEA, the access is a transfer that needs a documented legal basis and supplementary measures. Ask the vendor to state in writing where support and operations personnel are located, which entities employ them, and which subprocessors can reach the environment. Also ask whether they can be reached through a break-glass or emergency path, and who approves it.

Ask for a written answer on authority request handling. The EDPB's Example 12 notes that complying with a third-country authority request would itself be a transfer, so the controller should assess that exposure before engaging such a processor. Under 18 U.S.C. 2713, US-headquartered providers must preserve or disclose data in their possession, custody or control regardless of where it is stored, which is the scenario your assessment should cover. Request the vendor's process for challenging requests, notifying customers and minimizing disclosure, and confirm which parent or affiliate entities hold control over the operating company. Self-hosted ClickHouse in your own VPC removes these vendor-held access paths, though you then own the access controls that replace them.

How BYOC and self-hosted ClickHouse compare on access, residency and effort

BYOC runs ClickHouse Cloud inside your own cloud account and VPC, while ClickHouse Inc. operates the service. Your data sits in your account, but the operator is the vendor, so the residency question shifts from where data is stored to who can reach it and under which conditions. Pricing is quoted, so the written operating model and contract define most of the risk.

  • Operator and remote access: Confirm which ClickHouse Inc. roles can reach the data plane, how that access is granted, logged and revoked, and whether a support session can display data from outside the EEA. Under the EDPB guidelines on Article 3 and Chapter V, remote access from a third country is a transfer even when data is only shown on a screen.
  • Data and backups: Ask where backup copies are written, which account owns them, and whether they stay in the same region as the primary data.
  • Patching and upgrades: Ask who schedules upgrades, how much notice you receive, and whether you can hold a version for testing before rollout.
  • Contract switching: The EU Data Act gives customers switching rights, including a move to on-premises infrastructure, with a notice period and a transition window. Get the exit steps, data export format and any fees in writing.
  • Trade-offs: Lower operating load for your team, in exchange for less direct control over access paths and upgrade timing.

Before signing, request the written BYOC terms covering operator access, subprocessors, backup location and exit, and have counsel map them to your transfer assessment.

How to deploy self-hosted ClickHouse in your VPC under these constraints

This sequence takes a team from residency and access requirements to a replicated, authenticated, backed-up ClickHouse cluster in its own VPC, with documented upgrade and access procedures that an internal or external reviewer can check.

  1. Confirm residency and access requirements

    Your compliance, legal and security leads write down where the data may be stored and processed, which regions and accounts are allowed, and who may see data in the clear, including vendor support staff and remote administrators. Remote access from a third country counts as a transfer under the EDPB's guidance, even when data is only displayed on a screen, so this list must cover support sessions as well as storage. Done when the team has a signed-off residency statement and an access matrix that every later step is checked against. Confirm with your counsel which regimes apply to your data before you commit to a hosting location.

  2. Choose a release line

    Compare the stable and LTS lines in the ClickHouse production FAQ and the security policy's list of supported versions before picking one. Stable releases ship roughly monthly and the three latest get bug fix backports, while LTS releases ship twice a year and are supported for a year. Record the chosen version, the upgrade cadence you can sustain, and the changelog review you will do before each upgrade, since minor backward-incompatible changes can occur. Done when the version is pinned in a written decision record that names the supported-version check owner.

  3. Build a pre-production environment with representative data

    Stand up a non-production cluster in the same VPC and load a representative subset of your data along with the queries your dashboards and pipelines actually run. The production FAQ recommends this step before any upgrade or schema change. Measure query results and latency against production and keep a list of the queries that differ. Done when the pre-production cluster reproduces the production query set and the team can rerun the same test suite on each new release.

  4. Deploy replicated tables with dedicated Keeper nodes

    Create ReplicatedMergeTree tables across at least two replicas and coordinate them with ClickHouse Keeper on at least three Keeper nodes, placed on dedicated hosts in production, with about 4 GB of RAM each. Your platform team owns the hosts, network rules and disks in your account. Confirm that a restarted replica syncs missing data from a healthy peer without manual steps, then test that by stopping one replica during a load test. Done when a stopped replica rejoins and its row counts match the others.

  5. Configure external authenticators

    Connect ClickHouse to your identity system using the external authenticators the server supports, such as LDAP directories, Kerberos, SSL X.509 certificates, an HTTP authenticator or JWT authentication. Map your existing groups to database roles, and review the access control documentation for grants and row policies. Remove or lock any default or shared accounts. Done when each test user can log in only through the approved method, a user removed from the directory loses access, and the access matrix from the first step matches the role grants.

  6. Set up backups to storage in your account

    Configure BACKUP to write full and incremental backups to S3-compatible or Azure Blob storage that your organization owns, with its own encryption keys and retention settings. The backup documentation notes that replication does not protect against human error or corruption, so backups are a separate control. Document who can start a backup and who can read the backup bucket. Done when a backup job completes on schedule and its storage location, retention and access controls are recorded in the runbook.

  7. Run restore tests on spare clusters

    Restore a recent backup into a spare cluster on a regular schedule and compare table counts and sample query results with the source. The backup documentation warns that a backup never test-restored will probably not restore properly when needed. Log each test with its date, backup identifier, result and any fix applied. Done when the most recent restore test passed and the team has a dated log of at least one successful restore per schedule period.

  8. Document upgrade and access procedures

    Write the runbooks that your operators will follow: the upgrade sequence across replicas and Keeper nodes, the pre-production test step, the rollback plan, the access request and removal process, and the evidence each procedure leaves behind. Assign owners for each procedure and review them after the first real upgrade. Done when the runbooks are stored in your internal documentation system, each procedure has a named owner, and a second operator has followed the upgrade runbook in pre-production.

Where trust boundaries sit in a self-hosted ClickHouse VPC

The diagram starts with clients inside the customer VPC querying ClickHouse replicas, which stay in sync through ClickHouse Keeper nodes and send backups to object storage. Authentication comes from an external source such as LDAP or JWT, so access decisions remain in your directory. The dashed boundary marks the line your own controls must cover. The vendor or support access path crosses it, so each session needs documented approval, logging and a defined end. Check that every crossing is written into your access policy before go-live.

Trust boundary between the customer VPC and vendor or support access.

What operating effort moves to your team

Under BYOC, ClickHouse Inc. operates the service inside your VPC. Self-hosting moves that operating work to your team, and the largest recurring item is upgrades. ClickHouse ships stable releases roughly monthly and LTS releases twice a year, and only the versions listed as supported in the ClickHouse security policy receive security updates. Your team needs a named owner for tracking that list, a pre-production cluster with representative data and queries, and a habit of reading the changelog before each upgrade, because minor backward-incompatible changes can occur. Confirm which release line your security team will accept before you choose a version, since the answer determines how often you upgrade.

Replication protects availability, not data. ReplicatedMergeTree tables coordinated by ClickHouse Keeper resync a recovered replica automatically from a healthy one, which is useful when a node fails. But the ClickHouse backup documentation states that replication alone does not protect against human error or corruption, because a bad DROP or DELETE replicates to every copy. Your team must schedule full and incremental BACKUP jobs to storage you control, such as S3-compatible storage or Azure Blob Storage, and keep retention aligned with your recovery commitments. The same documentation warns that a backup never test-restored will probably not restore properly, so restore tests on a spare cluster belong in the recurring calendar, not in an annual audit file.

Finally, someone must answer the pager. Upgrades, Keeper quorum problems, disk exhaustion and failed backup jobs all arrive outside business hours, and BYOC shifted that first response to the vendor. Ask whether your on-call rota covers the database, the Keeper nodes and the backup jobs, and who holds the runbooks for each. Ask your team to estimate the hours per month this takes, then compare that figure with the vendor fee in the BYOC quote. Those hours are the cost most often left out of the comparison, and they recur for as long as the cluster runs.

Evidence to collect for residency and access reviews

A residency or access review of ClickHouse Cloud BYOC or a self-hosted cluster rests on written records, not on architecture diagrams alone. The five records below show who can reach the data, where it sits, which versions are patched, whether restores work and how users sign in. DeployOpen prepares this evidence for your environment, but auditors and regulators decide whether it is sufficient.

Vendor answers on access and support

Ask the vendor in writing which staff or systems can reach your database, from which countries, and under what conditions support engineers open sessions or view data on screen. EDPB Guidelines 05/2021 treat remote access from a third country as a transfer, even when data is only displayed. Under BYOC, record the support locations and escalation paths, and confirm whether the answers cover the control plane as well as the data plane.

EDPB Guidelines 05/2021

Transfer assessments and SCC records

For every processor, keep the transfer mapping, the standard contractual clauses in force and the transfer impact assessment that explains them. Schrems II held that standard contractual clauses remained valid, but the assessment must still show that the destination's public authority powers are addressed. Where the provider could be compelled to give access to data in the clear, record the reasoning, since EDPB Recommendations 01/2020 state that no effective technical supplementary measure may exist in that case.

EDPB Recommendations 01/2020

Supported version and upgrade records

Export the security policy's list of supported versions and your running build, then keep a dated upgrade log showing when each cluster moved. Self-hosting makes you responsible for patching, so reviewers will check that your version sits on the supported list. Keep the changelog review and pre-production test results for each upgrade, because minor backward-incompatible changes can occur between releases.

Latest supported line
26.9
ClickHouse security policy

Backup and restore test logs

Keep dated logs from BACKUP and RESTORE runs on a spare cluster, recording the scope, the row counts compared and the time taken. ClickHouse documentation warns that a backup never test-restored will probably not restore properly, and replication does not protect against human error or corruption. For BYOC, also record where backups land and who holds the keys to that storage, since the bucket remains in your account.

ClickHouse backup docs

Authentication configuration exports

Export the external authenticator settings, user definitions, roles and grants from each cluster, and store them under version control with a dated change history. Reviewers check that LDAP, Kerberos, X.509 or JWT sources are the ones your identity team approved and that no shared accounts remain. Confirm which accounts are used for support access on BYOC and whether they appear in the same export.

ClickHouse access control

Questions buyers ask before choosing BYOC or self-hosting

Does BYOC keep our data out of the vendor's hands?

BYOC places the database in your cloud account, but the vendor still operates it, so whether data stays out of its reach depends on what the operator can access. Confirm in writing who holds cloud IAM roles, who can open support sessions into the VPC, whether support staff can view query text or result data, and where logs and telemetry are sent. Self-hosting in your own VPC removes the vendor operator from the data path entirely, so your team and the auditors you engage become the only parties with access. Ask the vendor for its access model and its support access procedure before you assume a residency outcome.

What does self-hosting ClickHouse cost in effort, and what drives it?

The main costs are compute and disks for your servers, three or more ClickHouse Keeper nodes, backup storage, monitoring, and the engineering time to run upgrades, restores and on-call response. Most of this is recurring, while setup, schema design and migration testing are largely one-time. Effort rises with cluster count, data volume, retention targets, the number of replicas and how often you upgrade. Per the ClickHouse production FAQ, stable releases ship roughly monthly and LTS releases twice a year, so budget for a regular upgrade cycle. Ask any implementation partner for a quote built from these components rather than a single bundled figure.

How long does a migration to self-managed ClickHouse take, and what does it need from the team?

Duration depends on data volume, schema complexity, the number of dependent clients and how much downtime the business accepts, so no fixed timeline applies. The work needs someone who can recreate schemas with ReplicatedMergeTree, plan data copy, replay recent inserts, move users and settings, and test a restore. The ClickHouse production FAQ recommends a pre-production environment with representative data and queries before you upgrade or cut over. Ask for a written scope that lists tables, clients, cutover steps and acceptance tests so the timeline can be checked against it.

Can our team run self-hosted ClickHouse alone?

A small team with Linux, networking and database operations skills can run it, but the work is continuous rather than a one-time setup. Plan for ownership of replication health, Keeper quorum, backups, version support and security patching. ClickHouse's replication guide says a recovered replica syncs missing data from a healthy one automatically, which reduces manual work, yet the backup documentation warns that replication does not protect against human error or corruption. Backups must be restore-tested on spare clusters. If you lack that capacity, a fixed-scope engagement or a retainer for upgrades and continuous testing can cover the gap.

What do the EU Data Act switching rights change for ClickHouse customers?

The Data Act, applicable since 12 September 2025, gives customers the right to switch from a data processing service to another provider or to on-premises ICT infrastructure, with a maximum two-month notice period and a 30-day transition under Articles 25 and 29. Switching charges are banned from 12 January 2027 under Article 50. These rights strengthen your position in a renewal or exit, but they do not replace a tested export plan. Confirm with counsel how the rights apply to your contract, and confirm the export formats and procedures your provider supports.

Do the supplied facts confirm BYOC access controls?

No. The facts available for this page cover ClickHouse's open-source server, its external authenticators (LDAP, Kerberos, SSL X.509 certificates, an HTTP authenticator and JWT), access control documentation and its replication and backup behavior. They do not establish how a specific BYOC deployment restricts vendor staff, logs their sessions or isolates tenants. Ask the vendor for its BYOC access model in writing, including support access approvals, audit logs and key management, and compare that against the access controls you can configure yourself in a self-hosted cluster.

What should we request in a quote for BYOC or a self-hosted build?

Ask for a written scope that separates one-time work from recurring costs. For BYOC, request the compute and storage rates, the egress terms, support access procedures, the data export options and the contract terms on notice and switching. For self-hosting, request the components priced individually: servers or nodes, disks or object storage, Keeper, backups, monitoring, the migration plan, restore tests, upgrade support and on-call coverage. Ask which items are fixed and which depend on measured volume. DeployOpen issues a quote from a written scope and does not publish a price list, so state your data volume, clients and compliance requirements at the start.

What the contract should say before you switch

Settle the contract questions before any migration work starts, because a BYOC arrangement and a self-hosted deployment in the same VPC leave you with different obligations and different exit options. Start with the data processing terms: ask ClickHouse Inc. for its data processing agreement, the list of subprocessors, and the countries where support staff can view or access your environment. Remote access from a third country, even only viewing data on a screen for support, can count as a transfer under the GDPR, so ask for written commitments on where support sessions originate and how they are logged. Ask whether the vendor has commitments on responding to third-country government requests, and have your legal team assess that exposure before you sign.

Next, check the exit and switching rights under the EU Data Act (Regulation (EU) 2023/2854), which has applied since 12 September 2025. The Act gives customers a right to switch to another provider or to on-premises infrastructure, with a maximum two-month notice period and a 30-day transition, and bans switching charges from 12 January 2027. Confirm with counsel whether your contract's notice period, transition support and data export formats fall within those limits, and whether any fees apply before that date. Ask the vendor to name the export formats and the cooperation it will provide during transition, since a contract that is silent on these points leaves you negotiating under pressure.

Finally, agree the notice periods, termination assistance and data deletion in writing. Confirm how long the vendor keeps backups after termination, how it certifies deletion, and who pays for egress when you pull data out. Ask the vendor to confirm which parts of the BYOC stack remain its responsibility and which fall to you, so that responsibility for patching, backups and access reviews is not left ambiguous. This review is a question for your legal and procurement teams, not a conclusion this page can reach, so have counsel read the final terms against the GDPR and Data Act provisions before signing.

How DeployOpen deploys ClickHouse under a residency or access constraint

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For ClickHouse, that means the cluster, Keeper nodes, backups and access controls run where the client's compliance and security teams can review them.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • The written scope states which regions, accounts and network paths hold ClickHouse data, logs and backups.
  • Scope also records who holds administrative access, how SSO and external authenticators are configured, and who approves changes.

How we build

  • Deployment covers ReplicatedMergeTree tables coordinated by ClickHouse Keeper, with nodes placed inside the agreed VPC or data center.
  • Access controls cover user roles, LDAP, Kerberos, X.509 certificates or JWT authentication, with audit logging configured for review.
  • Backups use BACKUP and RESTORE to storage the client controls, followed by security testing of the cluster and its interfaces.

How we hand over

  • Handover includes architecture, network, access and backup documentation so the client's own team can operate the cluster.
  • A restore test on a spare cluster is included in the handover, so recovery is shown to work before go-live.
  • Evidence packs for compliance reviews describe controls and their configuration, without claiming any audit outcome.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the initial scope.
  • Upgrade planning reads the changelog, tests on a pre-production environment with representative data, and follows the supported release lines.
  • Retainers can include periodic restore tests and retesting after fixes, so access and residency controls stay verified over time.

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.