CloudFlow Commerce M is a powerful Kubernetes-based platform designed specifically for Magento e-commerce websites. It provides a highly configurable auto-scaling environment for developing, deploying, and managing Magento applications.

The environment consists of a number of resources, managed primarily through the Webscale Control Plane. This includes a php-fpm helm chart which provides the templates for your cloud resources paired with configuration values that are provided via the Helm chart values section of the cluster blueprint editor.

Persistent Data

The execution environment shares data through a persistent disk located at /var/magento-persistent. Files stored and modified in this location will persist across deployments and scaling events. Many of the ephemeral resources rely on copies of, or links to, the persistent disk for serving traffic to the web application.

For example, in the php-fpm container the /var/www/html Magento docroot is a copy of Magento code located either in a custom built Docker image or at /var/magento-persistent/code/current, depending on the choice of application architecture. Changes made to /var/www/html will apply only to the container in which they are made and will not persist across container restarts/scaling events. An environment will typically consist of multiple container instances and so it is necessary to make changes permanent through persistent data.

Scalability and Performance

With CloudFlow Commerce M, you can easily scale the Magento application to handle high traffic and ensure optimal performance. Scaling is handled via Kubernetes Horizontal Pod Autoscaling. Scaling limits should be managed via the magento.hpa.minReplicas and magento.hpa.maxReplicas attributes in the Webscale Cluster Blueprint. Container CPU and memory constraints can also be configured in this editor. See Configuration.

Last modified February 23, 2024