HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📝
남득윤 학습 저장소
/
인프라/클라우드
인프라/클라우드
/
🕛
12Factors
🕛

12Factors

 
  • Paas 를 제공하는 Heroku 에서 제안한 12가지 항목
  • 12-Factor는 애플리케이션이 Cloud 환경에서 올바르게 게 동작하기 위해서 지켜야 하는 12가지 규칙을 말합니다.
https://12factor.net/

I. Codebase

  • One codebase tracked in revision control, many deploys
notion image
 

II. Dependencies

  • Explicitly declare and isolate dependencies

III. Config

  • Store config in the environment

IV. Backing services

  • Treat backing services as attached resources

V. Build, release, run

  • Strictly separate build and run stages

VI. Processes

  • Execute the app as one or more stateless processes

VII. Port binding

  • Export services via port binding

VIII. Concurrency

  • Scale out via the process model

IX. Disposability

  • Maximize robustness with fast startup and graceful shutdown

X. Dev/prod parity

  • Keep development, staging, and production as similar as possible

XI. Logs

  • Treat logs as event streams

XII. Admin processes

  • Run admin/management tasks as one-off processes