An over-constrained set of environments, with formal change management in front of every one, is one of the primary barriers to innovation and motivation in large enterprises. Outsourcing operations without API-driven, self-service infrastructure makes every change expensive and puts a permanent negative pressure on business agility. That part of the original argument stands, and public cloud and Infrastructure as Code have made the alternative the default rather than the aspiration.

Because the H-Model maps pipeline stages, levels of done and environments onto each other, we start with four environment types.

Four environment types, the pipeline stage each serves and the level of done it provesDevelopmentcloud dev environment,dev container or laptopprovesDevelopedephemeral per personContinuous integrationbuild agents, ephemeralstacks per changeprovesUnit and system testedephemeral per changeTestintegration,performance, security,acceptanceprovesIntegration tested, useracceptedper release or sharedUserproduction: devices,cloud, edge, saleschannelsprovesBusiness acceptance,valuelong-lived, observedInfrastructure as Code, one pipeline, same definition for every environmentEnvironments move through levels of done too: a change to the platform is promoted like a change to a product.The test environment that is 'nearly like production' is where the escaped Problems come from. Make it the same.
Four environment types, the pipeline stage each serves and the level of done it proves. The same code defines all of them.

Two things are different now. Environments are now disposable: a CI environment is a stack that exists for the life of one pull request, and a test environment for one release. And environments themselves move through levels of done. A change to the platform (a new base image, a network policy, an identity configuration) is a change like any other, promoted through the same stack with the same evidence. Containerisation and Infrastructure as Code are what make that possible; the containers and PaaS pages cover the mechanics.

The test environment that is “nearly like production” deserves a special mention, because it is where escaped Problems come from. Every difference between the top-level test environment and the User Environment is a fringe case nobody will test. Make them the same, or make the difference a known, listed, deliberate one.

Developer environments, zero trust and the wishlist

The classic developer wishlist: the operating system of their choice, lots of fast storage, unfiltered internet access, personal configuration, permission to install anything, two screens, a proper keyboard. The underlying argument is still right: developers produce the thing the business sells, so friction in their environment is systemic inefficiency, and restrictions should be applied because they are right, not because they are easy. Half the list, though, now reads as a security incident waiting to happen. Zero trust (NIST SP 800-207, 2020) assumes no device and no network is trusted by default, privileged access is time-bound and audited, and endpoints are managed. “Unfiltered internet and install anything on a laptop that also holds production credentials” is not compatible with that, and should not be.

The resolution is not to pick a side. It is the design that refuses the trade-off: cloud development environments and dev containers. The developer’s workstation becomes a managed, zero-trust endpoint that runs a browser and an IDE client. The actual development environment is a container or cloud workspace defined in the repository, provisioned in seconds, with the tools pre-installed, broad internet access inside a sandbox that holds no standing production credentials, and personal configuration layered on top. Developers get the frictionless environment they were promised. Security gets a managed endpoint, short-lived credentials and an audit trail. Onboarding drops from a week of install scripts to opening a link. This is also the environment that coding agents run in, for the same reasons: an agent with a shell needs a sandbox, not a laptop.

Give developers the operating system, screens and keyboard they ask for. Those were never the security problem.

Last updated