How we can install Magento 2.4 on EC2 Amazon Instance. I am a newbie and new to coding, it will be a great help if someone can tell me the exact steps and commands I have to run in order to install Magento.

  • Did you install any os or lamp on your aws instance? Commented Dec 3, 2021 at 3:03
  • i installed ubuntu Ubuntu Server 20.04 LTS (HVM), SSD Volume Type Commented Dec 3, 2021 at 16:07
  • First install lamp and need applications on your server. Than install Magento. Commented Dec 7, 2021 at 11:38

1 Answer 1


For Magento 2.4 you need to install PHP 7.4 and elasticsearch. You can use this to install magento 2.4.x in your local.

Source: https://magentip.com/install-magento-2-4-x-on-ubuntu-with-elasticsearch/

This will help you to install magento on aws.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.