how to upload data in ec2 instance code example
Example: aws ubuntu file upload
$scp -i ~/Desktop/amazon.pem ~/Desktop/MS115.fa ubuntu-54-166-128-20.compute-1.amazonaws.com:~/data/
$scp -i ~/Desktop/amazon.pem ~/Desktop/MS115.fa ubuntu-54-166-128-20.compute-1.amazonaws.com:~/data/