SEC11-BP06SecuritySEC118 of 8 practices publishedReference content

Deploy software programmatically

Framework question: How do you incorporate and validate the security properties of applications throughout the design, development, and deployment lifecycle?

Risk if not established
High
Framework verified
23 Oct 2026

AWS Well-Architected Framework — SEC11-BP06 Deploy software programmatically

Executive summary

Why this practice matters

Deploy the same tested and verified artefact consistently using protected CI/CD and infrastructure-as-code pipelines. Remove routine manual access to production, externalise environment configuration, validate signatures and use staged releases with automatic rollback.

Business impact

  • Reduces manual deployment mistakes and unauthorised alterations.
  • Improves release repeatability and recovery.
  • Strengthens software integrity from test to production.
  • Enables faster releases without sacrificing control.

Assign

Accountable and responsible roles

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

ResponsibilityAccountability type

Define application security expectations

Set control requirements and exceptions for deploy software programmatically.

Typical roles: Security Architect, Security Engineer, Security Architect, Security Engineer

responsible

Implement and review secure delivery

Embed required processes and checks in development, release and team operations.

Typical roles: Software Engineer, DevOps Engineer, Software Engineer, DevOps Engineer

responsible

Own business and delivery outcomes

Review risk decisions, team ownership and the effect of exceptions.

Typical roles: Service Owner, Team Lead / Manager, Service Owner, Engineering Team Lead

consulted

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 dependable inventory of owners, coverage or controls.
    • Deployment automation is explicitly assessed against real delivery work.
  2. 1

    Not Implemented

    The expected process or technical security control is absent.

    Indicators

    • No dependable inventory of owners, coverage or controls.
    • Artefact provenance is explicitly assessed against real delivery work.
  3. 2

    Partially Implemented

    Some areas implement the control but key gaps, exceptions or coverage remain.

    Indicators

    • A representative trace through implemented practice and evidence exists.
    • Credential and access control is explicitly assessed against real delivery work.
  4. 3

    Implemented

    The practice is consistently applied across defined scope with accountable decisions.

    Indicators

    • A representative trace through implemented practice and evidence exists.
    • Rollback and audit is explicitly assessed against real delivery work.
  5. 4

    Continuously Validated

    The practice is continuously or periodically verified with closure evidence and improvement.

    Indicators

    • A representative trace through implemented practice and evidence exists.
    • Measurements demonstrate verified correction of recurring issues.

Assessment dimensions

  • Deployment automation

    Practice-specific

    Absent · Partial · Operational and verified

  • Artefact provenance

    Practice-specific

    Absent · Partial · Operational and verified

  • Credential and access control

    Practice-specific

    Absent · Partial · Operational and verified

  • Rollback and audit

    Practice-specific

    Absent · Partial · Operational and verified

Caution

Do not award maturity for a written policy or installed tool alone. Verify the outcomes of deploy software programmatically, active scope, independently governed exceptions and recent actual results.

Standard

What you should be able to demonstrate

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

  • Releases use an approved, repeatable deployment pipeline.
  • The tested artefact is the deployed artefact and has verifiable provenance.
  • Production access is controlled through delivery identities, not standing user sessions.
  • Configuration is externalised instead of manually editing release packages.
  • Canary or staged releases monitor health and support rollback.

Trade-offs to hold in view

  • Reliable pipelines need sustained engineering investment.
  • Signing and staged rollout add operational steps but improve integrity.
  • Removing direct production access requires dependable diagnostics.

Assess

Questions to ask

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

  • discovery

    How do we currently demonstrate deploy software programmatically across teams and applications?

    Finds gaps in coverage and accountability.

    Usually asked by: Software Engineer, DevOps Engineer

  • challenge

    Which failure modes or bypass routes are not addressed by the current implementation?

    Challenges practical control bypasses.

    Usually asked by: Security Architect, Security Engineer

  • evidence

    Can we trace a recent code or release decision to reviewed evidence and corrected findings?

    Requires observed outcomes rather than policy claims.

    Usually asked by: Software Engineer, DevOps Engineer

  • executive

    What business exposure remains if this application security control is ineffective?

    Translates security weaknesses into decision-ready risk.

    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-SEC-007coreReusable

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.

Use this evidence to verify deploy software programmatically, including actual scope, responsibility, findings and decision history.

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.

EVD-SEC-031supportingReusable

Software Delivery Pipeline Security Assessment

Assesses build and delivery pipeline trust boundaries, temporary permissions, protected checks, secret handling, artifact integrity, environment controls and regular review of effective pipeline configuration.

Use this supporting record to corroborate operational application security outcomes for deploy software programmatically.

Minimum expected content

  • Pipeline assets, owners and trust boundaries
  • Builder versus pipeline permissions and temporary credentials
  • Protected security tests and branch approvals
  • Build input validation and artifact provenance
  • Environment-targeting and release authorization controls
  • Audit logs, findings, exceptions and re-assessment dates

Anti-patterns

  • A policy alone is treated as proof of operational implementation
  • Findings are collected but not remediated
  • Review or testing scope is unrecorded
  • Evidence and approvals cannot be traced to a release or owner

Review: Review following material application or process changes and on a documented risk-based cadence.

Diagnosis

Common evidence gaps

  • Manual production changes

    Engineers directly change production software and configuration.

  • Untested artefact substitution

    Deployed binaries cannot be tied to what passed tests.

  • Long-term deployment keys

    Pipelines use persistent broadly scoped credentials.

  • No rollback

    Failures require an improvised and lengthy recovery.

Implementation

Implementation guidance

Separate environments

Use suitable account or environment boundaries and restricted identities.

Automate build and deploy

Use version-controlled CI/CD and infrastructure as code.

Verify artefacts

Sign packages after validation and check signatures before deployment.

Externalise configuration

Load environment settings from governed sources.

Release safely

Use canary or staged rollout, monitoring and tested rollback.

Measure

Measurements

  • Percentage of production deployments through approved pipelines
  • Manual changes to production
  • Unsigned artefacts blocked
  • Failed release recovery time

Related

Outcomes and practices

Business outcomes

    Practices