You can copy the files from your EC2 server to an S3 bucket via AWS CLI in following way: SSH into your EC2 instanceConfigure AWS CLI on your EC2 instance $ aws configure Make sure the EC2 instance has a role assigned which has permissions to read and write to S3 bucketTry running below command … Continue reading Copying files from EC2 server to an S3 bucket