Reputation: 345
Hello I am new to using django and heroku and through out me designing my first project I Found out that I need a AWS 3 account/S3 storage to store images/files but I was wondering if I could use either a OneDrive or a Google Drive to save the files/images that the user uploads and if so, is it Like when using a AWS 3 storage.
Upvotes: 0
Views: 1754
Reputation: 640
Heroku has an “ephemeral” hard drive, this means that you can write files to disk, but those files will not persist after the application is restarted. You would get them lost in case you restart your dyno or deploy a new release (Active Storage on Heroku.
But you have a few options to get your data stored although that is the case.
Which options would fit your plan depends a bit on your application and the kind of data you want to store. You are using a sqlite-db and need an additional file storage and all together needs to be migrated to Heroku: Migrating your Django Project to Heroku
Upvotes: 1