Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline Amazon S3 [closed]

Tags:

amazon-s3

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?

like image 878
Dmitriy Likhten Avatar asked Jul 20 '10 16:07

Dmitriy Likhten


People also ask

Can S3 lose data?

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.”

Can deleted S3 files be recovered?

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.

Do you get charged for an empty S3 bucket?

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.


1 Answers

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

like image 175
Chris Nicola Avatar answered Mar 21 '23 14:03

Chris Nicola