how to download file from ec2 instance code example
Example: secure copy to aws
scp -i /directory/to/abc.pem /your/local/file/to/copy [email protected]:path/to/file
scp -i /directory/to/abc.pem /your/local/file/to/copy [email protected]:path/to/file