Image uploading in django application for in production
(1) I'm trying to upload images through my django application, I upload the images into a folder and store its address/url (media url) into the database. I deployed the application in heroku, but uploading cannot be done with error "read-only file system".
(2)So I moved to AWS S3 bucket services, where I can store the images in a bucket, but the image accessing urls created while uploading has expiry period of maximum 7 days, which is not good website for production because i can't use the uploaded images after 7 days.
The problem arises in to situations, please provide feasible solution/alternative.