twelve-factor app

A short manifesto of twelve rules for building applications that deploy cleanly to modern platforms, written at Heroku and published in 2011.

In more detail

It describes the contract between an application and the platform that runs it: one codebase, declared dependencies, config in the environment, attached backing services, separate build and run stages, stateless processes, port binding, process-based scaling, disposability, dev/prod parity, logs as event streams and one-off admin processes. It was open sourced in November 2024 and is being revised in public, but the 2011 text remains the reference until the revision lands.

Example

python3 audit.py  # one PASS or FAIL row per factor for each variant

Related terms

Taught in

References