title: How to upload a file using Laravel with Elastic Beanstalk?
body: <p>I've deployed a Laravel app on an Elastic Beanstalk environment and all of my file upload functionality is not working. I've looked everywhere online, but nothing can solve this issue.</p>
  
  <p>When I'm uploading a document, everything seems to work. No error is shown. However, the file doesn't actually get uploaded. This makes me think that it's the permissions causing it, however, I have set the upload folders to 755 using .ebextensions config and the issue is still there.</p>
  
  <p><em>.ebextensions/{appname}.config</em></p>
  
  <pre><code>container_commands:
      change_permissions:
          command: chmod 755 /var/www/html/storage/app/public
  </code></pre>
  
  <p>Does anybody know the cause of this issue? I'm trying to avoid using S3 if possible as using Elastic Beanstalk is only temporary. </p>