What scp
arguments should I use to download a file from an Amazon EC2 instance to local storage?
Use scp:
scp -i ec2key.pem username@ec2ip:/path/to/file .
where:
This will copy the file into the current folder on the local machine.
You can read more here on how to access your instance with ssh if you haven't done already:
When you are able to ssh as in the above doc, you will be able to use scp to copy the file.
Another option is to bring up some Web server on your instance, configure HTTPS if your file is sensitive and then download using your browser, here are some tutorials: