how to upload file to aws instance code example
Example 1: aws ec2 upload file
scp -i ~/Downloads/file.pem local_image_file user:/home/user/images/
Example 2: upload to aws
aws s3 cp /css/ s3://yourbucketname/css/ --recursive
scp -i ~/Downloads/file.pem local_image_file user:/home/user/images/
aws s3 cp /css/ s3://yourbucketname/css/ --recursive