Leveraging your AWS Magento 2 Cloud Infrastructure dramatically reduces your monthly spend 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.
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 your 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, 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, using 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 to orchestrate dependent layers, update arguments dynamically and keep configurations. Define Terraform code once, no matter how many environments you have (DRY).
Magento Cloud infrastructure [Source]
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.
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.
Magento Cloud pricing [Source]
|Manual scaling, requires prior notice, vertical scaling, 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 +
|Paying only for AWS resources you used, starting from 300$ months
|Host-only single Magento 2 CE installation
|Can host multiple project, web sites, tech stacks, PHP, Node.JS, Python, Java; Magento 1/2, WordPres, 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.
Please, take care of yourself! 🙏