---
title: "Deploy Magento Open Source on Edge | Enterprise PHP commerce"
description: "Run Magento Open Source on Edge — production VMs with PHP-FPM, MySQL/Postgres, Redis and Elasticsearch, S3-compatible media via the official adapter, global CDN with zero egress fees."
url: https://edge.network/solutions/magento/
---

# Deploy Magento Open Source on Edge | Enterprise PHP commerce

For Magento

# Magento on Edge, enterprise without Adobe pricing

Magento Open Source on real VMs with the full data tier on
private networking, S3-compatible media and a global CDN.
Adobe Commerce-class hosting at a fraction of the cost.

[Start free](https://edge.network/account) [Have us manage it](https://edge.network/solutions/expert-services)

# Provision a Magento-ready VM

$ edge compute create \

--image ubuntu-24-04 --plan medium \

--script ./bootstrap-magento.sh

# env.php — S3 media adapter

'media_storage_configuration' => [

'media_storage' => 2, // S3

'endpoint' => 'https://storage.edge.run',

'bucket' => 'magento-media',

],

# CDN out front

$ edge cdn create shop.example.com \

--origin https://<vm-ip>

## Why Magento merchants move to Edge

Adobe Commerce-grade hosting characteristics, agency-friendly bills.

### Tuned for Magento's appetite

Magento needs real CPU, fast disk and plenty of RAM. Edge VMs with NVMe and dedicated cores keep page generation snappy at scale.

### Full data tier on private networking

Run MySQL, Redis and Elasticsearch on the same or adjacent VMs. No cross-region latency, no per-query egress fees.

### S3 media adapter

Use the official Magento S3 adapter (or community Flysystem alternatives) pointing at Edge Storage. Catalogue media survives VM restores.

### Image transforms at the CDN

Magento generates thumbnails for every product variant. Hand them off to Edge Image Optimization for AVIF/WebP at the CDN.

### Global CDN, zero egress

Cache catalogue HTML for guests, all static assets, JS bundles and product images. Your origin VM only sees logged-in / cart traffic.

### B2B and multi-store

Magento's multi-website / multi-store features work cleanly on a single VM with multiple URLs, or split across VMs as the catalogue grows.

Reference architecture

## How Magento maps to Edge

Magento + LEMP + the full data tier, all wired together over Edge's private networking.

Compute Runs Magento + Nginx + PHP-FPM, with MySQL, Redis and Elasticsearch on the same or private VMs

Storage S3-compatible bucket for the `pub/media` directory

CDN Caches catalogue HTML for guests, plus all static and media URLs

Image Optimization AVIF/WebP and responsive variants from Magento media URLs

DNS Anycast DNS for stores, admin and email subdomains

Shield Stops carding bots and fake account creation on checkout and login — free

Indicative cost

### Mid-sized Magento store

~500k monthly visits, 5,000 SKUs, B2B + B2C, 1TB image bandwidth

Adobe Commerce Cloud $$$$+
Magento-specialist host ~$300–800
Edge (VMs + CDN + Storage) ~$80–180

Indicative figures. Add Expert Services for a fully managed equivalent.

## Common questions

### Magento Open Source or Adobe Commerce?

Open Source runs cleanly on Edge — same PHP/MySQL stack, fewer licensing constraints. Adobe Commerce (the paid version) also runs technically, but most teams who pay for Adobe Commerce stay on Adobe Commerce Cloud for the bundled support.

### What about Magento's page cache?

Built-in Varnish-style FPC works fine on a Magento VM. Pair it with the Edge CDN for a two-tier cache (CDN for the world, Magento FPC for warm origin pages).

### How do I run Elasticsearch / OpenSearch?

On the same VM for small catalogues, on a dedicated VM via private networking for serious ones. We have customers running 500k+ SKUs against a single dedicated search VM.

### How does this compare to Magento hosting providers?

Cheaper and faster than most Magento-specific hosts (you're not paying for branded support tier you may not need), and you keep root. Trade-off: bootstrap script for the OS — or our Expert Services team can run it.

By Stack

## Other stacks on Edge

[View all stacks →](https://edge.network/solutions/stacks)
[Saleor Python + GraphQL headless commerce](https://edge.network/solutions/saleor)[Shopify Hydrogen Self-host your Shopify storefront](https://edge.network/solutions/hydrogen)[PostgreSQL Self-hosted Postgres on dedicated NVMe](https://edge.network/solutions/postgresql)[MySQL MySQL or MariaDB on real VMs](https://edge.network/solutions/mysql)

## Move Magento to Edge

Start free. Migrate one store or a whole estate — Expert Services can plan and execute.

[Start free](https://edge.network/account) [Have us migrate it](https://edge.network/solutions/expert-services)
