Start a Project

Magento AMI Installer – User Guide

This Magento AMI walks you through using the Magento auto-installer script (magento_installer.sh) to deploy a Magento site with Apache/Nginx, MySQL, 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 Steps

Step 1: Run the Script

The system will prompt you to enter the following inputs:

  1. MySQL Credentials

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

  1. Domain Validation

If domain matches, installation proceeds.

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

Step 2: Magento Installation

Once the domain check passes:

Step 3: Apache/Nginx Virtual Host & SSLPath

Step 4: Credentials

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

—–> /home/ubuntu/magento_admin_credentials_<your-domain>.txt

Contents include:

Example Output

Magento 2.4.2 + SSL Installed Successfully!

Store URL: https://example.com

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

Admin User: admin

Admin Password: PASSWORD

Step 5: Disable 2-Factor-Authentication

After login to admin page run the below command to disable two_factor_authentication

for Apache:

for Nginx:

Exit mobile version