S
S
sergpenza2012-03-19 09:46:57
Debian
sergpenza, 2012-03-19 09:46:57

Mount Amazon S3 storage?

Is it possible in Debian to mount the Amazon repository as a regular folder?
I tried to use s3cmd, but for some reason it periodically crashes with some kind of python errors

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
shadowalone, 2012-03-19
@shadowalone

s3fs will help you.
code.google.com/p/s3fs/ compile
, install.
And
then s3fs bucketname -o accessKeyId=XXXXXXX -o secretAccessKey=XXXXXXXX /mnt/s3drive

B
BrainHacker, 2012-03-19
@BrainHacker

Not sure if this solution will work for you, but I mounted the file system (root / ) of my Amazon EC2 instance like this:

# mkdir fs/
# sshfs -o IdentityFile=<pk_from_key_pair> [email protected]<server_name>:/ fs/

The sshfs and fuse programs must be installed. <pk_from_key_pair> is the public key of your key pair. <server_name> is like the Public DNS of your running instance.
Unmounting the system:
# fusermount -u fs/

In this way, you can mount not only the root of the system, but also any folder.

J
jinxu, 2012-06-09
@jinxu

does not work when you go into a folder and write ls, it freezes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question