Whitepaper · WP-03
Ownership by design
Bring-your-own-cloud as an architecture for SaaS teams and the customers they serve.
How a control plane and a data plane in separate accounts change the answers to residency, billing, security review and exit, for your own infrastructure and for deployments in your customers’ clouds.
- Pages in print
- ≈11
- Read time
- 14 min
- Chapters
- 8
- Sections
- 27
Executive summary
The argument in 5 lines.
If you read nothing else, read these. Each one is developed in a chapter below.
- 01
Bring-your-own-cloud separates who operates the platform from who owns the infrastructure; it is not the same thing as self-hosting.
- 02
The control plane coordinates; the data plane (your workloads and your data) stays in your account, in your region, on your bill.
- 03
Access should be describable in one sentence. For Kapten: a service account you create on each cluster you connect, used by an agent Kapten installs, until you delete its token.
- 04
Exit is part of the architecture. Standard building blocks mean leaving is revoking a cluster's access, not rebuilding a platform.
- 05
The same model lets a SaaS vendor deploy into a customer’s cloud with a responsibility split both security teams can review.
Kapten · Whitepaper WP-03 · 13 October 2026
1. Two questions that used to have one answer
When a team adopts a hosting platform, two questions are usually answered together without anyone noticing that they are separate:
- Who operates the infrastructure? Who provisions it, upgrades it, patches it, watches it and gets paged when it fails.
- Who owns the infrastructure? Whose account it lives in, whose bill it appears on, whose region it sits in, whose audit trail records what happens to it.
A traditional platform-as-a-service answers both with “the vendor”. Self-hosting answers both with “you”. Bring-your-own-cloud (BYOC) is the architecture that answers them differently: the vendor operates, and you own.
That split is the subject of this paper. It is worth taking slowly, because the terms are used loosely. BYOC is frequently described as a flavour of self-hosting, and it is closer to the opposite. Self-hosting hands you the software and the operational burden. BYOC leaves the operating with the vendor and hands you the account it happens in.
| Question | Hosted PaaS | Self-hosting | BYOC |
|---|---|---|---|
| Who operates it?Provisions, patches, gets paged | Vendor | You | Vendor |
| Whose account? | Vendor | You | You |
| Whose bill and region? | Vendor | You | You |
| Whose audit trail? | Vendor | You | You |
| Operational burden on your team | No | Yes | Partial |
2. Control plane and data plane
The architecture rests on a separation that networking engineers will recognise.
The data plane
The data plane is everything that serves your users: the Kubernetes cluster, the containers running your services, the managed databases, the caches, the object storage, the load balancers, the network between them, and above all the data itself. In a BYOC architecture, all of this lives in your cloud account.
The control plane
The control plane is everything that decides what the data plane should look like and makes it so: the user interface, the API, the workflow engine, the history of deployments and the record of who changed what. In Kapten’s architecture, the control plane is the Engine, operated by Kapten.
The boundary between them
The two planes meet at a deliberately narrow point: an agent that Kapten installs on each cluster you connect, with a kubeconfig you give it. The agent carries out deployments for the Engine and reports their progress and logs back. Everything interesting about the security of the model is a property of that boundary.
- Engineers connects to Engine (https).
- AI agent connects to Engine (api).
- Engine connects to Kapten agent (kubeconfig).
- Kapten agent connects to Your services.
- Kapten agent connects to Databases.
| Data plane | Control plane | |
|---|---|---|
| Lives in | Your cloud account, on clusters you own | Kapten |
| Contains | Workloads, databases, volumes, network, application data | Organizations, projects, environments, run history, activity log |
| Billed by | Your cloud provider, on your invoice | Kapten, per environment minute |
| Keeps running if the other disappears | Yes, it serves traffic independently | No, it has nothing to manage |
| Audit trail | Your cluster’s and provider’s own logs | Kapten’s activity log |
The fourth row is the one that matters most. If the control plane is unavailable (for maintenance, for an outage, or because you have stopped using it), the data plane continues to serve your users. You lose the ability to deploy through Kapten until it returns, not the application.
3. The access boundary, precisely
Every BYOC vendor says “least privilege”. The useful version of that sentence names what the vendor can do. Here is what Kapten asks for, as the Connect a cluster guide describes it.
A service account you create
You create a service account on your cluster for Kapten, bind it to cluster-admin, and give Kapten a kubeconfig with its token. Kapten installs its agent with it. The cloud CLI’s usual kubeconfig is not used, so Kapten never holds your cloud credentials.
Broad on the cluster, absent elsewhere
cluster-admin is broad, and it is worth saying plainly: on a connected cluster, Kapten can create and change anything. That is why the useful boundary is the cluster itself. Connect clusters that run what Kapten deploys, and keep other systems on clusters Kapten does not know about. Kapten has no access to your cloud account beyond the clusters you connect and the managed databases you ask it to provision.
Isolated per environment
Each environment gets its own namespace on its cluster. Components of one environment reach each other inside that namespace; a database in one environment is not shared with another.
Recorded where you can see it
Every change made in your Kapten organization is recorded with who made it and when, in its activity log. Every deployment is a run, with its status, its timeline and its logs. On the cluster side, your Kubernetes audit log, if you enable it, records every call made by the service account.
The one-sentence test
The useful test of an access model is whether you can describe, in a single sentence, what the vendor could do on its worst day. For this model: deploy, change and delete workloads on the clusters you connected, as the service account you created, until you delete its token. If a vendor cannot give you an equivalent sentence, the policy is probably broader than it looks.
Agents inside the boundary
Coding agents add no reach of their own. An agent works with Kapten through the CLI’s local MCP server, with the roles of the login it runs as, and its changes go through the same Engine and the same agent on your cluster as any other. The agentic SRE covers how to keep that login narrow.
4. Residency, regions and the data question
The most common reason teams look at BYOC is a question from a customer, a regulator or their own legal counsel: where is our data?
With a hosted platform, the honest answer is “in our vendor’s account, in the regions they operate in, under their sub-processors”. That answer is often acceptable, but it is not yours to change.
With a BYOC architecture, the answer is your own architecture:
- You choose the region. You choose where your clusters run, and each environment runs on one of them. Databases run on that cluster, or in your provider’s managed service in your account.
- Application data does not transit the control plane. Requests from your users go to your load balancer in your account. What the control plane does see is metadata: resource identifiers, the configuration you manage through it, run status, and the logs the agent reports back.
- You can draw the diagram. For a security questionnaire or a data processing assessment, you can describe exactly what runs where, because it is in your account and you can inspect it.
Account layout
Ownership is easier to reason about when the account structure reflects it. A layout that works well for most teams:
- One cluster per environment class. Production on its own cluster, development and staging on another. A mistake in staging cannot reach production resources, because they are not on the same cluster, and each cluster’s access is granted separately.
- One region per production environment, chosen deliberately. Multi-region is a real requirement for some applications and an expensive habit for others. Start with the region your users and your data obligations point to.
- Shared services kept apart. Your existing VPCs, identity configuration, billing tooling and anything else you run stay on clusters and accounts Kapten is not connected to.
This is an example, not a prescription. Teams with an existing landing zone or organisation structure should fit Kapten’s clusters into it rather than the reverse.
Data residency in practice
It is important to be precise here, because overstatement is common. BYOC does not make data residency automatic. Observability data, build artefacts, support access and any third-party services your application uses each need their own answer. The architecture makes those answers yours to give; it does not give them for you.
5. Bills, credits and commitments
The second most common reason is money, and it is less obvious than it looks.
The resources are on your invoice
Infrastructure usage appears on your cloud provider’s bill, at your provider’s prices. Kapten bills separately, per environment minute, with no markup on compute or storage.
Your existing agreements apply
Because usage is in your account, it counts towards whatever you already have with the provider: startup credits, committed-spend agreements, reserved capacity, savings plans, enterprise discounts and marketplace arrangements. For teams that have negotiated these, a hosted platform’s resources are invisible to them. A BYOC platform’s resources are not.
| Step | Change (pts) | Running total |
|---|---|---|
| Usage at list price | 100 pts | 100 |
| Committed-spend discount | −12 pts | 88 |
| Savings plans, reserved capacity | −18 pts | 70 |
| Startup or migration credits | −25 pts | 45 |
| Your cloud invoice | 45 pts | 45 |
Cost is visible at the source
Your finance team sees infrastructure spend where they already look for it. Kapten’s own bill counts environments, not infrastructure, so the two never overlap.
The trade-off
Owning the bill also means owning its surprises. A hosted platform absorbs some cost variability into a flat price; a BYOC deployment exposes it. That is why your provider’s budgets and alerts, and regular reviews of idle environments, are part of the operating model rather than optional extras.
| Point | Monthly cloud bill (index) (pts) | Event |
|---|---|---|
| Jan | 62 | |
| Feb | 66 | |
| Mar | 64 | |
| Apr | 70 | |
| May | 73 | |
| Jun | 71 | |
| Jul | 84 | |
| Aug | 96 | Alert: load test left on |
| Sep | 79 | Event: idle cleanup |
| Oct | 74 | |
| Nov | 76 | |
| Dec | 75 |
6. Exit as a design requirement
The quality of an architecture shows most clearly at its end. A platform you can only leave by rebuilding is a platform you are locked into, whatever its contract says.
Standard building blocks
Kapten deploys onto conventional infrastructure: your own Kubernetes clusters, standard namespaces, and in-cluster or provider-managed databases. Nothing your applications need to keep running depends on Kapten’s control plane. Your workloads are container images in a registry you can read.
What leaving looks like
If you stop using Kapten:
- Revoke access. Delete the service account’s token on each cluster, and Kapten can no longer act on it.
- Your applications keep serving traffic. The cluster, the databases and the network are unchanged.
- Your team takes over operations: upgrades, certificates, scaling, backups, monitoring, deployments.
- T+0Access revokedYou delete the service account token Kapten uses.
- ImmediatelyKapten loses the cluster, PausedThe agent can no longer deploy for the Engine.
- UnchangedApplications keep serving, LiveCluster, databases and network stay as they were.
- NextYour team takes over, In progressUpgrades, backups, monitoring and deployments.
Step three is real work, and it should be planned rather than discovered. A reasonable exit plan answers, before you need it:
- Who will operate the cluster and apply upgrades?
- How will deployments run: which pipeline, which tooling?
- Where will monitoring and alerting come from?
- Who owns backups and has tested a restore?
- Which namespaces and components did Kapten create, and which of those should remain? (Its own live in namespaces starting with
kapten.)
Exit as the natural next step
For many teams, leaving a managed operations layer is not a failure but a milestone: the point at which they hire a platform team. The most useful thing an operations platform can do for that team is to hand over an inventory of standard, documented resources rather than an opaque system to be reverse-engineered.
7. Deploying into your customers’ clouds
The same architecture extends naturally to a harder problem: a SaaS vendor whose customers want the software to run inside their cloud account.
Enterprise customers ask for this for the same reasons as above (residency, procurement through their own cloud agreements, data that never leaves their perimeter), and it has historically been expensive to offer. Each customer deployment becomes a bespoke installation, operated by a vendor team that has to negotiate access separately every time.
Three parties, three boundaries
With BYOC, the customer deployment has three parties:
- The customer owns the account, the data and the bill.
- The vendor owns the application and its releases.
- Kapten deploys the application onto the customer’s cluster, through an agent installed with a kubeconfig the customer provides.
Each boundary can be described in the same one-sentence style, and each can be reviewed by the customer’s security team.
A repeatable shape
The practical value is repeatability. The vendor defines the application’s shape once (services, data stores, configuration), and each customer environment is an instance of it in a different account and region, with its own secrets and its own owner. Releases follow the same pipeline for every customer, so the vendor’s release process does not fork per customer.
Kapten’s documented unit is one cluster per connection and one environment per cluster. Automated fleet rollout, reseller workflows and dynamic customer provisioning are not part of it today; scope them with the Kapten team before you commit to them.
Onboarding a customer, step by step
An illustrative sequence for a first customer pilot:
- AccountDedicated account in the customer org.
- Gate: Customer grantsAccessCustomer creates the service account.
- Gate: Security reviewConfigureEnvironment, secrets, components.
- Gate: HealthReleaseSame path as every environment.
- OperateAgreed windows and contacts.
- Agree the account model. A dedicated account and cluster in the customer’s organisation is the cleanest option. The customer’s cloud team creates them, or nominates existing ones.
- Agree the access model. The customer creates the service account and its token from commands they can read in full, and decides who on their side is notified of changes.
- Instantiate the application shape. The vendor’s services, data stores and configuration become an environment on the customer’s cluster, with customer-specific secrets entered by the people entitled to hold them.
- Review it together. The customer’s security team reviews the components, the namespaces and the access before the first release.
- Release. The vendor’s release goes out through a pipeline, behind readiness checks, following the same path as every other environment.
- Agree the operating rhythm. Release windows, incident contacts, upgrade notice periods and the exit procedure are written down before the first incident, not during it.
The point of writing this sequence down is that the second customer should be faster than the first, and the tenth should be routine.
Shared responsibility
| Area | Customer | SaaS vendor | Kapten |
|---|---|---|---|
| Cloud account, billing and region | Owns and chooses | Advises on sizing | Deploys within it |
| Access to the cluster | Creates and can revoke the service account | Agrees the access model with the customer | Uses only the kubeconfig it was given |
| Application code and releases | Approves change windows if required | Builds, tests and approves releases | Runs deployments and pipelines, records each run |
| Application data | Owns; sets retention and access policy | Defines schema and migrations | Generates database credentials as secrets |
| Infrastructure operations | Operates the cluster | Escalates application issues | Installs and updates its agent |
| Security review | Assesses the deployment | Answers for the application | Answers for the platform and the access boundary |
| Incident response | Is informed per agreed terms | Owns application incidents | Owns platform incidents |
The split will differ for every contract. Its value is that the conversation starts from a written split rather than an assumption.
8. Questions for a security review
Whether you are adopting BYOC for your own infrastructure or reviewing a vendor who wants to deploy into yours, these are the questions worth asking. They apply to Kapten and to any other vendor.
Access
- What exactly is the vendor’s identity allowed to do? Can the vendor describe the worst case in one sentence?
- Is any long-lived credential stored by the vendor? Where, and how is it rotated?
- Can access be revoked immediately, and what keeps running afterwards?
- Which clusters, accounts or resources are out of the vendor’s reach, and how is that enforced?
Data
- Which data, if any, leaves the account? Logs, metrics, build artefacts, configuration?
- Can the vendor read database contents? Under what circumstances?
- Where is control-plane metadata stored, and in which region?
Agents
- Which actions can agents take, and with whose permissions?
- How are agent actions attributed to people or machine identities?
- How is untrusted content (logs, repositories) prevented from becoming instructions?
- Are agent actions distinguishable in the audit trail?
Operations and exit
- What happens to running workloads if the control plane is unavailable?
- What is the documented process for leaving? What is handed over?
- Who is responsible for upgrades, patches and backups, and how is that verified?
Evidence
- Which claims are backed by documentation you can read, and which by assurances?
- Which certifications does the vendor hold today, as opposed to plan to hold?
The last question deserves emphasis. During early access, verify every security claim, including ours, against documentation and the policies you are asked to deploy, rather than against marketing pages.
Where to start
- Review security and access for the boundary described in this paper.
- Explore bring your own cloud and the SaaS vendor solution.
- Work through the customer-cloud deployment guide before a first customer pilot.
- See how coding agents act within the same boundary on the MCP overview, and read Connect a cluster in the docs for the exact access Kapten asks for.
- Request early access with your target account model and the questions your security team will ask.
End of WP-03
Next: The deploy gap
Why software written with AI stalls before production, and what closes the gap.
Build with Kapten
Start with one service.
Build from there.
Tell us what you want to deploy. We review each request and follow up about fit and onboarding on your preferred cloud.
Free during early access. No card required. Cloud usage billed separately.