SlideShare a Scribd company logo
By Krishna Kumar @CCICI Application Factory Task Force
A snippet from material for National Workshop for NISG, New Delhi- 11th June 2015
12 Factor app –
an introduction
What is
12 factor
app?
• The twelve-factor app is a methodology for building
software-as-a-service apps that has clean contract with
underlying operating system, enable continuous
deployment with maximum agility, significant scale up
capability, and Independent of programming languages
and back end services.
• This is derived by Heroku (a Sales Force PaaS platform)
after witnessing thousands of applications development &
deployments in cloud.
• Read more @http://12factor.net/
Why 12
factor
app?
• Good code fails if you don’t have a process and platforms.
Complexity increases if you have diverse programming
environments. Applying certain constraints will help
adequately track, use and share the applications easily –
that’s why 12 factor app is popular in cloud development.
• Its build to exploit the modern cloud platforms principles
with agility in mind and so easy for new developers to join
with less time, less tooling and low cost
12 factors
(solid
principle for
Cloud
Software
Architecture)
Codebase One codebase tracked in revision control, many
deploys
Dependencies Explicitly declare and isolate dependencies
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
Dev/prod parity Keep development, staging, and production as
similar as possible
Logs Treat logs as event streams
Admin processes Run admin/management tasks as one-off
processes
Use Cases
Best fit for Docker considering it code registry, hub, isolated images, DevOps nature - build once and run
anywhere. Though you can store all information in Docker container itself, there are best way to configure in other
places to be in align with 12 factor app.
•http://www.slideshare.net/williamyeh/12-factor-app-from-dockers-point-of-view
•http://www.activestate.com/blog/2014/10/getting-granular-microservices-paas-twelve-factor-apps-and-docker
Software deployment in Platform-as-a-Service (PaaS) must be scalable, reliable and easy. 12 factor app is a very
useful one such approach. In fact this approach can be treated as a baseline for modern app building and PaaS can
move beyond to further incorporating hybrid cloud and other legacy app migration scenarios.
•http://apprenda.com/blog/paas-should-move-beyond-twelve-factor-app/
•http://blog.pivotal.io/cloud-foundry-pivotal/features/all-things-pivotal-episode-7-a-look-at-12-factor-apps
In IoT world each individual device matters and act like a disposable standard interface. End user expects the
device to work well with even spotty connectivity and app developer must follow some standards to interact with
all kinds of app stacks. Each and every factor in 12 factor app directly helps IoT apps development.
•https://resin.io/blog/reinterpreting-12-factor-apps-for-the-internet-of-things
•http://community.arm.com/groups/internet-of-things/blog/2014/05/27/design-patterns-for-an-internet-of-things
Micro Services is a componentization via services – do one thing and do it right approach. With smart end points
distributed system based on micro services communicates via message queues. A smaller component with distinct
interface is easy to build and this software methodology helps a lot in that environment - considering building a
large system with small such ‘standardized’ components.
•http://www.slideshare.net/dejanglozic/micro-services-reactive-manifesto-and-12factors
•https://spring.io/blog/2015/01/30/why-12-factor-application-patterns-microservices-and-cloudfoundry-matter
Some
other
similar
Patterns
Various cloud computing patterns
http://www.cloudcomputingpatterns.org
Microsoft Cloud Design Patterns
https://msdn.microsoft.com/en-us/library/dn568099.aspx
IBM methodology
http://www.computerworld.com/article/2490115/app-development-ibm-brings-development-methodologies-to-
the-cloud.html
Google Model
https://cloud.google.com/docs
CollabNet View
ttp://www.collab.net/content/enterprise-cloud-development-roadmap-modern-software-delivery
IoT Canvas
http://www.slideshare.net/IoTMethodology/a-methodology-for-building-the-internet-of-things-42112202
31 Reference Architectures for DevOps and Continuous delivery
http://server.dzone.com/articles/31-reference-architectures
Yarmouk University Model
http://www.igi-global.com/chapter/software-development-methodologies-cloud-computing/75743
IEEE Papers (several other papers in this line…)
http://ieeexplore.ieee.org/xpl/abstractAuthors.jsp?reload=true&arnumber=6927520
http://www.ijstr.org/final-print/oct2013/Model-Driven-Approach-For-Developing-Cloud-Application.pdf
Thank You

More Related Content

PDF
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
PDF
DevOps for beginners
PPTX
The twelve factor app
PPTX
Introduction to Docker - 2017
PPTX
Docker introduction
PDF
DevOps
PDF
12 factor app
PPTX
Introduction to openshift
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
DevOps for beginners
The twelve factor app
Introduction to Docker - 2017
Docker introduction
DevOps
12 factor app
Introduction to openshift

What's hot (20)

PPTX
Dev ops != Dev+Ops
PDF
OpenShift 4, the smarter Kubernetes platform
PDF
PDF
DevOps introduction
PPSX
Docker Kubernetes Istio
PPTX
DevOps to DevSecOps Journey..
PPTX
What Is DevOps?
PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
PDF
Introduction to Red Hat OpenShift 4
PPT
Jenkins Overview
PDF
DevOps Powerpoint Presentation Slides
PPTX
Docker 101 : Introduction to Docker and Containers
PPTX
Introduction to DevOps
PPTX
DevOps Overview
PDF
12 factor app - Core Guidelines To Cloud Ready Solutions
PDF
Building an SRE Organization @ Squarespace
PPTX
Gitlab CI/CD
PPSX
PPTX
12 factor app
PPTX
Dev ops != Dev+Ops
OpenShift 4, the smarter Kubernetes platform
DevOps introduction
Docker Kubernetes Istio
DevOps to DevSecOps Journey..
What Is DevOps?
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Introduction to Red Hat OpenShift 4
Jenkins Overview
DevOps Powerpoint Presentation Slides
Docker 101 : Introduction to Docker and Containers
Introduction to DevOps
DevOps Overview
12 factor app - Core Guidelines To Cloud Ready Solutions
Building an SRE Organization @ Squarespace
Gitlab CI/CD
12 factor app
Ad

Similar to 12 factor app an introduction (20)

PDF
12 factor apps
PDF
The Twelve Factor App
PDF
Twelve-Factor App: Software Application Architecture
PDF
Cloud-Native Fundamentals: An Introduction to 12-Factor Applications
PPTX
Breaking the Monolith
PDF
Learn how to Leverage Kubernetes to Support 12 Factor for Enterprise Apps
PPTX
Docker12 factor
PDF
MongoDB World 2018: MongoDB and Cloud Foundry – A Match Made for the Cloud
PDF
I Segreti per Modernizzare con Successo le Applicazioni (Pivotal Cloud-Native...
PDF
15-factor-apps.pdf
PPTX
SwissJUG_15_factor_app.pptx
PPTX
Microservices
PPTX
Using Cloud to Improve AppSec
PPTX
Build 12-Factor apps with Docker
PPTX
Build12 factorappusingmp
PPTX
Microsoft Cloud-Native Workshop Slides
PDF
How to Design a Backend for IoT
PPTX
The Twelve-Factor App
PDF
Cloud Native Application Development Guide – 2023
PDF
Twelve factor apps
12 factor apps
The Twelve Factor App
Twelve-Factor App: Software Application Architecture
Cloud-Native Fundamentals: An Introduction to 12-Factor Applications
Breaking the Monolith
Learn how to Leverage Kubernetes to Support 12 Factor for Enterprise Apps
Docker12 factor
MongoDB World 2018: MongoDB and Cloud Foundry – A Match Made for the Cloud
I Segreti per Modernizzare con Successo le Applicazioni (Pivotal Cloud-Native...
15-factor-apps.pdf
SwissJUG_15_factor_app.pptx
Microservices
Using Cloud to Improve AppSec
Build 12-Factor apps with Docker
Build12 factorappusingmp
Microsoft Cloud-Native Workshop Slides
How to Design a Backend for IoT
The Twelve-Factor App
Cloud Native Application Development Guide – 2023
Twelve factor apps
Ad

More from Krishna-Kumar (20)

PDF
SODA Ambassadors & Community Ecosystem
PDF
Open Source Building Career and Competency
PDF
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
PDF
Google Anthos - Azure Stack - AWS Outposts :Comparison
PDF
Cloud Native Use Cases / Case Studies - KubeCon 2019 San Diego - RECAP
PDF
Cloud interoperability and open standards for digital india open infrasummit
PDF
Google Cloud Container Security Quick Overview
PDF
Kubernetes Application Deployment with Helm - A beginner Guide!
PDF
KubeCon + CloudNativeCon Barcelona and Shanghai 2019 - Highlights
PDF
Introduction to ieee standards development - Bangalore Section
PDF
IEEE Standards Association - Introduction
PDF
IoTShow.in Bangalore 2019 - a Recap on 'IoT and Edge' Talk.
PDF
Kubecon seattle 2018 recap - Application Deployment aspects
PPTX
Open Source Edge Computing Platforms - Overview
PDF
cncf overview and building edge computing using kubernetes
PDF
Evolution of containers to kubernetes
PDF
My Ladakh Marathon Run 2018
PPTX
Containers and workload security an overview
PDF
Now yoga - a study on where why what how
PPTX
CNCF Introduction - Feb 2018
SODA Ambassadors & Community Ecosystem
Open Source Building Career and Competency
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
Google Anthos - Azure Stack - AWS Outposts :Comparison
Cloud Native Use Cases / Case Studies - KubeCon 2019 San Diego - RECAP
Cloud interoperability and open standards for digital india open infrasummit
Google Cloud Container Security Quick Overview
Kubernetes Application Deployment with Helm - A beginner Guide!
KubeCon + CloudNativeCon Barcelona and Shanghai 2019 - Highlights
Introduction to ieee standards development - Bangalore Section
IEEE Standards Association - Introduction
IoTShow.in Bangalore 2019 - a Recap on 'IoT and Edge' Talk.
Kubecon seattle 2018 recap - Application Deployment aspects
Open Source Edge Computing Platforms - Overview
cncf overview and building edge computing using kubernetes
Evolution of containers to kubernetes
My Ladakh Marathon Run 2018
Containers and workload security an overview
Now yoga - a study on where why what how
CNCF Introduction - Feb 2018

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPT
Introduction Database Management System for Course Database
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Digital Strategies for Manufacturing Companies
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
history of c programming in notes for students .pptx
PPTX
Introduction to Artificial Intelligence
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Wondershare Filmora 15 Crack With Activation Key [2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
How to Migrate SBCGlobal Email to Yahoo Easily
L1 - Introduction to python Backend.pptx
Operating system designcfffgfgggggggvggggggggg
ISO 45001 Occupational Health and Safety Management System
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Introduction Database Management System for Course Database
Online Work Permit System for Fast Permit Processing
Digital Strategies for Manufacturing Companies
Design an Analysis of Algorithms I-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 41
history of c programming in notes for students .pptx
Introduction to Artificial Intelligence
VVF-Customer-Presentation2025-Ver1.9.pptx
top salesforce developer skills in 2025.pdf
Design an Analysis of Algorithms II-SECS-1021-03
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx

12 factor app an introduction

  • 1. By Krishna Kumar @CCICI Application Factory Task Force A snippet from material for National Workshop for NISG, New Delhi- 11th June 2015 12 Factor app – an introduction
  • 2. What is 12 factor app? • The twelve-factor app is a methodology for building software-as-a-service apps that has clean contract with underlying operating system, enable continuous deployment with maximum agility, significant scale up capability, and Independent of programming languages and back end services. • This is derived by Heroku (a Sales Force PaaS platform) after witnessing thousands of applications development & deployments in cloud. • Read more @http://12factor.net/ Why 12 factor app? • Good code fails if you don’t have a process and platforms. Complexity increases if you have diverse programming environments. Applying certain constraints will help adequately track, use and share the applications easily – that’s why 12 factor app is popular in cloud development. • Its build to exploit the modern cloud platforms principles with agility in mind and so easy for new developers to join with less time, less tooling and low cost
  • 3. 12 factors (solid principle for Cloud Software Architecture) Codebase One codebase tracked in revision control, many deploys Dependencies Explicitly declare and isolate dependencies 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 Dev/prod parity Keep development, staging, and production as similar as possible Logs Treat logs as event streams Admin processes Run admin/management tasks as one-off processes
  • 4. Use Cases Best fit for Docker considering it code registry, hub, isolated images, DevOps nature - build once and run anywhere. Though you can store all information in Docker container itself, there are best way to configure in other places to be in align with 12 factor app. •http://www.slideshare.net/williamyeh/12-factor-app-from-dockers-point-of-view •http://www.activestate.com/blog/2014/10/getting-granular-microservices-paas-twelve-factor-apps-and-docker Software deployment in Platform-as-a-Service (PaaS) must be scalable, reliable and easy. 12 factor app is a very useful one such approach. In fact this approach can be treated as a baseline for modern app building and PaaS can move beyond to further incorporating hybrid cloud and other legacy app migration scenarios. •http://apprenda.com/blog/paas-should-move-beyond-twelve-factor-app/ •http://blog.pivotal.io/cloud-foundry-pivotal/features/all-things-pivotal-episode-7-a-look-at-12-factor-apps In IoT world each individual device matters and act like a disposable standard interface. End user expects the device to work well with even spotty connectivity and app developer must follow some standards to interact with all kinds of app stacks. Each and every factor in 12 factor app directly helps IoT apps development. •https://resin.io/blog/reinterpreting-12-factor-apps-for-the-internet-of-things •http://community.arm.com/groups/internet-of-things/blog/2014/05/27/design-patterns-for-an-internet-of-things Micro Services is a componentization via services – do one thing and do it right approach. With smart end points distributed system based on micro services communicates via message queues. A smaller component with distinct interface is easy to build and this software methodology helps a lot in that environment - considering building a large system with small such ‘standardized’ components. •http://www.slideshare.net/dejanglozic/micro-services-reactive-manifesto-and-12factors •https://spring.io/blog/2015/01/30/why-12-factor-application-patterns-microservices-and-cloudfoundry-matter
  • 5. Some other similar Patterns Various cloud computing patterns http://www.cloudcomputingpatterns.org Microsoft Cloud Design Patterns https://msdn.microsoft.com/en-us/library/dn568099.aspx IBM methodology http://www.computerworld.com/article/2490115/app-development-ibm-brings-development-methodologies-to- the-cloud.html Google Model https://cloud.google.com/docs CollabNet View ttp://www.collab.net/content/enterprise-cloud-development-roadmap-modern-software-delivery IoT Canvas http://www.slideshare.net/IoTMethodology/a-methodology-for-building-the-internet-of-things-42112202 31 Reference Architectures for DevOps and Continuous delivery http://server.dzone.com/articles/31-reference-architectures Yarmouk University Model http://www.igi-global.com/chapter/software-development-methodologies-cloud-computing/75743 IEEE Papers (several other papers in this line…) http://ieeexplore.ieee.org/xpl/abstractAuthors.jsp?reload=true&arnumber=6927520 http://www.ijstr.org/final-print/oct2013/Model-Driven-Approach-For-Developing-Cloud-Application.pdf Thank You