How to transfer files between AWS s3 and AWS ec2

前端 未结 9 2196
借酒劲吻你
借酒劲吻你 2020-12-23 09:34

I am using AWS ec2 instance. On this instance I\'m resulting some files. These operations are done by user data.

Now I want to store those files on s3 by writing co

9条回答
  •  醉酒成梦
    2020-12-23 09:51

    All attempts to mount s3 as a pseudo filesystem are problematic. It's an object store, not a block device. If you must mount it because you have legacy code that must have local file paths, try goofys. It's about 50x faster than s3fs. https://github.com/kahing/goofys

    s3cmd is a bit long in the tooth these days. The AWS cli is a better option these days. The syntax is a bit less convenient, but it's one less tool you need to keep around.

    If you can stick to http access. It'll make you life easier in the long run.

提交回复
热议问题