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
Sobre el autor
Más como éste
Data-driven automation with Red Hat Ansible Automation Platform
Ford's keyless strategy for managing 200+ Red Hat OpenShift clusters
Technically Speaking | Platform engineering for AI agents
Technically Speaking | Driving healthcare discoveries with AI
Navegar por canal
Automatización
Las últimas novedades en la automatización de la TI para los equipos, la tecnología y los entornos
Inteligencia artificial
Descubra las actualizaciones en las plataformas que permiten a los clientes ejecutar cargas de trabajo de inteligecia artificial en cualquier lugar
Nube híbrida abierta
Vea como construimos un futuro flexible con la nube híbrida
Seguridad
Vea las últimas novedades sobre cómo reducimos los riesgos en entornos y tecnologías
Edge computing
Conozca las actualizaciones en las plataformas que simplifican las operaciones en el edge
Infraestructura
Vea las últimas novedades sobre la plataforma Linux empresarial líder en el mundo
Aplicaciones
Conozca nuestras soluciones para abordar los desafíos más complejos de las aplicaciones
Virtualización
El futuro de la virtualización empresarial para tus cargas de trabajo locales o en la nube