Start a Project

Magento AMI Installer – User Guide

This Magento AMI walks you through using the Magento auto-installer script (setup.sh) to deploy a Magento site with Nginx, Varnish, MySQL, PHP and SSL on an AWS EC2 instance.

Prerequisites For Magento AMI Installer

This AMI comes pre-configured with all required software and Magento source code. Before using the installer, ensure the following:

Installation:

Run the Script

The system will prompt you to enter the following inputs:

Additionally, the script will create the DB and user automatically if they don’t exist.

The script will check if the domain points to this server’s public IP.

If domain matches, installation proceeds.
If the domain doesn’t match, the system will ask you to try again.

Magento Installation

Once the domain check passes:

After completing Magento Setup it will install certbot and automatically configure Nginx.

Credentials

At the end, the following will be saved at the mentioned directory

—–> /home/ubuntu/magento_details.txt

Contents include:

Example Output

Magento 2.4.8-p4 + SSL Installed Successfully!

Store URL: https://example.com

Admin URL: https://example.com/admin_xxxxxx

—–> The 2-Factor-Authentication for admin is already disabled.

Admin User: admin

Admin Password: PASSWORD

Exit mobile version