Use multiple environments
Framework question: How do you reduce defects, ease remediation, and improve flow into production?
- Risk if not established
- Medium
- Framework verified
- 14 Nov 2026
AWS Well-Architected Framework — OPS05-BP08 Use multiple environments
Executive summary
Why this practice matters
Provide separate environments for experimenting, developing, testing and running the workload, with controls that become stricter as environments approach production. Build them from code so they stay consistent with production, and apply the same discipline to shared platform changes such as landing zones.
Business impact
- Stops experiments and load tests from causing outages for users.
- Lets developers work in parallel without overwriting each other's changes.
- Gives confidence that a change will behave in production as it did in testing.
- Reduces the risk of platform-wide changes breaking teams' ability to deploy.
Assign
Accountable and responsible roles
Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.
| Responsibility | Accountability type | Typical roles |
|---|---|---|
Provide and maintain environments Build environments from code, apply the right controls to each and shut down idle ones. Typical roles: Cloud / Platform Engineer, DevOps Engineer, Cloud / Platform Engineer, DevOps Engineer | responsible | Cloud / Platform EngineerDevOps EngineerCloud / Platform Engineer, DevOps Engineer |
Use the path to production Develop and test in the intended environments and promote changes rather than testing in production. Typical roles: Software Engineer, Quality Assurance / Test, Software Engineer, Quality Assurance / Test | responsible | Software EngineerQuality Assurance / TestSoftware Engineer, Quality Assurance / Test |
Own the environment strategy Decide which environments are needed, the controls for each and the cost accepted for them. Typical roles: Team Lead / Manager, Service Owner, Team Lead / Manager, Service Owner | accountable | Team Lead / ManagerService OwnerTeam Lead / Manager, Service Owner |
Assessment
Assessment and evidence state
States describe how far the practice has moved from intent to something continuously validated.
- 0
Not Assessed
No documented evaluation of the practice has been performed.
Indicators
- No one has examined which environments changes pass through before reaching users.
- 1
Not Implemented
The practice is absent or applied only ad hoc.
Indicators
- Work is developed or tested directly in production or a single shared environment.
- Tests and experiments regularly affect users.
- 2
Partially Implemented
The practice is applied to some workloads or components, with known gaps.
Indicators
- Separate environments exist, but some are hand-built and drift from production.
- Controls do not consistently increase towards production.
- 3
Implemented
The practice is applied consistently across defined scope, with evidence.
Indicators
- A defined path of environments is built from code with increasing controls.
- Load and fault testing run in production-equivalent environments.
- 4
Continuously Validated
The practice is regularly tested and improved from measured results.
Indicators
- Drift between environments is detected and corrected routinely.
- Platform and policy changes are tested in their own environment before rollout.
Assessment dimensions
Environment separation
Practice-specificAbsent · Partial · Operational and verified
Graduated controls
Practice-specificAbsent · Partial · Operational and verified
Consistency with production
Practice-specificAbsent · Partial · Operational and verified
Platform change testing
Practice-specificAbsent · Partial · Operational and verified
Caution
Do not award maturity for having several environments alone. Check that controls increase towards production, that environments are built from the same code as production, and that load and fault testing stays out of production.
Standard
What you should be able to demonstrate
Statements a reviewer should be able to confirm from evidence, not from intent.
- Developers have sandbox and individual environments with minimal controls for experimentation.
- Access, testing and change controls increase from development through staging to production.
- Environments are deployed with infrastructure as code that matches production controls.
- Load testing uses a production-equivalent environment, not production itself.
- Changes to shared platform capabilities are tested in a separate environment before rollout.
Trade-offs to hold in view
- Each additional environment adds cost and upkeep.
- Stricter controls near production can slow delivery.
- Production-equivalent environments for load tests are expensive to run.
Assess
Questions to ask
Each question exposes the difference between an intention and an operating practice.
- discovery
What environments does a change pass through before production, and what is each one for?
Establishes whether a defined path to production exists.
Usually asked by: DevOps Engineer, Cloud / Platform Engineer
- challenge
Where would we reproduce a production data-loss fault without taking the service offline?
Tests whether a safe, realistic environment is available when needed.
Usually asked by: SRE / Reliability Engineer, Quality Assurance / Test
- evidence
Can we show that staging and production are built from the same code with the same controls?
Requires proof of consistency rather than assumption.
Usually asked by: Cloud / Platform Engineer, Security Engineer
- executive
Has a test or platform change ever caused a production outage, and what has changed since?
Links environment separation to customer impact.
Usually asked by: Service Owner, Technology Executive
Evidence
Required and expected evidence
Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.
Cloud Account / Environment Segmentation Model
A current model of cloud account, subscription/project, environment and workload security boundaries, including grouping, ownership, inherited guardrails, delegated administration and exceptions.
Shows the environments in use, how they are separated and the controls applied to each.
Minimum expected content
- Current account/environment/workload inventory in scope
- Business, environment, sensitivity or compliance rationale for major boundaries
- Organisation/grouping structure and inherited policy/guardrail hierarchy
- Named owner or responsible team for each major boundary
- Delegated administration and privileged-access model
- Standard account/environment creation baseline
- Logging, security monitoring and configuration guardrails applied by default
- Cross-account/environment access patterns and constraints
- Approved exceptions with owner, rationale and review/expiry date
- Last reviewed date and material change triggers
Anti-patterns
- All workloads share one administrative account or subscription without a risk-based reason
- Accounts are created ad hoc with inconsistent logging, monitoring or guardrails
- Environment names imply separation but privileges or shared services bypass the boundary
- Ownership is inferred from billing labels only
- Exceptions become permanent undocumented architecture
- The diagram is current but policy inheritance and delegated administration are not represented
Review: Review after material organisation, account, environment, ownership, guardrail or compliance changes and periodically against the actual cloud estate.
Standard Security Control Baseline / IaC Template
Version-controlled, reusable security-control definitions and infrastructure-as-code templates that deploy approved baseline controls consistently across workloads, accounts or environments, with automated tests and guardrails.
Shows the infrastructure-as-code templates used to build environments consistently with production.
Minimum expected content
- Baseline/control package identity, version and owner
- Security control objectives implemented by the baseline
- Infrastructure-as-code, policy-as-code or configuration definitions
- Intended deployment scope/accounts/environments/workload classes
- Required inputs and permitted configuration variation
- Automated unit/static/policy/security tests
- Deployment pipeline and approval/change controls
- Guardrails preventing or detecting unsafe configuration
- Self-service consumption path for workload teams where applicable
- Drift/conformance monitoring after deployment
- Rollback/recovery and backup/version-retention approach
- Supported/deprecated versions and migration expectations
- Change history and review date
Anti-patterns
- A wiki page describes the baseline but teams implement it manually
- A central security team deploys every control by request
- Templates exist but have no automated security or policy tests
- Workload teams fork templates and cannot consume upstream security fixes
- Baseline success is measured by template deployment, not resulting control conformance
- Emergency manual changes are never reconciled back into code
- No supported-version or migration policy exists
Review: Review with every material baseline/template version and at a defined security-engineering cadence; retain version history and supported versions.
Diagnosis
Common evidence gaps
Testing in production
Load tests or reproductions of faults are run against live systems and affect users.
Crowded shared development
Developers share one environment and overwrite each other's work.
Environments drift apart
Hand-built environments differ from production, so tests pass but releases fail.
Untested platform changes
New controls or landing zone upgrades are applied directly and stop teams deploying or creating accounts.
Implementation
Implementation guidance
Define the environment path
Agree the environments a change passes through on its way to production and the purpose of each.
Increase controls towards production
Keep sandboxes permissive for experimentation and add stricter access, testing and approval as environments get closer to production.
Build environments from code
Use infrastructure as code and configuration management so each environment carries the same controls as production.
Test the platform separately
Give platform, network and security teams a separate environment, such as a separate organisation, to test landing zone and policy changes.
Turn off idle environments
Shut down non-production environments when they are not in use, and create production-equivalent ones only when needed, such as for load tests.
Measure
Measurements
- Share of environments built from infrastructure as code
- Incidents caused by testing or experiments in production
- Configuration differences found between staging and production
- Idle non-production environment hours
Related
Outcomes and practices
Business outcomes
Practices