camzabriskie.com

Primers › Deployment

Self-service environment platforms

03 / 06 updated Oct 23, 2026
On this page
  1. A few terms
  2. Where you’ll meet it
  3. One request, step by step
  4. The layers
  5. How separate is each copy?
  6. Three requests, three sets of settings
  7. Day two: keeping the copies alike
  8. Where to start
  9. References

A small company sells an invoicing app called Ledgerly. In the same week three people ask for their own copy of it. A developer wants one to try a change before it merges. A partner building an integration wants a sandbox they can poke at for a month. And sales has just signed Acme, a customer who will only buy if their data sits in an environment nobody else shares. Today each request is a ticket to the only engineer who knows how to build an environment, and each one takes a few days of their time.

A self-service environment platform replaces those few days with a form, a command, or a pull request. The person asking fills in what they need, and automation builds the environment, deploys the app into it, and hands back a URL and a login. Nobody on the platform team has to touch it. The CNCF’s white paper on platforms gives this as a defining property: users “must be able to request and receive capabilities autonomously and automatically,” and one of the more mature things a platform can offer is complete environments built from templates [1].

This primer follows Ledgerly’s three requests through one such platform. It doesn’t assume you’ve built one, and it stays at the level of how the pieces fit, with tool names as examples rather than recommendations.

A few terms

Where you’ll meet it

You may already have used one of these without calling it a platform:

Ledgerly’s platform has to do all four jobs, and underneath they’re the same machine with different settings.

One request, step by step

Acme’s request goes through the platform like this. The developer’s and the partner’s requests take the same path with different settings.

Three kinds of requester share one front door. Teal arrows follow Acme's request. The platform team builds steps 2 to 5 once and every request reuses them.

  1. Request. Someone from sales opens the platform’s form and picks the “dedicated customer” template, then fills in a name (acme), a region, and a size.
  2. Record. The platform writes that down as a new environment in its list. Often the record is a small file committed to git, so every environment that exists has a reviewed line somewhere saying why. AWS’s account factory works this way: the account request is a Terraform file pushed with a plain git push [10].
  3. Provision. The control plane runs the infrastructure step: a cloud account or a namespace for Acme, a network, a database, storage, a DNS name like acme.app.example.com, a certificate for it.
  4. Deploy. It points app delivery at the new environment, and the same Ledgerly release every other customer runs gets deployed there.
  5. Hand off. It creates Acme’s first admin user, and the platform sends the URL and login back to whoever asked.

Step 1’s record might look like this. The format is made up, because every platform invents its own, but they all carry roughly these fields:

# environments/acme.yaml
name: acme
template: dedicated-customer   # which golden path to follow
owner: sales@example.com       # who to ask before deleting it
region: us-east
size: medium
release: 2026.10.2             # app version; usually the same for every tenant
expires: never                 # a preview might say 7d, a partner sandbox 30d

The template line is the golden path at work. The person filling in the form doesn’t choose a database engine or a network layout; the template already chose, and the platform team keeps those choices in one place.

The layers

Each step in the diagram is a layer you can build or buy separately. The CNCF white paper lists the capabilities a platform tends to offer and gives open-source examples for each [1]. The ones an environment platform needs are these:

LayerIts jobCommon choices
Front doorWhere people ask: a web form, a CLI, an API, or a pull requestBackstage software templates [9], [12], a small internal web app, or just a git repository
Environment recordThe list of environments that should exist, with their settingsFiles in git, rows in a database, or Kubernetes objects
OrchestrationRuns the steps in order, retries, reports progressA CI pipeline, Crossplane [5], or a workflow engine
InfrastructureAccounts, networks, databases, DNS, certificatesTerraform or OpenTofu modules [13], [4], Crossplane compositions [14]
App deliveryPuts the right release of the app into the environmentArgo CD or Flux (GitOps primer)
Identity and secretsLogins for people, credentials for the appAn identity provider, a secrets store
Observability and costIs it healthy, and what is it costingMetrics and logs per environment, cost tagged per environment

The infrastructure layer comes in two styles, and the choice shapes the orchestration layer too.

Run a tool per environment. A pipeline runs Terraform or OpenTofu with that environment’s settings. A module is a reusable bundle of resources, and HashiCorp’s guidance for building the same kind of thing again and again, “such as networking resources for new development environments,” is to write one module and reuse it [13]. Each environment then gets its own small configuration that calls the module and its own state (Terraform’s record of what it created). Terraform also has a feature called workspaces that looks like it should give one copy per tenant, but its own docs say workspaces share one backend and credentials, so they aren’t a suitable boundary between deployments that need different access controls; the suggested alternative is the module plus a separate configuration per instance [15].

Run a control plane that never stops. Crossplane adds your own object types to Kubernetes, say a LedgerlyEnvironment, and when someone creates one it builds every resource the template lists, then keeps watching and puts things back if they drift [5], [14]. Creating a tenant becomes creating one object, and deleting it removes the rest. That’s the same reconcile loop GitOps uses, applied to infrastructure.

The first style is easier to start with and easier to read. The second gives you one API for “make an environment” that the front door can call, and drift correction for free, at the cost of running Kubernetes and learning Crossplane.

How separate is each copy?

“A fresh version of the environment” can mean very different amounts of separation. AWS’s SaaS guidance names the two ends: in the silo model a tenant gets dedicated resources, anything from its own database up to a fully independent stack, and in the pool model tenants share the same resources [16]. The bridge model sits between them: some parts of the system siloed, some pooled, chosen per component [16]. Silos are simpler to isolate and keep a failure inside one tenant; pools cost less and give one place to manage and deploy [17], [18].

A platform that “spins up a fresh environment” is building silos, at least for some tenants, and AWS describes a common mix: basic-tier tenants share a pool, and premium tenants pay for their own stack [19]. The customer separation primer walks through the options from one end to the other.

Three requests, three sets of settings

Ledgerly’s three requesters want the same machine with different settings. These defaults are a reasonable starting point, not rules:

Developer previewPartner sandboxCustomer (Acme)
LifetimeUntil the pull request closes, or a week idle [7]Weeks to months, with an end dateUntil the contract ends
SeparationNamespace in a shared clusterNamespace, network-separated from internal toolsOwn account or cluster
DataSeeded fake dataSeeded fake data, reset on requestThe customer’s own; backed up
App versionThe branch being testedThe current releaseThe current release
Who logs inEngineersThe partner’s peopleThe customer’s people
Who paysEngineering budgetPartnerships budgetComes out of the customer’s price
Failure costLowEmbarrassingContractual

The rows that differ most are lifetime, data, and who logs in. Those become fields in the template, and the rest of the machine stays the same.

Day two: keeping the copies alike

Making the first copy is the easy half. Day two is everything after: upgrades, certificate renewals, security patches, backups, and eventually deletion, now multiplied by every copy that exists.

Even when premium tenants get their own stack, those stacks shouldn’t allow “any one-off variation or customization.” Every silo runs the same configuration and the same version, and a new release goes to the pool and every silo [19]. AWS draws the line between SaaS and a managed service provider: an MSP automates installing each customer’s environment but lets each one run whatever version that customer wants, and treats them as separate operations. AWS’s summary is that “automating the install of environments does not equate to having a SaaS environment” [20]. A platform that can create Acme’s copy but upgrades it by hand is the MSP model, whatever it’s called.

So a few rules tend to fall out:

Where to start

The CNCF paper says a platform should be “the thinnest reasonable layer” over services that already exist, and that the simplest possible platform could be a wiki page linking to the steps for provisioning things [1]. It also lists a progression, starting with developers provisioning single capabilities like a database on demand and ending with complete environments from templates [1]. A full environment platform sits near the far end of that list, so most teams get there in stages:

  1. Write the environment down. One template, in IaC, that builds a complete Ledgerly from nothing with no manual steps. Until this exists nothing else can be automated, and finding the manual steps is most of the work.
  2. Make it repeatable. Run the same template twice with two names and get two working, independent environments. Then delete one cleanly.
  3. Put a front door on it. A pull request that adds environments/<name>.yaml and a pipeline that applies it is already self-service. A portal can come later.
  4. Start with one audience. Developer previews are the safest first users, because they’re short-lived and a broken one costs little. Customers come last.
  5. Measure it. The CNCF paper suggests tracking the time from request to a usable environment, among other things [1]. If it’s a few days today, watch it drop.

The rest of this series goes from here: separating customers compares the ways to keep customers apart, then an AWS account set per customer builds the most separated one and the fully pooled version builds the least.

Build or buy?

Every layer in the table above has both open-source pieces and commercial products, and some vendors sell the whole stack, front door to teardown. The CNCF paper’s advice is that platform teams should rely on providers and existing services as much as possible and build their own capabilities only when nothing suitable is available [1]. In practice the layer a company usually ends up owning is the template itself, because only that company knows what a complete copy of its product contains.

References

Show all 20 sourcesHide sources
  1. [1] ↩ a b c d e f g h CNCF TAG App Delivery Platforms Working Group, “CNCF Platforms White Paper,” CNCF TAG App Delivery. Accessed: Oct. 23, 2026. [Online]. Available: https://tag-app-delivery.cncf.io/whitepapers/platforms/
  2. [2] ↩ The Kubernetes Authors, “Multi-tenancy,” Kubernetes Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://kubernetes.io/docs/concepts/security/multi-tenancy/
  3. [3] ↩ a b c Microsoft, “What is platform engineering?” Microsoft Learn: Platform Engineering. Accessed: Oct. 23, 2026. [Online]. Available: https://learn.microsoft.com/en-us/platform-engineering/what-is-platform-engineering
  4. [4] ↩ a b OpenTofu, “What is OpenTofu?” OpenTofu Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://opentofu.org/docs/intro/
  5. [5] ↩ a b c The Crossplane Authors, “What's Crossplane?” Crossplane Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.crossplane.io/latest/whats-crossplane/
  6. [6] ↩ a b Amazon Web Services, “Control plane vs. application plane,” SaaS Architecture Fundamentals (AWS whitepaper). Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/whitepapers/latest/saas-architecture-fundamentals/control-plane-vs.-application-plane.html
  7. [7] ↩ a b c GitLab, “Review apps,” GitLab Docs. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.gitlab.com/ci/review_apps/
  8. [8] ↩ a b The Argo Project, “Pull Request Generator,” Argo CD Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-Pull-Request/
  9. [9] ↩ a b Backstage Project Authors, “Backstage Software Templates,” Backstage Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://backstage.io/docs/features/software-templates/
  10. [10] ↩ a b Amazon Web Services, “Overview of AWS Control Tower Account Factory for Terraform (AFT),” AWS Control Tower User Guide. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/controltower/latest/userguide/aft-overview.html
  11. [11] ↩ Amazon Web Services, “Tenant onboarding,” SaaS Lens, AWS Well-Architected Framework. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/wellarchitected/latest/saas-lens/tenant-onboarding.html
  12. [12] ↩ Backstage Project Authors, “What is Backstage?” Backstage Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://backstage.io/docs/overview/what-is-backstage
  13. [13] ↩ a b HashiCorp, “Modules overview,” Terraform Language Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://developer.hashicorp.com/terraform/language/modules
  14. [14] ↩ a b The Crossplane Authors, “Compositions,” Crossplane Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.crossplane.io/latest/composition/compositions/
  15. [15] ↩ HashiCorp, “Workspaces,” Terraform CLI Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://developer.hashicorp.com/terraform/cli/workspaces
  16. [16] ↩ a b Amazon Web Services, “Silo, pool, and bridge models,” SaaS Lens, AWS Well-Architected Framework. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/wellarchitected/latest/saas-lens/silo-pool-and-bridge-models.html
  17. [17] ↩ a b Amazon Web Services, “Silo isolation,” SaaS Tenant Isolation Strategies (AWS whitepaper), Aug. 2020. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/whitepapers/latest/saas-tenant-isolation-strategies/silo-isolation.html
  18. [18] ↩ Amazon Web Services, “Pool isolation,” SaaS Tenant Isolation Strategies (AWS whitepaper), Aug. 2020. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/whitepapers/latest/saas-tenant-isolation-strategies/pool-isolation.html
  19. [19] ↩ a b Amazon Web Services, “Full stack silo and pool,” SaaS Architecture Fundamentals (AWS whitepaper). Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/whitepapers/latest/saas-architecture-fundamentals/full-stack-silo-and-pool.html
  20. [20] ↩ Amazon Web Services, “SaaS vs. Managed Service Provider (MSP),” SaaS Architecture Fundamentals (AWS whitepaper). Accessed: Oct. 23, 2026. [Online]. Available: https://docs.aws.amazon.com/whitepapers/latest/saas-architecture-fundamentals/saas-vs.-managed-service-provider-msp.html

Every source cited across the primers is collected on one page.