---
title: "Magento hosting on Edge | Open Source, no Adobe pricing"
description: "Run Magento Open Source on Edge: dedicated VMs with MySQL, Redis and OpenSearch on a private network, pub/media in S3 storage and a CDN with zero egress."
url: https://edge.network/solutions/magento
---

For Magento

# Magento Open Source, on hardware sized for it

Magento Open Source on dedicated vCPUs and NVMe, with MySQL, Redis and OpenSearch on a private network, pub/media in S3-compatible storage and a CDN in 988 locations.

[Deploy a VM](/console/access/new?product=compute)[Have our engineers run Magento](/solutions/expert-services)

The setup on this page costs $102.68 a month, with no egress line.

Why Magento on Edge

## Give Magento the hardware it expects

Magento is heavy by design. Give it real hardware and put everything it doesn't need to compute on the CDN.

-   ### Sized for Magento's appetite
    
    Dedicated vCPUs, plenty of RAM and local NVMe keep page generation, indexers and cron jobs quick under load.
    
-   ### The data tier on a private network
    
    MySQL, Redis and OpenSearch on adjacent VMs in the same region. Private traffic is free and never touches the internet.
    
-   ### pub/media in a bucket
    
    Magento's remote storage module writes media to Edge Storage over the S3 API. Catalogue images survive any rebuild.
    
-   ### Thumbnails at the CDN
    
    Let the CDN produce AVIF and WebP variants from Magento media URLs instead of pre-rendering every size per product.
    
-   ### Two-tier caching
    
    The CDN serves guest pages, static/ and media from 988 locations. Magento's full-page cache keeps origin pages warm.
    
-   ### B2B and multi-store
    
    Several websites and store views on one install and one web VM, or split across VMs as the catalogue grows.
    

Reference architecture

## Web VM in front, data and search tiers behind it

Magento and LEMP on the web VM, the full data tier behind it on a private network, media in a bucket and guests served from the CDN.

-   [Compute](/compute)
    
    Runs Magento, Nginx and PHP-FPM on the web VM; MySQL, Redis and OpenSearch on private VMs.
    
-   [Storage](/storage)
    
    Holds pub/media through Magento's aws-s3 remote storage driver.
    
-   [CDN](/cdn)
    
    Caches guest catalogue pages, static content and media URLs worldwide.
    
-   [Image optimisation](/docs/cdn/image-optimization)
    
    AVIF, WebP and responsive variants from Magento media URLs.
    
-   [DNS](/dns)
    
    Anycast DNS for each store, the admin and email records.
    
-   [Shield](/shield)
    
    Stops carding bots and fake account creation on checkout and login.
    
-   [Assist](/assist)
    
    Deflects pre-sales questions using your catalogue and policy pages.
    
-   [Pulse](/pulse)
    
    Multi-step checks on search, add-to-cart and checkout from real user locations.
    

Deploy

## Magento from your own bootstrap script

There's no library script for Magento, so save your own bootstrap once and reuse it for every store and environment.

1.  01
    
    ### Save your bootstraps and create the VMs
    
    web.sh installs Nginx, PHP 8.3-FPM with Magento's extensions and Composer. Save data.sh (MySQL, Redis) and search.sh (OpenSearch) the same way.
    
    shell
    
    ```
    $ edge compute scripts create --name magento-setup --file web.sh
    $ edge compute create --name mage-web --size s-4vcpu-8gb \
        --image ubuntu-24 --region london --script magento-setup
    
    $ edge compute create --name mage-data --size s-4vcpu-8gb \
        --image ubuntu-24 --region london --script magento-data
    $ edge compute create --name mage-search --size s-2vcpu-4gb \
        --image ubuntu-24 --region london --script magento-search
    ```
    
2.  02
    
    ### Install against the private data tier
    
    Attach all three VMs to one private network first. Sessions and cache go to Redis, search to OpenSearch.
    
    shell
    
    ```
    $ bin/magento setup:install --base-url=https://shop.acme.com/ \
        --db-host=10.185.0.3 --db-name=magento --db-user=magento \
        --db-password=<pw> --search-engine=opensearch \
        --opensearch-host=10.185.0.4 --opensearch-port=9200 \
        --session-save=redis --session-save-redis-host=10.185.0.3 \
        --cache-backend=redis --cache-backend-redis-server=10.185.0.3
    ```
    
3.  03
    
    ### Move pub/media to Edge Storage
    
    The aws-s3 remote storage driver takes a custom endpoint. remote-storage:sync copies the media you already have.
    
    shell
    
    ```
    $ bin/magento setup:config:set --remote-storage-driver=aws-s3 \
        --remote-storage-bucket=magento-media \
        --remote-storage-region=us-east-1 \
        --remote-storage-endpoint=https://storage.edge.network \
        --remote-storage-path-style=1 \
        --remote-storage-key=<key> --remote-storage-secret=<secret>
    $ bin/magento remote-storage:sync
    ```
    
4.  04
    
    ### Put the CDN in front
    
    Purge static/ after each deploy so shoppers get the new bundles straight away.
    
    shell
    
    ```
    $ edge cdn create --name acme-magento
    $ edge cdn domains add cdn-a1b2c3 \
        --domain shop.acme.com \
        --origin https://<web-ip> \
        --jit-image
    
    # after each deploy
    $ edge cdn purge cdn-a1b2c3 --path /static/*
    ```
    

Prefer to hand it off? [Give the job to your AI agent](/solutions/agentic-development) or [have our engineers do it](/solutions/expert-services).

What it costs

## A mid-sized Magento store, itemised

Three VMs for the app, data and search tiers, plus a CDN deployment and a bucket. No licence, no per-order fee, no bandwidth line.

-   Magento Open Source carries no licence fee
-   Private traffic between the tiers is free
-   Image transforms included with the CDN

[See compute pricing](/compute/pricing)

Estimated monthly bill on Edge

~500k visits a month, 5,000 SKUs, B2B and B2C, 1 TB of image bandwidth

USD

-   Web VM$38.47Performance: 4 vCPU, 8 GiB for Magento, Nginx and PHP-FPM
-   Data VM$38.47Performance: 4 vCPU, 8 GiB for MySQL 8 and Redis
-   Search VM$19.24Standard: 2 vCPU, 4 GiB for OpenSearch
-   CDN$3.0012.5M requests: first 500k free, then 12M × $0.25 per million
-   Storage$1.50105 GB of pub/media: first 5 GB free, then 100 GB × $0.015
-   Snapshots$2.0040 GiB of pre-deploy VM snapshots at $0.05/GiB-mo
-   Egress$0.00

Total$102.68

Indicative monthly cost for a mid-sized Magento store

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

Indicative figures based on public pricing. Add Expert Services for a fully managed equivalent.

FAQ

## Full-page cache, OpenSearch and cron

Something else? [Ask an engineer](/contact).

Magento Open Source or Adobe Commerce?

Open Source runs cleanly on Edge: the same PHP and MySQL stack, with no licence to manage. Adobe Commerce also runs technically, but most teams paying for it stay on Adobe Commerce Cloud for the bundled support.

What about Magento's full-page cache?

Keep it. The built-in cache or Varnish handles warm pages at origin, and the Edge CDN caches guest pages and assets worldwide. Two tiers, and the VM only renders what neither has.

How do I run OpenSearch?

On the web VM for a small catalogue, or on its own VM over the private network for anything serious. Magento 2.4 talks to it on port 9200; keep that port closed to the public.

Do cron and the indexers need anything special?

No. Run bin/magento cron:install on the web VM and set the indexers to update on schedule. Heavy reindexes benefit from the dedicated vCPUs.

How does this compare to Magento hosting providers?

Usually cheaper and faster, because you're not paying for a branded support tier you may not need, and you keep root. The trade-off is owning the bootstrap, or letting our Expert Services team run it.

Drop-in services

## Stop carding bots at checkout

-   [
    
    Edge ShieldBot protection`POST /siteverify → score: 94`
    
    Stops carding bots and fake account creation on checkout and customer login, with one server-side check.
    
    Free forever, with unlimited widgets. No puzzles for visitors.Explore
    
    ](/shield)
-   [
    
    Edge AssistAI answers`<script src="…/assist.js">`
    
    Deflects pre-sales questions with answers drawn from your catalogue and policy pages.
    
    Free tier: 250 answered questions a monthExplore
    
    ](/assist)

Related stacks

## Commerce peers, and the MySQL underneath

[All 38 stacks](/solutions/stacks)

-   [WooCommerceSelf-host the world's most popular store](/solutions/woocommerce)
-   [SaleorPython and GraphQL headless commerce](/solutions/saleor)
-   [Shopify HydrogenSelf-host your Shopify storefront](/solutions/hydrogen)
-   [MySQLMySQL or MariaDB on real VMs](/solutions/mysql)

## Plan your Magento migration

Start free. Migrate one store or a whole estate; Expert Services can plan and run the move.

[Deploy a VM](/console/access/new?product=compute)[Book a Magento migration call](/solutions/expert-services)

Billed hourly from a prepaid balance. Egress is free on every product.
