Which Magento Open Source deployment model fits your team
VMs suit a team that wants the fewest moving parts, Docker suits a small platform team that standardizes images across environments, and Kubernetes suits a team that already operates a cluster and has SRE skills to run it. Whichever model you choose, the host model does not change the component versions Adobe lists or the upgrade work that comes with them, so you still need to keep the store patched, backed up and available with the staff you have. For Magento Open Source 2.4.9, Adobe lists PHP 8.5, MySQL 8.4 or MariaDB 11.8 or 12.3, OpenSearch 3, Redis or Valkey 9, RabbitMQ 4.3, Composer 2.10 and nginx 1.30 on Linux x86-64, and it supports only the combinations it lists. Each of those services is a separate upgrade path, whether it runs on a VM, in a container or in a pod.
Before you settle on a container or cluster layout, confirm in writing with Adobe, or with the vendor of the image you plan to use, that the exact component versions you will run are supported together. A third-party image may bundle a PHP, database or search version that differs from the list above, and a support answer for one patch level does not automatically cover the next. Ask where the Varnish full-page cache runs, since Adobe documents Varnish for self-managed installations and a pod or container layout needs a clear answer for it. Standard support for 2.4.9 runs until May 31, 2029, according to Adobe's lifecycle policy, so plan your rebuild calendar around that date. Adobe's upgrade guidance recommends applying every patch cycle, so write down who builds and tests each image rebuild before go-live and whether that work is done in-house, by an implementation partner or under a retainer.
How Magento Open Source on each host model compares on sizing and availability
This table compares how Magento Open Source sizing, high availability, cost drivers and switching effort change across virtual machines, Docker and Kubernetes. Read each row against your own traffic profile and the services you run beside Magento, such as the database, search, cache and queue. The main takeaway is that containers and orchestration add availability only when your team can operate the cluster and the stateful services in it.
| Factor | Virtual machines | Docker | Kubernetes |
|---|---|---|---|
| Sizing and scaling | Scale by resizing VMs or adding web nodes behind a load balancer. Search, queue and database services each need their own sizing. | Containers add web workers quickly on one host, but one host still caps capacity. Set container CPU and memory limits after load testing. | Horizontal pod autoscaling can add web pods, but only when the team sets resource requests, limits and tunes worker scaling. |
| High availability | Redundancy comes from at least two web VMs, a load balancer and replicated database and search services. Failover steps must be tested. | One Docker host is a single point of failure. Extra hosts help only if failover for database, cache and search is also designed. | Availability gains depend on the team running the cluster and tested failover for the database, search and queue services. |
| Cost drivers | Cost follows VM count, storage, and the staff time spent patching each host. Most of it recurs for as long as the hosts run. | Cost follows host count, image build and registry storage, and engineer time for Compose files, updates and rebuilds. | Cost adds managed control-plane charges where used, node pools, and platform engineering time for upgrades, policies and monitoring. |
| Cost of switching later | Moving to containers keeps application code largely the same, but deployment scripts, images and runbooks need rewriting. | Moving to Kubernetes later means new manifests, service discovery and secrets handling, while images can often be reused. | Moving off Kubernetes means rewriting manifests, Helm or GitOps pipelines and monitoring. Confirm the chosen distribution and storage class before committing. |
What Magento Open Source needs from any host layer
Magento Open Source needs six components from the host layer, and Adobe supports only the combinations it lists. Pin the same versions in container images, VM templates and the build pipeline, whatever hosting model you choose. Treat the list as a build input that you check on every rebuild.
Web tier: PHP and nginx
Magento Open Source 2.4.9 runs on PHP 8.5 with nginx 1.30 on Linux x86-64, so the image or VM template must match that architecture and those versions. Pin both in the build, because a base image that updates on its own can move the runtime outside the listed set. Varnish 8 is the full-page cache for self-managed installs and appears in the 2.4.8-p5 requirements, so confirm with Adobe whether your 2.4.9 setup needs it before you size the front tier.
Varnish cache guideDatabase: MySQL or MariaDB
Magento Open Source 2.4.9 supports MySQL 8.4, or MariaDB 12.3 (recommended) or 11.8, and Adobe supports only the combinations it lists. Keep the engine and version identical across development, staging and production so that test results carry over. Confirm the exact database version on Adobe's current requirements page before you build the image, and again before each upgrade.
System requirementsSearch: OpenSearch 3
Catalog search runs on OpenSearch 3, a stateful service that your host layer must run, back up and restore. Decide early whether it runs as a managed service in your cloud, on Kubernetes with an operator, or on VMs, because that choice sets how you handle node sizing, index rebuilds and restores. OpenSearch 3 is listed for both 2.4.8-p5 and 2.4.9, but confirm that Adobe documents the layout you pick before you commit to it.
Cache and sessions: Valkey or Redis
The cache and session store uses Valkey 9 or Redis for 2.4.9, while the 2.4.8-p5 line lists Redis or Valkey 8.1. If the store restarts without persistence, shoppers can lose their sessions, so set the persistence policy deliberately and test a failover before go-live. Keep the node on a private network segment and pin the engine version in every image or template.
Message queue: RabbitMQ 4.3
RabbitMQ 4.3 is listed for both 2.4.8-p5 and 2.4.9, and the store uses it for asynchronous work, so a broker outage stalls that work until the broker recovers. Decide how the broker is deployed (single node, clustered, managed or on Kubernetes) and how consumer processes are supervised, because both affect restart behavior. Confirm the broker layout and consumer model against Adobe's current documentation before you commit to one.
Build tooling: Composer 2.10
Composer 2.10 resolves the Magento codebase, its modules and their dependencies, so the pinned version decides what goes into every image. Use the same Composer version on developer machines, in CI and in the image build, and commit the lock file so a rebuild does not pull newer packages. Extensions that restrict Composer versions or patch core files can break a rebuild, so test the full dependency graph after each Adobe patch.
How a shopper request reaches the services behind it
A shopper's request starts at the load balancer, which passes it to Varnish, the full-page cache Adobe documents for self-managed installations. Varnish serves cached pages directly. On a cache miss, the request moves to nginx and PHP-FPM inside the web and worker host unit. Those components use the stateful services outside that unit: the database, OpenSearch for search, Redis or Valkey for caching, and RabbitMQ for messages. Cron and queue workers run in the same host unit and use the database and RabbitMQ. Before go-live, confirm that each stateful service has its own high availability plan, because adding web or worker hosts does not cover them.
Same logical stack for Docker, Kubernetes and VM deployments; only the host unit changes.
How upgrades, backups and monitoring differ for Magento Open Source
This table compares how the three hosting models handle Magento Open Source patch upgrades, runtime rebuilds, database backups and monitoring, along with the skills each one needs. Read each row as the work your team repeats every patch cycle, since the rebuild artifact is the part that changes between models. The main takeaway is that Adobe's patch cadence is the same for all three, so the difference is how often you rebuild, where state lives and which skills your staff must already have.
| Task | Virtual machines | Docker | Kubernetes |
|---|---|---|---|
| Patch cadence | Adobe advises upgrading each patch cycle to stay secure and PCI compliant. OS, PHP and services are patched host by host. | Same Adobe cadence. Rebuild the image for each Magento patch, then redeploy containers from it. | Same Adobe cadence. Roll a new image revision through a Deployment, with base image and extensions pinned. |
| Rebuilding the runtime for a new patch | Build a new VM template or snapshot, or patch in place. Snapshot before each change so you can roll back. | Build a new container image with a new tag. Keep the previous tag so you can start the old container again. | Produce a new image revision and let the Deployment roll it out. Keep the previous ReplicaSet so you can roll back. |
| Database backup and restore point | Database dumps or volume snapshots run on the host, with file and config backups alongside. Confirm tooling with your DBA. | The database often runs as a separate service with its own volume. Back up that volume and the media directory, then test restores. | The database is usually a managed service or StatefulSet. Confirm snapshot support through your storage class with your storage vendor. |
| Monitoring and logging | Host agents and log shipping run per server. Watch PHP-FPM, nginx, MariaDB or MySQL 8.4, OpenSearch 3 and RabbitMQ 4.3. | Container logs go to the host or a collector. Add health checks per service and watch PHP, nginx, the database, OpenSearch, Valkey and RabbitMQ. | Cluster and pod metrics plus centralized logs. Track pod restarts and queue depth for RabbitMQ and Valkey alongside Magento errors. |
| Operating skills each model needs | Linux administration, nginx and PHP-FPM tuning, and manual patch scheduling. The smallest new skill set for a team that already runs servers. | Image builds, Compose or a similar orchestrator, volume management and registry hygiene, on top of Linux and PHP tuning. | Kubernetes administration, Helm or manifests, storage classes, ingress and secrets, on top of Magento and PHP operations. The largest skill set of the three. |
Where high availability actually comes from in each model
Adding web nodes does not make a Magento Open Source store highly available, because the stateful parts stay single points of failure unless you plan them separately. The MariaDB or MySQL database, the OpenSearch catalog index, the Redis or Valkey cache and session store, the RabbitMQ queues, and any shared media directory each need their own redundancy plan. The Adobe Commerce system requirements list MariaDB or MySQL 8.4, OpenSearch 3, Redis or Valkey 9 and RabbitMQ 4.3 for 2.4.9, and each of those products has its own replication, clustering or failover model with its own operating burden. Ask the partner which of these they would replicate, which they would run as a managed service in your cloud, and who owns the runbook for promoting a replica. A platform that restarts a failed web node leaves the database and queues as fragile as they were before.
Each model gains availability from a different layer. On VMs, availability usually comes from a hypervisor that can restart or move a guest to another host, paired with a second web node behind a load balancer. Containers add a container scheduler, which restarts failed containers and replaces them on healthy hosts. Kubernetes adds replicas and health probes, where liveness and readiness probes decide when a pod restarts or leaves the Service rotation. These mechanisms help only when scheduled jobs and queue consumers are kept from running twice. Magento cron jobs and queue consumers need one active copy per job, so if every web node runs cron, the same job can execute on each node. Confirm whether the partner runs cron and consumers on one designated node, in a separate worker deployment with a single replica, or under a leader-election pattern.
Before you compare the models on paper, put three questions to the partner in writing. First, ask how sessions, cache and product media are shared across nodes: whether sessions sit in Redis or Valkey or another shared store, whether the Varnish full-page cache is per node or shared (Adobe documents Varnish as the full-page cache accelerator for self-managed installations), and whether the media directory sits on shared storage that every node mounts. A media directory local to one node can leave images missing after a failover to another. Second, ask which node runs cron, where each queue consumer runs, and how a job is prevented from running twice during a failover. Third, failover test results in writing: the scenario tested, the component stopped or isolated, the observed recovery and the retest. Ask for tests of the database and queues as well as the web tier, since a web tier that fails over cleanly still stalls when the database does not.
How a Magento Open Source patch moves through each host model
The sequence is the same on Docker, Kubernetes and virtual machines, so each patch or minor upgrade passes the same checks in the same order. What changes by host model is the artifact that makes a rollback possible, so ask each partner what they will produce at every step.
Check the lifecycle date for the target release
Confirm which 2.4.x release the store will move to and when Adobe ends regular support for it. Adobe's lifecycle policy set the end of regular support for 2.4.6 at August 11, 2026, which had already passed on this page's date, so a store still on 2.4.6 is out of regular support. The published end dates are May 31, 2027 for 2.4.7, May 31, 2028 for 2.4.8 and May 31, 2029 for 2.4.9. Done when the owner has written down the target release and its end date, and the partner has confirmed those dates against Adobe's current policy.
Build the new image or template
The partner builds a new Docker image, Kubernetes image set or VM template that carries the target Magento Open Source release and its required components. For 2.4.9, Adobe's system requirements list PHP 8.5, MySQL 8.4 or a supported MariaDB, OpenSearch 3, RabbitMQ 4.3, Valkey 9 and Composer 2.10. Pin every component version and tag the build so it can be promoted to staging and rebuilt later. Done when the build starts, connects to every service and reports the expected versions in a smoke check.
Run the Upgrade Compatibility Tool
Run Adobe's Upgrade Compatibility Tool against the codebase, custom modules and third-party extensions to flag code that will not work on the target release. Adobe's upgrade guide names customizations, extension count, third-party integrations and coding practices as the main drivers of effort, so list every extension and its vendor's compatibility statement before the run. Sort each finding into fix, replace or accept, with a named owner. Done when every flagged item has a decision and no open item blocks the build.
Test in staging with the same topology
Deploy the built artifact to a staging environment that matches production: the same number of web nodes or pods, the same cache layer, the same search, queue and database service versions, and the same network paths. Adobe documents Varnish as the full-page cache for self-managed installations, so staging should run the same cache setup as production. Run functional checks on checkout, customer accounts, admin and each integration, then a performance run on a copy of production-sized data. Done when the store owner and the partner have signed the test report and every blocking defect is fixed and retested.
Snapshot the database and cut over
Take a fresh database backup and a snapshot of media and configuration before the maintenance window, then enable maintenance mode, run the schema and data upgrade and switch traffic to the new build. Docker and Kubernetes usually move traffic by changing the image tag in the rollout, while VMs repoint the web server to the new application directory. Keep the backup outside the host being upgraded. Done when health checks pass, a test order completes end to end and the backup file has been confirmed readable.
Keep a rollback artifact for each host model
Keep the previous image, template or code release so the old build can be restarted, and record the release and component versions it runs. On Docker and Kubernetes the artifact is the prior image tag kept in the registry, and on VMs it is the prior template or snapshot of the application directory. Rolling back code alone does not undo database schema changes, so confirm with the partner in writing how each schema change is reversed, whether by restoring the pre-cutover backup or by a documented reverse migration. Done when the rollback is rehearsed, or the partner documents why it cannot be.
Which team should run Magento Open Source on each model
Choose this model if your operations team already runs Linux virtual machines and keeps Magento's supporting services on hosts it can log into and inspect. Every component stays visible, so troubleshooting uses tools the team already knows. The cost is that every layer, including the parts you would never touch on a managed host, stays on your list.
- Operating system and service patching: You own OS updates and the PHP, database, OpenSearch, Valkey, RabbitMQ and nginx versions listed in the system requirements for your release, and you schedule each change around the patch cycle.
- Stateful services: Database backups, restore tests, search index health and queue workers run on hosts your team manages, so a failed disk or full volume becomes your incident.
- Upgrade rehearsals: Each Magento patch needs a staging copy of the store, extension checks and a tested rollback path. A partner can take this work on under a written, fixed scope.
- Warning sign: If only one engineer can rebuild a failed server from memory, or nobody has restored a backup to a test host, this model is wrong for the team.
Before you commit, compare your patch calendar with the support dates in Adobe's lifecycle documentation and confirm the exact system requirements for your chosen release.
Choose this model if your platform team already builds, scans and deploys container images for other services and has a tested pipeline for them. The store then fits an existing operating model, and the team applies the same controls to Magento's images. The work moves from patching servers to owning image builds and the configuration around them.
- Image builds: Your team creates and versions the Magento image for each patch release, pins the PHP and extension layers, and rebuilds when an upstream base image changes.
- Persistent data: Media, sessions and the database sit outside the image, so volumes, backups and restore procedures are your responsibility, including any containerized database or search service.
- Routing and caching: The team configures the web tier, the Varnish full-page cache that Adobe documents for self-managed installations, and the separate containers that run cron and queue consumers.
- Partner handover: A partner can harden the images, review the build pipeline and run upgrade rehearsals, while your team keeps ownership of the registry and deploy credentials.
- Warning sign: If changes are made inside a running container, or the team cannot return to the previous image through its normal deploy process, this model is wrong for the store.
Before you commit, ask the vendor which container setups it supports for your release and check the component versions against the upgrade guide for your target version.
Choose this model if you already operate Kubernetes in production, have site reliability engineers on call, and can run stateful services as first-class workloads. The store then becomes one more workload with its own namespace, scaling rules and runbooks. The main risk is that the cluster becomes the single place where store uptime depends on every upgrade.
- Cluster upgrades: Your team owns control plane and node upgrades, and it must check that the Magento image, the PHP runtime, and the ingress and storage components all work on each new cluster version.
- Stateful services: The database, OpenSearch, Valkey and RabbitMQ run as operators, StatefulSets or external managed services. The team decides which of these it can operate itself and which it will buy.
- Background work: Cron and message consumers run as separate workloads with their own scaling and restart rules, so queue depth and job failures must appear in your monitoring.
- Partner handover: An implementation partner can write the deployment manifests, run load tests against the store and document the runbooks, while the SRE group keeps ownership of the cluster itself.
- Warning sign: If nobody has defined who owns the database or search tier inside the cluster, or the cluster has never been restored from backup, the store will inherit that gap during its first serious incident.
Before you commit, confirm with your platform vendor which Kubernetes versions your ingress, storage and operator choices support, and ask any partner for a written scope that covers the cluster and the store separately.
What running Magento Open Source on each model costs and needs from your team
What drives the cost of running Magento Open Source on Docker, Kubernetes or VMs?
Cost follows the hosting model, the amount of customization and the team that runs the store, because the Open Software License 3.0 covers the Magento Open Source code itself. Expect one-time spend on the build, the migration and hardening of the stack. Expect recurring spend on patching, monitoring, backups and the platform underneath. On Docker, the recurring work is image rebuilds and host patching. On Kubernetes, you also carry cluster administration and any control plane fees your provider charges. On virtual machines, you carry operating system patching and, where you use commercial hypervisors, hypervisor licensing. Confirm the license terms of every extension, theme and hosting component with its vendor. The fewer extensions and third-party integrations you carry, the less each upgrade costs.
How long does a Magento Open Source migration or rebuild take?
The timeline is set by the written scope, so ask for it in writing before you compare offers. Scope drives duration more than the hosting model does: the number of customizations, extensions, third-party integrations, the data to migrate and the test environments you need. Ask for milestones, the testing and cutover steps, the dependencies on your team and on third parties, and the decisions the timeline assumes you will make. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. A rebuild on Kubernetes or VMs adds platform build time to the store migration, so compare plans that cover the same scope.
What does a Magento Open Source project need from our internal team?
Your team has to own decisions, access and acceptance. Name one person who signs off on product scope and one who approves production changes. Provide access to cloud or data center accounts, DNS, catalog and order data, and contacts for payment, tax, ERP and shipping integrations. Someone must test each release through the storefront and checkout before cutover. The stack is large: the Adobe system requirements for 2.4.9 list PHP 8.5, MariaDB or MySQL 8.4, OpenSearch 3, Valkey 9, RabbitMQ 4.3 and Composer 2.10, so someone must own each component. On Docker or Kubernetes, staff must operate containers, registries and the database. On VMs, staff must patch the operating system and manage backups.
Can our in-house team run Magento Open Source on Kubernetes without outside help?
Often yes, if the team already runs most of the stack and has completed a Magento upgrade before. Make the skill check specific: Composer-based deployment, cron and indexer operations, PHP and nginx tuning, search and queue services, database administration, and container or VM operations. Gaps usually show up during the first upgrade and the first incident, so rehearse a patch cycle in a non-production environment before you commit. An outside partner helps when a skill is missing, when you need a fixed-scope build with a fixed deadline, or when you need an independent party to harden and document the setup. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted platforms inside your own infrastructure.
Does Kubernetes improve Magento Open Source uptime on its own?
No. Kubernetes restarts failed containers and reschedules pods, but it does not make the store highly available by itself. Availability depends on the layers behind the storefront: database replication and failover, OpenSearch sizing, RabbitMQ and Valkey redundancy, session handling and how you deploy without downtime. Varnish is the full-page cache that Adobe documents for self-managed installations, and it needs the same design attention. VMs can meet a similar availability target with load balancers, hypervisor restart features and replicated databases, so the design of those layers decides the result more than the orchestrator does. Confirm the failover design with your architects and test it before launch.
What should a quote for hosting Magento Open Source include?
A quote is comparable only when it follows the same written scope. Ask for the deliverables, assumptions, exclusions and a timeline with milestones. Separate one-time items (build, migration, hardening, testing and documentation) from recurring items (patching, monitoring, backup testing and any retainer) on different lines. List the third-party costs you pay directly, such as cloud or data center capacity, Kubernetes control plane fees or hypervisor licenses, so you know which costs go to the partner and which go to the provider. Ask how each Magento patch cycle will be handled, what the handover includes and what the retest covers. DeployOpen does not publish a price list. A quote follows from the written scope.
What recurring work does Magento Open Source need after launch?
Recurring work covers patching, upgrades, monitoring and backup testing, and it continues for as long as the store runs. Adobe's upgrade guide recommends upgrading every patch cycle to stay secure and PCI compliant, and it names customizations, extension count, third-party integrations and coding practices as the main drivers of upgrade effort. Adobe ships a full patch for the 2.4.x LTS line each May and releases security patches at least annually for every supported line. Under the Adobe Commerce lifecycle policy, Magento Open Source 2.4.9 has standard support until May 31, 2029. Plan a regular patch window and a test process for each extension. DeployOpen offers ongoing support, upgrades and continuous testing as retainers.
How DeployOpen scopes, builds and supports the host model you choose
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Magento Open Source, the host model is one part of a written scope that also covers the search, cache, queue and database services, the extension set and the upgrade path. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Written scope names the host model, the Adobe-listed service versions and each storefront in scope.
- Inventory covers installed modules and themes, third-party integrations and custom code, since these drive upgrade effort.
- Fixed-scope engagements agree deliverables and timelines in writing before work starts; ongoing support is a separate retainer.
How we build
- Each model is built with the Adobe-listed PHP, database, OpenSearch, cache, queue and nginx versions.
- Varnish is configured as the full-page cache on self-managed hosts, the setup Adobe documents.
- Content Security Policy headers, module and theme structure, and PSR-4 conventions are reviewed during the build.
How we hand over
- Handover documents the host model, component versions, cron and queue workers, and where each service runs.
- Backup and restore steps are written down and included in the handover for the database, media and configuration.
- Upgrade runbook covers patch cycles, the Upgrade Compatibility Tool and rollback points for each release line.
How we support
- Retainers cover upgrades, continuous testing and ongoing support after handover, agreed in writing.
- Each Adobe patch cycle is reviewed against your extensions and integrations before it reaches production.
- Compliance evidence covering configuration records, access settings and change history is prepared for your assessors, who issue any attestation.

