how to download files 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