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
226 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,450 points
499 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,130 points
791 views
0 votes
1 answer
0 votes
1 answer
0 votes
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
• 68,840 points
5,158 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 57,450 points
2,593 views