how to transfer data to ec2 instance code example
Example: upload zip file to ec2
$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/