Copy local files from your laptop up to the AWS Linux instance with terminal code example
Example 1: aws ec2 upload file
scp -i ~/Downloads/file.pem local_image_file user@ec2_elastic_ip:/home/user/images/
Example 2: aws ubuntu file upload
$scp -i ~/Desktop/amazon.pem ~/Desktop/MS115.fa [email protected]:~/data/