Take the 2-minute tour ×

I need a command line tool which mounts the S3 buckets to my EC2 file system.

I know there are tools available, but we are looking for a tool that makes use of the IAM roles of the machine. That is: the tool doesn't expect the access and secret key, but rather get them from machine metadata.

Does such a tool exist in Ruby? Or any other language for that matter? We'd prefer Ruby, since we can tweak it as per our need.

share|improve this question
you need a ruby command line s3cmd might help our fuse could be a better options for mount in term of gem I think 'fog` even amazon-sdk can solve your purpose –  Viren Oct 24 '12 at 13:02
s3mcd, fuse doesn't support of IAM roles. –  sriram Oct 24 '12 at 13:05

1 Answer 1

Hi you can either use s3cmd tool which is pretty simple and straight forward to configure. If you really want to mount s3 buckets you can use some thing called s3fs. A quick googling will take you to google project repo, you need to break your head to configure, I suggest you to use https://github.com/tongwang/s3fs-c which is pretty simple and easy to configure too.

share|improve this answer
This is not the answer I was expecting. Please re-read my question. –  sriram Nov 7 '12 at 10:18

Your Answer


