Containerisation and Orchestration of Mautic Application
Containerisation and Orchestration of Mautic Application
Problem Statement:
Mautic is an open marketing software platform that provides the greatest level of integration and deep audience intelligence, enabling you to make more meaningful customer connections. Some of the challenges clients faced include the scalability of their application during their intensive marketing campaigns and maintenance of the application such as periodic updates to Mautic. Mautic application as it exists, is not totally enterprise-ready and not in line with 12 Factor Application philosophy. There are multiple configuration files to inject environment variables. Mautic has an open-source image but it is hardly ready to be deployed on Kubernetes, let alone enterprise-ready. The ephemeral and persistent components such as logs, cache are not decoupled. The existing mautic image also runs multiple processes in the same container, which is an anti-pattern in containerization.
Key Takeaways:
Architectural design for the application.
How we decoupled different components and made use of native Kubernetes services to address the problems.
How the docker image updates were managed efficiently
How the different configurations are aligned and brought into one config file i.e. config.php
Security considerations.
12 Factor app methodology.
Pre-requisites:
Brief idea of what is Mautic.
Brief idea of running applications in containers preferably on a Paas.
Brief idea of Kubernetes.
Conclusion:
Come join me and learn how we have solved the customer’s issue from running the application on virtual machines and manual deployments, this project has made it easier for the client to make frequent releases and also enhanced the availability of the application. The self-healing nature of Kubernetes combined with the auto-scaling features AWS offered, the application is highly resilient. The GitLab CI/CD pipelines makes it a breeze for developers to deploy. The multi-dev deployment paradigm ensures every feature is thoroughly tested before the new features are launched onto production.
Ref Links:
The Twelve-Factor App
https://12factor.net/
MAUTIC
https://www.mautic.org/what-is-mautic
*Session Materials*