How to transfer files between AWS s3 and AWS ec2

前端 未结 9 2179
借酒劲吻你
借酒劲吻你 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 10:02

    I'm using s3cmd to store nightly exported database backup files from my ec2 instance. After configuration of s3cmd, which you can read about at their site, you can then run a command like:

    s3cmd put ./myfile s3://mybucket

提交回复
热议问题