Hey,
I am fairly new to Magento
I have an a Magento 1.9.x stored deployed on shared hosting, I wanted to move that store on to an AWS ec2 instance. I was looking for help how I could do it.
I tried to use a database back-up and taken on the shared server and tried to use to restore the database on AWS server but it didn't work. Similarly, system-back up rollback didn't work.
I have tried to copy the source files from the Magento folder from shared host to the AWS instance it led gave a 403 on the new server.
How can I go about it properly?
Really thankful for your help !!
Hello @a97tulsani2847
With this email, sharing few of article to follow:
https://magenticians.com/install-magento-on-aws/
https://medium.com/@egorshytikov/install-magento-2-on-aws-linux-2-d6419c7abecc
https://magecomp.com/blog/how-to-install-magento-on-amazon-web-services-aws/
Please follow these article these will help you to deploy on AWS.
Hey @Manish Mittal ,
really thankful for your help,
One more thing I wanted help is how to go about moving my code from the old server to AWS instance, how should I go about adding my source code and extensions from old server and shift them.
And for the setup of instance, I tried using:https://aws.amazon.com/marketplace/pp/Aurora-Magento-Base-Version/B079472YZZ
Image to allow instance setup quicker is it a correct approach or I should stick with manual installation environment setup.
Thanks a lot again !!
You can do a zip and upload over there. then you can extract there the same zip. Let me know if you will face any issue. Thanks
Should I zip from root directory and then unzip the whole directory in the new server.
I had tried only use the Magento source code by unzipping it on new server, it gave me a 403 forbidden error when went to the IP.
403 forbidden related to permission issue not related to codebase issue. Please check permission of your files and folders. Thanks
Hey sorry for the late reply,
I tried out the process as mentioned
1. Created an AWS ec2 instance with 1.9 base Magento with Webmin and Lamp support
2. I was able to import my database using the SQL dump from my original server
3. I copied the available source code on the shared server from /var/www/html to var/www/magento (my ec2 instance) , I did since my ec2 instance was serving files from magento folder and I was unable to change to a 000-default.conf file
4. I changed the IP addresses in core_conf_data table in my SQL to allow the IP address of my instance
5. I cleared cache from magento/var/cache folder
The website still showed error in loading, i didn't get permission denied but just the 'Error in processing request'
where am I going wrong or is there a step i missing out
PS: my website also have cc_avenue payment plugins could the plugins be a cause of the same?
Thank you for you help!!
Please check Magento logs in Var/logs/ folder here you will find system.log and exception logs.
Apart from that you can find reports too in var folder.
You can get some idea what is the issue here.
Hey,
I had some success while trying to migrate the website
I tried using a different Amazon Image where Magento 1.9 came installed on fly
Here I move my SQL dump from the server.
And while setting up new Magento store I linked to the database containing the old database files, on my website I am now able to view the products with basic Magento templates
How do I recreate my frontend on the same website?
I tried copying the full source code, it shows a Magento error, i tried checking exception log file where it showed an Zend_SMTP error, with multiple types of the same error.
How can I recreate my frontend for the website, copying code is not working. I guess it is due to some mismatch in values due to a new website setup and old source code copying.
How can I resolve it?
Thanks for the help!!
That is not sure what exact code is there and what is the issue. Please debug or if you have specific error please share