how to upload files on aws 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: upload to aws
aws s3 cp /css/ s3://yourbucketname/css/ --recursive
scp -i ~/Downloads/file.pem local_image_file user@ec2_elastic_ip:/home/user/images/
aws s3 cp /css/ s3://yourbucketname/css/ --recursive