---
title: "Building ClickHouse BYOC (Bring Your Own Cloud) on AWS"
description: "ClickHouse BYOC on AWS splits a ClickHouse-hosted management plane from a data plane EKS cluster in the customer's VPC, provisioned automatically with CloudFormation and Crossplane."
url: "https://swe.quest/articles/building-clickhouse-byoc-bring-your-own-cloud-on-aws-c91a130e01901112"
canonical: "https://clickhouse.com/blog/building-clickhouse-byoc-on-aws"
source: "ClickHouse"
published: "2025-03-12"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["cloud","kubernetes","identity-auth","networking","multi-tenancy"]
---

# Building ClickHouse BYOC (Bring Your Own Cloud) on AWS

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-03-12, 13 min read, Case study. Original: [https://clickhouse.com/blog/building-clickhouse-byoc-on-aws](https://clickhouse.com/blog/building-clickhouse-byoc-on-aws)

## Summary

ClickHouse BYOC on AWS splits a ClickHouse-hosted management plane from a data plane EKS cluster in the customer's VPC, provisioned automatically with CloudFormation and Crossplane. Support access is approved, audited, time-bound and routed through Tailscale. Engineers authenticate with temporary certificates tied to a ClickHouse user profile that can read only system tables such as query\_log, never customer data. Custom Profiles with node-group labels and node selectors replaced the default scheduler plus cluster autoscaler, which had wasted resources because of DaemonSet overhead and poor scale-in behaviour on m7gd node pools. Customers choose maintenance windows for upgrades, and ClickHouse handles EKS version maintenance.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)

## Prerequisites

- AWS VPC and IAM ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- Kubernetes scheduling basics ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Amazon EKS

## Keywords

ClickHouse Cloud, AWS EKS, Tailscale, Crossplane, CloudFormation, AWS PrivateLink, Prometheus, Thanos

## Related posts

- [Building ClickHouse Cloud From Scratch in a Year](https://swe.quest/articles/building-clickhouse-cloud-from-scratch-in-a-year-f29d54507578a627.md): ClickHouse · 2023-03-16 · Medium · 23 min read · System design, Cloud platforms, Kubernetes, Analytics & OLAP, Multi-tenancy
  ClickHouse Cloud was built in about a year on a "shared everything" architecture: compute and storage are separated, object storage (S3/GCS) is the primary store, and local SSDs handle caching and metadata.
- [Introducing external backups on ClickHouse Cloud](https://swe.quest/articles/introducing-external-backups-on-clickhouse-cloud-84e5ffc55ba6991c.md): ClickHouse · 2025-10-14 · Medium · 7 min read · Analytics & OLAP, Cloud platforms, Databases
  ClickHouse Cloud can now export service backups to a customer-owned bucket on AWS, GCP or Azure, in any region of the same provider.
- [Building ClickHouse Cloud on Microsoft Azure](https://swe.quest/articles/building-clickhouse-cloud-on-microsoft-azure-86802b5b3f00450d.md): ClickHouse · 2024-06-25 · Medium · 15 min read · Cloud platforms, Kubernetes, Multi-tenancy, Networking, Scaling
  ClickHouse Cloud's Azure data plane reuses its CSP-neutral design (AKS, Blob Storage, VNETs, Entra ID, managed Cilium) but had to adapt to several Azure-specific constraints.
- [Agentic infrastructure with clickhousectl: a distributed ClickStack across three continents](https://swe.quest/articles/agentic-infrastructure-with-clickhousectl-a-distributed-clickstack-across-three-d01a61602ef37a05.md): ClickHouse · 2026-07-22 · Medium · 7 min read · Observability, AI agents, Analytics & OLAP, Developer tools, Cloud platforms
  A coding agent using the clickhousectl CLI stood up three ClickHouse Cloud services in us-east-1, eu-west-1 and ap-northeast-1, each ingesting OpenTelemetry logs, traces and metrics locally, with a federated global view in Europe for the ClickStack UI.
- [Introducing Warehouses: Compute-compute separation in ClickHouse Cloud](https://swe.quest/articles/introducing-warehouses-compute-compute-separation-in-clickhouse-cloud-1fc38498daa39db3.md): ClickHouse · 2025-01-27 · Medium · 10 min read · Analytics & OLAP, Multi-tenancy, Cloud platforms, Distributed databases
  ClickHouse Cloud Warehouses let multiple services, each with its own endpoint, compute nodes, sizing, idling and network access rules, read and write the same data, isolating workloads such as ingestion, BI dashboards and ad-hoc analysis.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
