Tuesday, 30 May 2017

Access denied while uploading image to AWS S3

Objective: I have my Node.js app deployed as an Elastic Beanstalk instance on the AWS. I've to upload an image onto AWS S3.

Problem: It's giving me 'Access Denied' when I do so. Although it works perfectly okay when I do it locally (before pushing it onto AWS).

Note: I'm using Multer-S3 for this purpose.

What seems to be the problem? I've tried various S3 bucket policies, but to no avail.



via user_47

No comments:

Post a Comment