Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 10 min read Opinion easyNovice

What is BYOC (Bring Your Own Cloud)? A Developer's Guide for 2026

Real BYOC (Bring Your Own Cloud) splits a managed platform into a vendor-hosted control plane, which holds only infrastructure metadata, and a data plane in the customer's own cloud account. User traffic must flow directly into the customer's VPC. If the vendor's load balancer terminates traffic and forwards it, that is SaaS with a private link, not BYOC. The model earns its operational cost only for four needs: strict regulatory tenant boundaries, data residency, burning down committed cloud spend, and targeting reserved GPU capacity. For everyone else, IAM, VPC peering and Kubernetes upgrades are a tax, and the landscape covered includes Northflank, Aiven, Coherence, Cloudflare Workers for Platforms and hyperscaler options like EKS Anywhere.

Assumes: cloud VPCs and IAMPaaS concepts

Related posts

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

    ClickHouse mediumAdept

    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.

  • How we built a secure, performant, multi-tenant cloud platform to run untrusted code

    Deno mediumAdept

    Deno Deploy runs untrusted JavaScript and TypeScript in pools of V8 isolates inside VMs called runners, split into a control plane for deployments and a data plane of edge regions. At deploy time, code is transpiled with swc, all dependencies are vendored and ordered breadth-first so they can be streamed into V8, and the bundle is replicated to regional buckets. Postgres stays off the critical path, and edge proxies keep an in-memory domain-to-deployment table. Requests arrive via Anycast, and the proxy picks a runner using heuristics over CPU and memory load. Isolation combines namespaces, cgroups, seccomp and a watchdog process, built against a five-point tenant threat model.

  • How OrderServ achieved up to 64% cost savings with multi-tenant ECS

    AWS Architecture Blog mediumAdept

    Cognizant's OrderServ food-ordering platform moved from one dedicated ECS Fargate cluster per brand (21 microservices each) to a shared multi-tenant cluster. Isolation is enforced by a .NET tenancy library that resolves tenant context per request with AsyncLocal, routes data access with tenant prefixes and fails closed, backed by STS session-tag scoped credentials and per-tenant Valkey RBAC. Switching from Fargate to EC2 Auto Scaling warm pools on Bottlerocket cut scale-out from 5–7 minutes to 30–60 seconds and compute cost by 47–64% with Savings Plans, using a five-layer scaling strategy that includes per-tenant throttling. A FireLens and EventBridge crash-observability pipeline with EFS-persisted .NET mini dumps costs about $10/month per service, and passkeys replaced SMS OTP to cut authentication costs by 80%.

  • Railway vs Cloudflare: How Their Architectures Differ and When to Use Each

    Railway mediumAdept

    Railway and Cloudflare's Developer Platform feel similar on the surface but rest on opposite compute models. Railway runs long-lived regional containers with stable in-memory state, persistent volumes and up to 32 vCPU/32 GB per instance. Cloudflare Workers are edge-first, single-threaded V8 isolates capped at 128 MB memory and CPU-time limits, with no filesystem or reliable global state, so state needs Durable Objects, KV, D1, R2 or external databases via Hyperdrive. The recommended pattern is to combine them, with Cloudflare as the global front door (CDN, caching, routing, security) and Railway hosting stateful backends, databases and long-running work.

  • Building ClickHouse Cloud From Scratch in a Year

    ClickHouse mediumAdept

    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. Control Plane and Data Plane are decoupled by a REST API façade plus SQS/PubSub for async events. Key infrastructure choices were managed Kubernetes (EKS) over kOps, Cilium over Calico for eBPF-based network isolation, Istio/Envoy SNI routing to get around per-account NLB limits, and shared S3 buckets with per-service subpaths to avoid bucket limits. Auto-scaling uses a Knative-style idler that suspends idle pods and a custom scaler with disruption budgets suited to stateful services. Object storage forced extra work on caching, prefetching and write-cost optimization.

The quest for software engineering knowledge.

Look:
Layout: