Explanation

The following explanations provide context and clarification on key topics related to the use and configuration of web app frameworks.

12-factor app principles

The glue point of the 12-factor framework support in Rockcraft and Charmcraft is the 12-factor methodology. The 12-Factor methodology is a set of best practices for building modern, scalable, and maintainable web applications. By following these principles, you can easily create a rock (OCI image) and a charm (software operator) for your web app that can take advantage of the full Juju ecosystem.

Learn more about the components involved and how the principles are applied in the following pages:

12-factor ecosystem

The native 12-factor framework support in Rockcraft and Charmcraft provides an opinionated way to easily integrate your web application into the Juju ecosystem. The Juju ecosystem provides a multitude of curated software operators for your observability stack, database, SSO, and many more and allows their deployment and lifecycle management on metal, on VMs, on K8s and on cloud providers (see substrates).

That way, the 12-factor framework support in Rockcraft and Charmcraft offers a fully fledged Platform as a Service that streamlines managing the infrastructure, whether on premises or on cloud, at any scale, and allows developers to focus on their core competences instead of a complex software stack.

12-factor app charm

The software operator built with Charmcraft containerizes the web app workload so that you can deploy, configure, and integrate your web app in the Juju ecosystem. The following page provides an overview of the architecture, components, and source code.