reference deployment

Magento Adobe Commerce on AWS—Terraform module

Content management for e-commerce websites

This Terraform module deploys Magento Adobe Commerce, an open-source content management system for e-commerce websites, to the Amazon Web Services (AWS) Cloud. This module deploys a flexible, scalable, and cost-effective Magento cluster by automating the configuration and deployment tasks. The module builds a cluster that runs Magento version 2.4.3 or higher.

Shero logo

This Partner Solution was developed by Shero in collaboration with AWS. Shero is an AWS Partner.

  •  What you'll build
  • This Partner Solution sets up the following:

    • A highly available architecture that spans two Availability Zones.*
    • A virtual private cloud (VPC) configured with public and private subnets, according to AWS best practices, to provide you with your own virtual network on AWS.*
    • In the public subnets:
      • Managed network address translation (NAT) gateways to allow outbound internet access for resources in the private subnets.*
      • Bastion hosts, located in an Auto Scaling group, to provide Secure Shell (SSH) access to the Magento web servers.
    • In the private subnets:
      • Varnish Cache instances as an HTTP reverse proxy to distribute traffic across the Auto Scaling group of Magento instances.
      • Magento Web Server instances to serve the Magento web content.
      • (Optional) Amazon MQ, a message broker that offers highly available, scalable, and portable messaging.
      • Amazon OpenSearch for searching the Magento catalog.
      • An Amazon ElastiCache cluster with the Redis cache engine.
      • Amazon Relational Database Service (Amazon RDS) for either a MySQL or Auora MySQL instance.
    • Elastic Load Balancing, located in an AWS Auto Scaling group, to distribute traffic across Varnish instances.
    • Amazon CloudFront for content delivery.
    • AWS Secrets Manager to replace hardcoded credentials, including passwords, with an API call.
    • Amazon Simple Email Service (Amazon SES), an email platform to send and receive email using your own email addresses and domains.
    • Amazon Simple Storage Service (Amazon S3) to store shared media files.

    * If you configure the module to deploy the Partner Solution into an existing VPC, the deployment skips the components marked by asterisks.

  •  Cost and licenses
  • You are responsible for the cost of the AWS services and any third-party licenses used while running this Partner Solution. There is no additional cost for using this Partner Solution.

    The Terraform module for this Partner Solution includes configuration parameters that you can customize. Some of these settings, such as instance type, affect the cost of deployment. For cost estimates, refer to the pricing pages for each AWS service you use. Prices are subject to change.

    Tip: After you deploy the Partner Solution, create  AWS Cost and Usage Reports to track costs associated with it. These reports deliver billing metrics to an Amazon Simple Storage Service (Amazon S3) bucket in your account. They provide cost estimates based on usage throughout each month and aggregate the data at the end of the month. For more information about the report, refer to  What are AWS Cost and Usage Reports?

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.