The twelve factors

To effectively design and build apps for the cloud, you should understand the twelve factors:

Codebase: One codebase tracked in revision control, many deployments

Dependencies: Explicitly declare and isolate dependencies

3. Config: Store configuration in the environment

Backing services: Treat backing services as attached resources

Build, release, run: Strictly separate build and run stages

Processes: Execute the app as one or more stateless processes

Port binding: Export services via port binding

Concurrency: Scale out via the process model

Disposability: Maximize robustness with fast startup and graceful shutdown

10 Dev/prod parity: Keep development, staging, and production as similar as possible

11 Logs: Treat logs as event streams

12 Admin processes: Run admin/management tasks as one-off processes

  •  
  •  
  •  
  •  

Viet Luu has written 318 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.