Forem Creators and Builders 🌱

hello1024kk
hello1024kk

Posted on

How to use aws s3 to store all the images uploaded by users?

Hello, I have set up a forum site on my host with the help of the selfhost script on the AWS platform.

But when I upload the images on my forum, I can not find the images in my s3 bucket. Or is it possible to use the AWS S3 bucket to store all the images uploaded by users?

Top comments (2)

Collapse
 
ellativity profile image
Ella (she/her/elle)

@andrewbrown did you attempt/encounter issues accessing images in S3 buckets on your Forem?

Collapse
 
hello1024kk profile image
hello1024kk

Hi, Ella, i used the selfhost script to deploy the forum on aws, and finally i got to know that u need to set the asw bucket params in the rails.env file. and reload the whole service.

will add a more detail post later to guide people who want to use their aws bucket service.