OPS06-BP02Operational ExcellenceOPS63 of 4 practices publishedReference content

Test deployments

Framework question: How do you mitigate deployment risks?

Risk if not established
High
Framework verified
14 Nov 2026

AWS Well-Architected Framework — OPS06-BP02 Test deployments

Executive summary

Why this practice matters

Test the release procedure itself, not just the change, by running it in pre-production with the same configuration, security controls and steps as production. Check that every step completed as expected, then run functional, integration and load tests and confirm health checks work, so deployment problems are found and mitigated before production.

Business impact

  • Prevents production incidents caused by incomplete or incorrect deployment steps.
  • Catches misconfigurations, such as certificates installed in the wrong place, before users see them.
  • Increases confidence in production releases without slowing delivery.
  • Reduces the troubleshooting and escalation that follows untested releases.

Assign

Accountable and responsible roles

Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.

ResponsibilityAccountability type

Automate deployment validation

Build pre-checks, deployment validation steps and post-deployment tests into the pipeline.

Typical roles: DevOps Engineer, Cloud / Platform Engineer, DevOps Engineer, Cloud / Platform Engineer

responsible

Design and run release tests

Define functional, integration, load and health-check tests and review their results before approval.

Typical roles: Quality Assurance / Test, SRE / Reliability Engineer, Quality Assurance / Test, SRE / Reliability Engineer

responsible

Authorise production deployment

Approve production releases only after pre-production validation has passed and risks have been addressed.

Typical roles: Service Owner, Project / Change Manager, Service Owner, Project / Change Manager

accountable

Assessment

Assessment and evidence state

States describe how far the practice has moved from intent to something continuously validated.

  1. 0

    Not Assessed

    No documented evaluation of the practice has been performed.

    Indicators

    • No one has examined whether release procedures are rehearsed before production.
  2. 1

    Not Implemented

    The practice is absent or applied only ad hoc.

    Indicators

    • The release procedure is first run for real in production.
    • Deployment problems are found by users.
  3. 2

    Partially Implemented

    The practice is applied to some workloads or components, with known gaps.

    Indicators

    • Releases go to pre-production first, but steps or configuration differ from production.
    • Validation is manual and not always completed.
  4. 3

    Implemented

    The practice is applied consistently across defined scope, with evidence.

    Indicators

    • Pre-production deployments match production and every step is validated.
    • Functional, integration, load and health-check tests gate production approval.
  5. 4

    Continuously Validated

    The practice is regularly tested and improved from measured results.

    Indicators

    • Drift and deployment issues are tracked and trends inform pipeline changes.
    • Recovery steps are rehearsed as part of release testing.

Assessment dimensions

  • Production parity

    Practice-specific

    Absent · Partial · Operational and verified

  • Step validation

    Practice-specific

    Absent · Partial · Operational and verified

  • Post-deployment testing

    Practice-specific

    Absent · Partial · Operational and verified

  • Approval gating

    Practice-specific

    Absent · Partial · Operational and verified

Caution

Do not award maturity for tests passing on the code alone. Check that the deployment procedure itself runs in a production-like environment, that each step is validated, and that production approval depends on those results.

Standard

What you should be able to demonstrate

Statements a reviewer should be able to confirm from evidence, not from intent.

  • Pre-production uses the same deployment configuration, controls and steps as production.
  • Each deployment step is verified, including files, configuration and running services.
  • Functional, security, regression, integration and load tests run after deployment.
  • Health checks and monitoring are tested as part of the pre-production deployment.
  • Successful validation is required before deployment to production is authorised.

Trade-offs to hold in view

  • A production-like pre-production environment has an ongoing cost.
  • Full post-deployment testing lengthens the release cycle.
  • Manual approval steps can delay urgent fixes.

Assess

Questions to ask

Each question exposes the difference between an intention and an operating practice.

  • discovery

    How does our pre-production deployment differ from production in configuration, controls or steps?

    Finds the differences that let deployment problems slip through.

    Usually asked by: DevOps Engineer, Quality Assurance / Test

  • challenge

    If a deployment put configuration on the wrong components, which check would catch it before production?

    Tests whether deployment steps are actually verified.

    Usually asked by: Quality Assurance / Test, SRE / Reliability Engineer

  • evidence

    Can we show the validation results from pre-production for our last production release?

    Requires a record of tests passed before approval.

    Usually asked by: DevOps Engineer, Project / Change Manager

  • executive

    How many recent production incidents were caused by the deployment itself rather than the change?

    Shows the cost of untested release procedures.

    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.

EVD-OPS-002coreReusable

Operational Readiness Review

A structured record showing whether a workload or service is ready to operate safely and reliably, what gaps or conditions remain, who owns them and what decision was made.

Shows that the deployment procedure was run and validated in pre-production before production approval.

Minimum expected content

  • Workload or service, scope, environment and review date
  • Named review owner and participating roles
  • Readiness criteria and results across monitoring, incident response, recovery, security, configuration, performance, documentation/training and dependencies
  • Identified gaps, exceptions and material risks
  • Actions, owners and due dates
  • Overall readiness decision or status, including any conditions
  • Approval or acceptance record and next review date where applicable

Anti-patterns

  • Checklist completed as a documentation exercise with no supporting evidence
  • Generic organisation-wide checklist copied without workload-specific acceptance criteria
  • All items marked complete despite known unresolved risks
  • No distinction between required evidence, reviewer judgement and remediation actions
  • A readiness status with no named decision owner
  • A historic ORR reused after material architecture, dependency or operating-model change

Review: Before production launch and material operational change; repeat periodically where continuing assurance is required.

EVD-TEST-001supportingReusable

Requirements Verification Matrix

A traceability record mapping material requirements to their verification method, test case or other objective evidence, together with verification status and references to the resulting evidence.

Shows which functional, integration and load tests ran after deployment and their results.

Minimum expected content

  • Requirement identifier and concise requirement statement or reference
  • Requirement source/baseline such as SRS or NFR specification
  • Requirement priority or criticality where relevant
  • Verification method such as test, inspection, analysis, demonstration or operational measurement
  • Test case, scenario, control result or evidence identifier/reference
  • Expected/acceptance condition
  • Environment or operating condition where material
  • Verification owner or responsible role
  • Current verification status such as not run, pass, fail, partial, blocked or not applicable
  • Date/version of the latest relevant verification
  • Link/reference to the actual result, report, automated test run or other objective evidence
  • Defect, exception or remediation reference where the requirement is not satisfied
  • Notes explaining justified exclusions, substitutions or changes in verification approach

Anti-patterns

  • A requirements list with a single blanket statement that all requirements are tested
  • Mapping requirements to test names with no acceptance condition or result evidence
  • Treating the existence of automated tests as proof that every material requirement is covered
  • Removing failed or blocked requirements from the final matrix
  • A matrix that is created for sign-off and never maintained when requirements or tests change
  • Tests mapped to requirements only retrospectively after delivery with no evidence they influenced verification planning
  • Using one broad end-to-end test as the sole verification for many unrelated requirements
  • No distinction between functional verification, quality/NFR verification and operational measurement where different evidence is needed

Review: Maintain alongside requirements and test assets. Review whenever material requirements, acceptance criteria, implementation behaviour or verification methods change, and before material acceptance/release decisions.

Diagnosis

Common evidence gaps

  • Testing the code, not the release

    Changes pass their tests, but the deployment procedure is only ever run for real in production.

  • Uncertain infrastructure updates

    Teams do not know whether an infrastructure-as-code update will succeed or what it will change.

  • Blind feature releases

    A broken feature is only noticed when users report it.

  • Untested health checks

    Monitoring is assumed to work but has not been checked against a real deployment.

Implementation

Implementation guidance

Mirror production

Deploy to a pre-production environment that matches production as closely as possible, and use drift detection to find resources changed outside code.

Preview infrastructure changes

Check what an infrastructure-as-code update will actually do before it runs, so unintended changes to existing resources are caught.

Define validation steps

Write deployment configurations that state each step and the checks that confirm it, such as files present, services running and health checks passing.

Test after deployment

Run automated functional, security, regression, integration and load tests once the deployment completes.

Gate the production release

Require successful pre-production validation before an approval to deploy to production, and test the recovery steps as well.

Measure

Measurements

  • Share of production releases validated in pre-production first
  • Deployment-caused incidents in production
  • Deployment issues found in pre-production before release
  • Drift detected between pre-production and production

Related

Outcomes and practices

Business outcomes

    Practices