Self-service environment platforms
On this page
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
- Environment: one complete, running copy of the product, with everything it needs to work: the app, its database, its storage, its network, its web address. “Staging” and “production” are environments. So is Acme’s copy.
- Tenant: whoever an environment, or a slice of one, belongs to. For a customer it’s usually a whole company; inside a company it might be a team [2]. In everyday speech a tenant rents an apartment, and the software sense is close: they use a space someone else owns and runs.
- Platform engineering: building and running the internal tools other engineers use to ship, treated as a product with its own users [1], [3]. The self-service platform is one of those products.
- Internal developer platform (IDP): Microsoft’s name for the platform a platform team builds for its own company’s developers [3]. People also say “IDP” for an identity provider, which is unrelated.
- Golden path (or paved path): the recommended, supported way to do a common job, packaged as a template plus docs, so the easy way and the right way are the same way [1], [3].
- Infrastructure as code (IaC): describing servers, networks, and databases in files that a tool reads and creates for you. Terraform and OpenTofu are the common ones [4].
- Control plane: software that takes a description of what should exist and keeps making it true [5]. In a SaaS business it also means the shared services that onboard, manage, and bill tenants, as opposed to the application plane, the product itself [6]. Both senses show up below and they overlap.
- GitOps: keeping the desired state of a deployment in git and letting an agent apply it. The GitOps primer covers it.
Where you’ll meet it
You may already have used one of these without calling it a platform:
- Preview environments (GitLab calls them review apps): every pull request gets its own temporary deploy, linked from the pull request, and it’s torn down when the pull request closes or after a set idle time [7]. Argo CD can do the same thing from Kubernetes by generating one deployment per open pull request [8].
- Developer portals like Backstage, where an engineer picks a template from a list, fills in a form, reviews it, and clicks Create [9].
- Cloud account vending: AWS’s Account Factory for Terraform creates a new, pre-configured AWS account when someone commits an account request file to git [10].
- SaaS sign-up: when a business customer signs up and gets their own workspace, the code behind that button is doing tenant onboarding, provisioning and configuring everything a new tenant needs, and AWS notes it can be started by the customer or by the provider [11].
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.
- 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. - 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]. - 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. - Deploy. It points app delivery at the new environment, and the same Ledgerly release every other customer runs gets deployed there.
- 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:
| Layer | Its job | Common choices |
|---|---|---|
| Front door | Where people ask: a web form, a CLI, an API, or a pull request | Backstage software templates [9], [12], a small internal web app, or just a git repository |
| Environment record | The list of environments that should exist, with their settings | Files in git, rows in a database, or Kubernetes objects |
| Orchestration | Runs the steps in order, retries, reports progress | A CI pipeline, Crossplane [5], or a workflow engine |
| Infrastructure | Accounts, networks, databases, DNS, certificates | Terraform or OpenTofu modules [13], [4], Crossplane compositions [14] |
| App delivery | Puts the right release of the app into the environment | Argo CD or Flux (GitOps primer) |
| Identity and secrets | Logins for people, credentials for the app | An identity provider, a secrets store |
| Observability and cost | Is it healthy, and what is it costing | Metrics 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 preview | Partner sandbox | Customer (Acme) | |
|---|---|---|---|
| Lifetime | Until the pull request closes, or a week idle [7] | Weeks to months, with an end date | Until the contract ends |
| Separation | Namespace in a shared cluster | Namespace, network-separated from internal tools | Own account or cluster |
| Data | Seeded fake data | Seeded fake data, reset on request | The customer’s own; backed up |
| App version | The branch being tested | The current release | The current release |
| Who logs in | Engineers | The partner’s people | The customer’s people |
| Who pays | Engineering budget | Partnerships budget | Comes out of the customer’s price |
| Failure cost | Low | Embarrassing | Contractual |
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:
- One release field, one value. Customer environments all point at the same release, and the platform rolls a new one out in waves, internal first, then partners, then customers, the same way it rolls anything out.
- No hand edits. A change to one environment goes through its record and the template, or it drifts. The reconcile loop in GitOps and Crossplane is the tool that keeps this true.
- Customization is configuration. If Acme needs a feature switched on, that’s a flag in their record that every environment understands, not a fork of the code.
- Every environment has an end. Previews expire on a timer [7] or when their pull request closes [8], sandboxes get an end date, and deleting a customer’s environment is a supported, tested path rather than an afternoon of clicking. Idle silos cost money every hour they exist [17].
- The control plane is not multi-tenant. The platform itself, the list of tenants and the code that onboards and upgrades them, is one shared system that sits outside every tenant [6]. Guard it accordingly, since it holds the keys to all of them.
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:
- 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.
- Make it repeatable. Run the same template twice with two names and get two working, independent environments. Then delete one cleanly.
- Put a front door on it. A pull request that adds
environments/<name>.yamland a pipeline that applies it is already self-service. A portal can come later. - 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.
- 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] ↩ 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] ↩ The Kubernetes Authors, “Multi-tenancy,” Kubernetes Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://kubernetes.io/docs/concepts/security/multi-tenancy/
- [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] ↩ a b OpenTofu, “What is OpenTofu?” OpenTofu Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://opentofu.org/docs/intro/
- [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] ↩ 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] ↩ a b c GitLab, “Review apps,” GitLab Docs. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.gitlab.com/ci/review_apps/
- [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] ↩ a b Backstage Project Authors, “Backstage Software Templates,” Backstage Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://backstage.io/docs/features/software-templates/
- [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] ↩ 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] ↩ Backstage Project Authors, “What is Backstage?” Backstage Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://backstage.io/docs/overview/what-is-backstage
- [13] ↩ a b HashiCorp, “Modules overview,” Terraform Language Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://developer.hashicorp.com/terraform/language/modules
- [14] ↩ a b The Crossplane Authors, “Compositions,” Crossplane Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://docs.crossplane.io/latest/composition/compositions/
- [15] ↩ HashiCorp, “Workspaces,” Terraform CLI Documentation. Accessed: Oct. 23, 2026. [Online]. Available: https://developer.hashicorp.com/terraform/cli/workspaces
- [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] ↩ 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] ↩ 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] ↩ 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] ↩ 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.