Skip to main content

Magento Hosting Architecture Models

by shop owners for shop owners.

Our Magento hosting architecture in several stages — from a lean dedicated entry-level setup to a geo-distributed high-availability architecture.

We build the hosting architecture to fit your shop — from a lean entry-level setup on a single dedicated server to a geo-distributed architecture with full failover. Here are the models at a glance.

Magento Managed Hosting Architecture Example 1

Architecture Example 1 is essentially our standard solution and is designed so that it can be quickly expanded with additional VMs or upgraded to Example 2.

INTERNETSECURITYCACHEAPPDATACLOUDDEDICATED SERVERMonitoringBackupVM 2SafeLineProxy · Bot · WAF4 vCPU16 GB RAMVM 4VarnishFull-Page Cache2 vCPU8 GB RAMVM 5NginxFrontend4 vCPU8 GB RAMVM 6NginxBackend / CLI / Index4 vCPU8 GB RAMVM 7RabbitMQMessage Queue1 vCPU2 GB RAMVM 8MariaDBDatabase4 vCPU24 GB RAMVM 9OpenSearchProduct Search3 vCPU8 GB RAMVM 10RedisSessions2 vCPU4 GB RAMINFRASTRUCTUREPrivate Cloud · VPSCPU & RAM RESERVEDVPS 12 vCPU8 GB RAMVPS 24 vCPU16 GB RAMVPS 32 vCPU8 GB RAMDedicated ServerPROXMOX VEVM 42 vCPU8 GB RAMVM 54 vCPU8 GB RAMVM 64 vCPU8 GB RAMVM 71 vCPU2 GB RAMVM 84 vCPU24 GB RAMVM 93 vCPU8 GB RAMVM 102 vCPU4 GB RAM
Internet
Incoming traffic such as genuine customers, search engine bots, security scanners, brute-force attacks, malicious IPs, spam bots and other background noise from the internet. Currently, over 30% of all HTTP requests worldwide are bot traffic — by 2027, bot traffic will overtake human traffic!
Security
This layer keeps unwanted traffic away from the subsequent layers, thereby conserving resources and, above all, ensuring an uninterrupted shopping experience. OPNsense, SafeLine and PARC Security complement one another: the OPNsense firewall blocks traffic at Layer 3/4 (ports, IP ranges, unwanted connections). The SafeLine Web Application Firewall with semantic attack detection filters at Layer 7 (SQL injection, XSS, bot traffic, credential stuffing). The PARC Security module provides OPNsense and SafeLine with up-to-date blacklists and supplies IP groups for both good and malicious bots, on which many WAF rules are based. Interesting to know: Traditional CDN-WAFs such as Cloudflare, Akamai or AWS CloudFront terminate TLS at their edge — the traffic is decrypted there for inspection and is therefore technically visible. SafeLine terminates TLS and decrypts on your own infrastructure!
Cache
Varnish delivers requests directly from the cache (Full-Page Cache, FPC) without the need for the subsequent layers — Nginx, PHP-FPM, database — to be activated. This not only saves resources but also has a significant impact on page delivery speed. Product and category pages, for example, are delivered in a flash.
App
In our architecture, the frontend and backend are separated by default. The customer’s shopping experience is not disrupted by indexers, lengthy cron jobs or large import/export processes. Security is also improved by this separation: the Magento backend (admin interface), for example, is only accessible via VPN or IP restrictions. Furthermore, this separation enables horizontal scaling of the frontend — as traffic grows, multiple frontend nodes are run in parallel, whilst the backend, cron and indexer remain centralised. RabbitMQ distributes asynchronous Magento tasks (bulk attribute updates, image generation, exports, ERP sync) across one or more workers to prevent the server from becoming overloaded — and is what makes clean horizontal front-end scaling possible in the first place.
Data
The main database is MariaDB — deliberately chosen over MySQL because it can be converted directly into a Galera cluster (with ProxySQL as the router) if required. OpenSearch handles product search and can be scaled horizontally in the same way using a coordination node and additional search instances. Redis manages the front-end and back-end sessions.
Infra­structure
For our infrastructure, we generally rely on a mix of cloud and dedicated servers based on Proxmox VE. Each service runs encapsulated in its own VM — optimisation, scaling and updates take place precisely where they are needed. The setup is designed from the outset to allow for expansion with additional cloud or dedicated servers at any time, in order to achieve greater reliability and performance.
Costs
Management
monthly
€150* per dedicated host

included:

  • Monitoring 24/7 (incl. weekends & public holidays)
  • Backups
  • OS updates
  • Proxmox VE updates
  • PBS updates
  • OPNsense updates
  • SafeLine updates
plus Hosting
monthly
€52.20*

Hardware rental from a professional host — no markup from us and no commission. The contract and control stay with you!

Additional, time-based
hourly
€100 / hr*
  • Magento migration
  • Active changes to the stack
  • Config changes
  • Extensions
  • … and more

Magento Managed Hosting Architecture Example 2

Architecture Example 2 offers even greater reliability and is designed to handle very high traffic volumes.

INTERNETSECURITYCACHEAPPDATALOCATION 1dedicated serverCLOUDvirtual 3rd locationLOCATION 2dedicated serverMonitoringBackupVM 1VarnishCache2 vCPU8 GB RAMVM 2NginxFrontend4 vCPU8 GB RAMVM 3NginxBackend · CLI · Index4 vCPU8 GB RAMVM 4RedisMaster2 vCPU4 GB RAMVM 5GaleraNode 1 · Writer4 vCPU24 GB RAMVM 6OpenSearchNode 13 vCPU8 GB RAMVM 8SafeLineProxy · Bot · WAF4 vCPU16 GB RAMVM 10Proxy SQLProxySQL2 vCPU8 GB RAMVM 11Proxy RedisHAProxy2 vCPU8 GB RAMVM 12RabbitMQQueue2 vCPU8 GB RAMVM 13OpenSearchCoordination2 vCPU8 GB RAMVM 14GaleraNode 38 vCPU32 GB RAMVM 15OpenSearchNode 38 vCPU32 GB RAMVM 16VarnishCache2 vCPU8 GB RAMVM 17NginxFrontend4 vCPU8 GB RAMVM 18NginxBackend · Admin4 vCPU8 GB RAMVM 19RedisSlave2 vCPU4 GB RAMVM 20GaleraNode 24 vCPU24 GB RAMVM 21OpenSearchNode 23 vCPU8 GB RAMINFRASTRUCTURECloud · VPSCPU & RAM RESERVEDVM 72 vCPU8 GB RAMVM 84 vCPU16 GB RAMVM 92 vCPU8 GB RAMVM 102 vCPU8 GB RAMVM 112 vCPU8 GB RAMVM 122 vCPU8 GB RAMVM 132 vCPU8 GB RAMVM 148 vCPU32 GB RAMVM 158 vCPU32 GB RAMLocation 1 · Dedicated serverPROXMOX VEVM 12 vCPU8 GB RAMVM 24 vCPU8 GB RAMVM 34 vCPU8 GB RAMVM 42 vCPU4 GB RAMVM 54 vCPU24 GB RAMVM 63 vCPU8 GB RAMLocation 2 · Dedicated serverPROXMOX VEVM 162 vCPU8 GB RAMVM 174 vCPU8 GB RAMVM 184 vCPU8 GB RAMVM 192 vCPU4 GB RAMVM 204 vCPU24 GB RAMVM 213 vCPU8 GB RAM
Security
The SafeLine WAF has one upstream server per site. If a site goes down, the WAF automatically switches to the remaining Varnish server.
App
Magento Open Source can only access one DB, one Redis or one OpenSearch server—load balancing and failover are not built-in. Therefore, ProxySQL (DB), HAProxy (Redis) and the OpenSearch Coordinator (search) handle the routing. One Nginx frontend per site — for greater load capacity and reliability. The backend admin panel and backend CLI/index are distributed across individual sites.
Data
The Galera cluster replicates the database synchronously across both sites and the cloud. OpenSearch runs similarly as a 3-node cluster. Redis is present at every site.
Infra­structure
Two dedicated servers instead of one — distributed across two sites. The cloud layer is extended with routing and quorum VMs.
Costs
Management
monthly
€300* 2 × €150 per dedicated host

included:

  • Monitoring 24/7 (incl. weekends & public holidays)
  • Backups
  • OS updates
  • Proxmox VE updates
  • PBS updates
  • OPNsense updates
  • SafeLine updates
plus Hosting
monthly
approx. €585*

Hardware rental from a professional host — no markup from us and no commission. The contract and control stay with you!

Additional, time-based
hourly
€100 / hr*
  • Magento migration
  • Active changes to the stack
  • Config changes
  • Extensions
  • … and more

* All prices net, plus statutory VAT.