Cannot use S3Client send on remote hosted by render, works fine on localhost

I’m using an aws s3 bucket to upload images used by my backend. After testing locally, seeing it working I thought it would be fine on render. However, I’m getting 403 ‘Access Denied’ errors for seemingly no reason.

Hi there,

Just to confirm, you are getting these 403 errors when trying to access your AWS S3 bucket, correct?

If so, one thing to check is to ensure there is no IP blocklisting happening on the AWS side. You can learn about the outbound IPs for your backend via our docs here: https://docs.render.com/static-outbound-ip-addresses

Provided you can’t glean any additional detail about the error from the logs, you may want to reach out to AWS Support to learn more.

Regards,
Mike


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.