Note: If you cannot find a topic, go to where all RightScale documentation will soon be located. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Clouds > AWS Global > Image Locator > Actions > Register an AMI

Register an AMI


Images must be registered before they can be launched in EC2.  Note that Servers launched directly from images cannot be added to Deployments in your Dashboard.  See the Help Text in the RightScale Dashboard  for a more comprehensive discussion about image types.


Upload your AWS key and certificate

The first step is to upload your key and certificate to the running instance on /mnt.


Bundle the Instance

SSH into the instance and perform the following commands.  Replace "rightscale_ami" with your own information.

# ec2-bundle-vol -d /mnt -k /mnt/pk-XXX.pem -c /mnt/cert-YYY.pem -u 123456789012 -r i386 -p 
rightscale_ami Copying / into the image file /mnt/rightscale_ami...
Created demo.rightscale.part.89
Generating digests for each part...
Digests generated.
Creating bundle manifest...
ec2-bundle-vol complete. 



Upload AMI to an S3 Bucket

# ec2-upload-bundle -b rightscale_ami -m /mnt/rightscale_ami.manifest.xml -a MYACCESSKEY -s MYSECRETKEY
Uploading bundled image parts to ...
Uploaded demo.rightscale.part.00 to
Uploading manifest ...
Uploaded manifest to
Bundle upload completed. 



Register the AMI

# ec2-register -C /mnt/cert-XXX -K /mnt/pk-XXX -U "" rightscale_ami/demo.rightscale.manifest.xml
IMAGE   ami-77f81c1e 
You must to post a comment.
Last modified
22:09, 16 May 2013



This page has no classifications.



© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.