Home > Guides > Dashboard Users Guide > Clouds > AWS Global > Image Locator > Actions > Register an AMI

Copyright (c) 2006-2014 MindTouch Inc.

This file and accompanying files are licensed under the MindTouch Master Subscription Agreement (MSA).

At any time, you shall not, directly or indirectly: (i) sublicense, resell, rent, lease, distribute, market, commercialize or otherwise transfer rights or usage to: (a) the Software, (b) any modified version or derivative work of the Software created by you or for you, or (c) MindTouch Open Source (which includes all non-supported versions of MindTouch-developed software), for any purpose including timesharing or service bureau purposes; (ii) remove or alter any copyright, trademark or proprietary notice in the Software; (iii) transfer, use or export the Software in violation of any applicable laws or regulations of any government or governmental agency; (iv) use or run on any of your hardware, or have deployed for use, any production version of MindTouch Open Source; (v) use any of the Support Services, Error corrections, Updates or Upgrades, for the MindTouch Open Source software or for any Server for which Support Services are not then purchased as provided hereunder; or (vi) reverse engineer, decompile or modify any encrypted or encoded portion of the Software.

A complete copy of the MSA is available at http://www.mindtouch.com/msa

Register an AMI


Register an Amazon Machine Image (AMI).

Table of Contents


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 https://s3.amazonaws.com:443/rightscale_ami ...
Uploaded demo.rightscale.part.00 to https://s3.amazonaws.com:443/rightscale_ami/demo.rightscale.part.00.
Uploading manifest ...
Uploaded manifest to https://s3.amazonaws.com:443/rightscale_ami/demo.rightscale.manifest.xml.
Bundle upload completed. 



Register the AMI

# ec2-register -C /mnt/cert-XXX -K /mnt/pk-XXX -U " https://ec2.amazonaws.com" 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.



Glossary | 用語용어 Site Map | Site Help Community Corporate Site Get Support Dashboard Login
Doc Feedback Product Feedback Resources MultiCloud Marketplace Forums

Dashboard Status

© 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.