I have deployed a new PHP app on Amazon AWS using ElasticBeanstalk. The problem I am facing is whenever the EC2 instance is terminated my data in uploads folder get removed. What can I do to retain the data even if the EC2 instance is terminated or a new instance is created.
Share
You will need to create an S3 bucket and store any persistent files in that – as you’ve discovered EC2 instances to not have any persistent storage of their own.