Custom Search

Thursday, June 20, 2013

How to download file from Amazon S3 to local system using ec2-download-bundle

1)
Export Aws Access and Secret keys
 
#export AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXX
#export AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXX

2)
Download the file "export-i-ffm3g49z.ova" from S3 to to Local System
#ec2-download-bundle -b import-export -m export-i-ffm3g49z.ova -a $AWS_ACCESS_KEY -s $AWS_SECRET_KEY -k pk-XXXXXXUPPXXXXXXXXXXX.pem -d local_system_down_dir

Note:
* Download "Primary_key" from your Amazon web console.
http://fosshelp.blogspot.in/2013/06/amazon-howto-download-x509-certificate.html

No comments:

Post a Comment