Skip to content

Instantly share code, notes, and snippets.

@pulkitsinghal
Created December 13, 2011 01:47
Show Gist options
  • Select an option

  • Save pulkitsinghal/1470015 to your computer and use it in GitHub Desktop.

Select an option

Save pulkitsinghal/1470015 to your computer and use it in GitHub Desktop.
EC2 Bare Minimum
# For moving data to & from the EC2 instance, simply use scp which runs on top of ssh like so:
$ scp -i /Users/XXX/.ec2/ec2.pem ec2-user@ec2-XXX.compute-1.amazonaws.com:/path/to/file/to/get/from/ec2/instance.txt /path/to/local/folder/for/storage/
$ scp -i /Users/XXX/.ec2/ec2.pem /path/to/file/to/push/to/ec2/instance.txt ec2-user@ec2-XXX.compute-1.amazonaws.com:/path/to/ec2/folder/for/storage/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment