hi i am trying render for the first time
i have a issue releted to images
i have made an ecommerce website where i upload many product images and store it in mongodb
images are displayed for some time
after some time images are not displayed
technologies used
mern stack mongodb express react nodejs
frontend deployed on netlify(free)
backend deployed on render(starter)
database mongodb
Hi,
It sounds like you may be saving the images to the compute instance.
Render instances have an ephemeral filesystem, meaning any file written to the instance after it has booted will be lost when it next restarts (e.g. spun down if on free instance type, next deploy, manual restart, etc.).
If you want to use file uploads on your service, you’ll need to have a persistent store, e.g. a Render Disk (which is chargeable and also requires a paid instance type) or an external service like AWS S3.
Alan
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.