Show Menu

12 Factor App Cheat Sheet (DRAFT) by [deleted]

12 Factor App

This is a draft cheat sheet. It is a work in progress and is not finished yet.


I. Codebase
One codebase tracked in revision control, many deploys

II. Depend­enc­ies
Explicitly declare and isolate depend­encies

III. Config
Store config in the enviro­nment

IV. Backing services
Treat backing services as attached resources

V. Build, release, run
Strictly separate build and run stages

VI. Proces­ses
Execute the app as one or more stateless processes

VII. Port binding
Export services via port binding

VIII. Concur­rency
Scale out via the process model

IX. Dispos­abi­lity
Maximize robustness with fast startup and graceful shutdown

X. Dev/prod parity
Keep develo­pment, staging, and production as similar as possible

XI. Logs
Treat logs as event streams

XII. Admin proces­ses
Run admin/­man­agement tasks as one-off processes

What is 12 Factor App

12 Factor App


Support Cheatography!