How to transfer file from ec2 to s3?

0 votes
I have files in my ec2 instance and i want to move those file to s3. How can i do that? Can someone help?
Jan 14, 2019 in AWS by Anjali
• 2,940 points
475 views

1 answer to this question.

0 votes

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

answered Jan 14, 2019 by neha

Related Questions In AWS

0 votes
1 answer

How to copy .csv file from Amazon S3 bucket?

Boto3 is the library to use for ...READ MORE

answered Jul 6, 2018 in AWS by Priyaj
• 57,550 points
773 views
0 votes
1 answer

How to download a file from EC2 instance to local computer?

You need to specify your download location. ...READ MORE

answered Oct 10, 2018 in AWS by Archana
• 4,150 points
2,396 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
+3 votes
5 answers

How to move files from amazon ec2 to s3 bucket using command line

Hey, 3 ways you can do this: To ...READ MORE

answered Oct 9, 2018 in AWS by Omkar
• 69,040 points
11,067 views