Shell script to Upload files from AWS EC2 to S3
13,506
Consider using command line s3 clients.
Also go through some of these sites :
Shell Script To Transfer Files From Amazon S3 Bucket.
python script to upload file to s3
Author by
Pravin
Updated on June 24, 2022Comments
-
Pravin almost 2 years
I am executing jmeter on AWS EC2, result of which is returned in the form csv file.
I need to upload this csv file to AWS S3 bucket.
Since I am creating number of EC2 instances dynamically and executing jmeter on those instances, it's better to automate this process .
So for this I want to write shell script (as a user data) to execute jmeter and upload result CSV file to S3 bucket from each EC2 instance.
How i can write script for this ?