We ran into a serious problem with Amazon EC2 and Prestashop.
We deployed Prestashop with Amazon Elastic Beanstalk, and we installed S3 for media servers. When we download products with images with the csv import function, we encounter the following problems.
A new EC2 instance is created and all css and js files (cache) are lost, and the media servers in the database are freed. Because of this, we need to generate all the css and js files and upload them to the S3 server each time, because the previously created css and js are now useless.
When loading images, if a new instance of EC2 is created, also lose images.
Please help us to better solve the above problems.
Best wishes,
source share