Created
January 16, 2014 06:33
-
-
Save mmastoras/8450683 to your computer and use it in GitHub Desktop.
create custom AMI of latest dynode release in region other than US-EAST-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su - admin | |
export set EC2_REGION='us-west-1' | |
export set EC2_HOME=/home/admin/ec2-api-tools-1.6.12.0 | |
/home/admin/ec2-ami-tools-1.4.0.9/bin/ec2-bundle-vol -k /tmp/cert/spongecell_x509.pem -c /tmp/cert/spongecell_x509_cert.pem -u 7915-7448-1547 -e /tmp/cert -i /home/admin/.ssh/authorized_keys,/home/admin/.ssh/id_rsa,/etc/apt/trusted.gpg,/etc/apt/trustdb.gpg -e /home/admin/ec2-ami-tools-1.4.0.9 | |
/home/admin/ec2-ami-tools-1.4.0.9/bin/ec2-upload-bundle -b spongecell-amis-us-weset/dynode-instance-store/ -m /tmp/image.manifest.xml -a AKIAJBHCQSDFDAYVMRKA -s e+NcYgKbxCnvgN0HvgxXo1ySQDxClekc1E4F+H8M --location us-west-1 | |
~/ec2-api-tools-1.6.12.0/bin/ec2-register spongecell-amis-us-weset/dynode-instance-store/image.manifest.xml -n dynode-instance-store -O AKIAJBHCQSDFDAYVMRKA -W e+NcYgKbxCnvgN0HvgxXo1ySQDxClekc1E4F+H8M --region us-west-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment