Magento 1.9 AWS – Deploying Magento Site on New Elastic Beanstalk Environment

awsmagento-1.9

We have a t1.micro ec2 server right now. It has magento installed on it, which has been customized w various plugins and other custom development

I’ve successfully set up an elastic beanstalk LAMP environment and connected it to RDS.

I’d like to install our magento site on our elastic beanstalk environment and use it as our production environment, but am not sure how.

I know that deploys are handled on elastic beanstalk by uploading a zip file, but I have been unsuccessful so far at deploying working software. I am not sure exactly what needs to be zipped, and I am not sure if I am missing/copying config files unnecessarily.

To this point I have:
Replicated the database from the t1.micro server into the RDS database. Based on a few queries and browsing the tables, it seems like I did this successfully.

Zipping everything in our t1.micro /var/www/html folder (changing params in local.xml to RDS db host,user,pw), and uploading that folder, but am getting a stack trace:

enter image description here

Also – I originally had installed the sample elastic beanstalk test software successfully, so I know that there are no security group issues between my servers and RDS.

Ultimately, I would love some help on how to deploy customized magento to elastic beanstalk – what files & directories need to be included in the zip, and guidance on what files need to be changed. Any help for a n00b would be greatly appreciated!

Best Answer

Check error in error report file : /var/report/error no display in screen

Related Topic