To create a custom RightImage (AMI) that functions similar to a RightImage published by RightScale.
Warning!
Customized images are not fully supported by RightScale. We encourage you to use our ServerTemplates and RightImages. However, if you do create custom images and would like to RightLink-enable them, please see Creating RightScale-enabled Images with RightLink.
Table of Contents
RightScale regularly publishes updated RightImages for CentOS and Ubuntu. If possible, we recommend using one of our published RightImages. However, we do realize that we can't create and support a RightImage that satisfies the requirements for every type of application. As a result, we've provided a way to create your own custom "RightImage" where you can specify different combinations of operating systems or software package versions. Although this document is best suited for making minor modifications to a CentOS or Ubuntu image, you can also use it as a model for creating other types of images.
Important!
The following steps apply to creating v4 RightImages.
To create v5 RightImages (with RightLink installed), see Creating RightScale-enabled Images with RightLink.
RightScale is not responsible for supporting custom RightImages. In theory, you should be able to use a custom RightImage that was created following this tutorial with ServerTemplates published by RightScale, but we cannot make any guarantees. If you choose to create a custom RightImage using this method, you are responsible for properly testing its functionality.
chroot
with the location of the image. Here is an example that installs an additional package (Ubuntu):#!/bin/sh
chroot "$ROOT" apt-get -y install joe
© 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.