This post was originally written by Albert T. Wong in this blog: http://developerblog.redhat.com/2015/10/12/optimizing-twelve-factor-app-red-hat-openshift/

OpenShift Enterprise by Red Hat was designed to be application architecture agnostic. In addition to running traditional stateful and/or legacy-type workloads, OpenShift Enterprise seamlessly provides support for modern, stateless Twelve-Factor applications. This document provides a guide on how to optimize the architecture and deployment of your Twelve-Factor applications on OpenShift Enterprise.

Note: The Twelve-Factor app is a methodology for building apps in modern cloud environments. Read more athttp://12factor.net/.

Factor Relationship
Codebase One codebase tracked in revision control, many deploys.OpenShift Enterprise can build and deploy applications directly from their source code repositories.
Dependencies Explicitly declare and isolate dependencies.
OpenShift Enterprise allows native language dependency management systems to be used. Maven, Gem, CPAN, and more are all supported for their respective languages.
Config Store config in the environment.

OpenShift Enterprise provides multiple interfaces to inject environmental configuration data.
Backing Services Treat backing services as attached resources.
OpenShift Enterprise provides many native backing services (databases, message brokers, and more) and additionally enables developers to easily consume external services, too.
Build, release, run Strictly separate build and run stages.
OpenShift Enterprise strictly separates the build, release and run stages of the codebase and can integrate into many 3rd party build/release/run applications, enabling Continuous Integration and Continuous Deployment (CI/CD).
Processes Execute the app as one or more stateless processes.
OpenShift Enterprise natively incorporates Docker containers in its deployable units. Docker containers are stateless and portable.
Port binding Export services via port binding.
OpenShift Enterprise allows applications to directly bind to and consume ports, and expose the services they provide both internally within OpenShift as well as externally.
Concurrency Scale out via the process model.
OpenShift Enterprise allows for manual or automated scaling of applications, and can support true “web-scale” app deployments.
Disposability Maximize robustness with fast startup and graceful shutdown.
Containers come and containers go. OpenShift Enterprise’s use of containers enables both fast startup and graceful shutdown, all behind a robust set of tooling.
Dev/prod parity Keep development, staging, and production as similar as possible.
“Environments” in OpenShift enterprise only differ in name. Whether there is only production or 100 steps to production, the underlying infrastructure and application architectures don’t change.
Logs Treat logs as event streams.
OpenShift Enterprise aggregates application log data from all instances with no special handling required by the developer. Logs can be viewed via a number of different mechanisms.
Admin processes Run admin/management tasks as one-off processes.
OpenShift Enterprise provides capabilities for pre- and post-deployment hooks, as well as for cron-type jobs and other “admin/management tasks”.

 

Author

Albert Wong
Senior Solution Architect at Red Hat
@alberttwong

Full Article

To read more about this post, see the full article at https://access.redhat.com/articles/1752483


저자 소개

UI_Icon-Red_Hat-Close-A-Black-RGB

채널별 검색

automation icon

오토메이션

기술, 팀, 인프라를 위한 IT 자동화 최신 동향

AI icon

인공지능

고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트

open hybrid cloud icon

오픈 하이브리드 클라우드

하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요

security icon

보안

환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보

edge icon

엣지 컴퓨팅

엣지에서의 운영을 단순화하는 플랫폼 업데이트

Infrastructure icon

인프라

세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보

application development icon

애플리케이션

복잡한 애플리케이션에 대한 솔루션 더 보기

Virtualization icon

가상화

온프레미스와 클라우드 환경에서 워크로드를 유연하게 운영하기 위한 엔터프라이즈 가상화의 미래