So I would like to try using Heroku to be my server, however heroku does not allow writing to its file system. Instead I need to use the database and something like Amazon S3 for storage of things like uploaded images.
The problem is that I often don't have internet access when developing. Or very poor internet access. So developing for Amazon S3 is kind of impractical. Is there an offline version to use so that my local machine can act as the S3 cloud, and when in testing/production environments I can use the real S3?
Amazon states that “if you store 10,000,000 objects with Amazon S3, you can on average expect to incur a loss of a single object once every 10,000 years.” This is well beyond the risk level of “gravity randomly stops working.”
According to the Amazon S3 Documentation: Once deleted, there is no method to restore or undelete an object. It's unfortunate S3 doesn't support snapshots. To give hope to some people, nowadays you can undelete files if your bucket has versioning enabled.
Empty S3 buckets don't cost anything. You are only charged by the size of the objects in the bucket, the storage class and the access.
Old question but wanted to post this, there is a "Fake S3" tool that appears to be designed to do exactly this. Just about to give it a whirl.
https://github.com/jubos/fake-s3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With