All technologies

Need assistance? Talk to the expert

MageCloud Customers

Discover how ecommerce businesses worldwide use MageCloud to power their success.

Magento Cloud Hosting Infrastructure: Scale on Demand [VIDEO]

Leveraging your AWS Magento 2 Cloud Infrastructure dramatically reduces your monthly spending instead of paying to an expensive managed hosting provider (PaaS, SaaS).


There is a really cost-effective solution, so let’s consider it in more detail.



Magento 2 Cloud Terraform Infrastructure as code for AWS  Public Cloud

This git repository contains Magento 2 Cloud Terraform infrastructure as code for eCommerce Cloud Architecture on AWS. 


This infrastructure is the result of years of experience scaling Magento 1 and 2 in the cloud. Consequently, it comes with the best cloud development practices baked in to save you time and money.


This Script was designed for Magento at first, but now is not limited to Magento deployments and can be used with any eCommerce/Web platform. You can use it with WordPress, WooCommerce, Drupal, Shopware 6, Shopify APP (Custom Private APP cloud), VueStorefront, Silyus, Oddo, ORO, etc. 


In other words, the eCommerce Terraform deployer for Magento automates deployments for key enterprise workloads on the AWS cloud. It launches, configures, and runs the AWS computer, network, storage, database, and other services required to deploy a specific workload on AWS. And does it, uses best industry practices for security and availability.


To clarify, this OpenSource project covers the implementation of Magento 2 Community/Enterprise Edition in a highly available architecture on the AWS cloud, using AWS services such as Amazon EC2, Amazon VPC, and Amazon RDS. 



Some useful links for you as you research this further:




The infrastructure consists of multiple layers (autoscaling, alb, rds, security-group, vpc), where each layer is configured using one of Terraform AWS modules with arguments specified in terraform.tfvars in layer’s directory.


Terragrunt is used to work with Terraform configurations which allows orchestrating dependent layers, updating arguments dynamically, and keeping configurations. Define Terraform code once, no matter how many environments you have (DRY).



Magento Cloud infrastructure [Source]




Multi-cloud deployments

Terraform provides Magento 2 Open Source Cloud infrastructure as a code approach to the provision and can manage any popular service providers, such as AWS, GoogleCloud, Microsoft Azure, Alibaba Cloud, and VMware, as well as custom in-house and on-premises solutions.


  • Optional: pre-commit hooks to keep Terraform formatting and documentation up-to-date



Architecting your Magento platform to grow with your business can sometimes be a challenge. Therefore, this video walks through the steps needed to take an out-of-the-box, single-node Magento implementation and turn it into a highly available, elastic, and robust deployment. 

Let’s have a closer look at Terraform Infrastructure together. ⬇️⬇️⬇️



Thanks for watching! We hope you will find this video useful for your business.




eCommerce Cloud Price Visualisation

Magento Cloud pricing [Source]



Why not Magento Cloud?



Magento Cloud




Manual scaling, requires prior notice,  vertical scaling, and performance degradation during scaling


Unlimited Resource, scaling by rule, no performance degradation


Fast CDN only


Completely CDN agnostic works with Cloudflare, CloudFront


Works only with Enterprise version M2


Works with any version of Magento 1/2


Expensive $2000-$10000 per month +
Enterprise license
Paying only for AWS resources you used, starting from 300$ months



Not Customizable


Fully Customizable


Host-only single Magento 2 CE  installation


Can host multiple projects, websites, tech stacks, PHP, Node.JS, Python, Java; Magento 1/2, WordPress, Drupal, Joomla, Presta Shop, Open Cart, Laravel, Django




If you need a hand maintaining and optimizing your Magento website, please contact us to start discussing your requirements.


Have we piqued your interest?

Let us prove our skills and provide you with a free video review of your eCommerce site. Schedule a meeting with our team.
Cities we operate in