Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Design > MultiCloud Images > Actions > Create a New MultiCloud Image

Create a New MultiCloud Image

Objective

To create a new MultiCloud Image. 

Note: You can either create a MultiCloud Image under the Design > MultiCloud Images or "on-the-fly" when creating a ServerTemplate from scratch. 

Important!  Be sure to add the appropriate RightLink tag to the new MCI, which is the last step of the tutorial otherwise scripts will not be executed correctly on the Server.

 

Table of Contents

Prerequisites

  • You must have 'designer' user role privileges 

Overview

A MultiCloud Image is a RightScale component that functions as a map or pointer to images in specific clouds and/or AWS regions. Each ServerTemplate may reference one or more MultiCloud Images that define which image(s) (e.g. RightImages) should be used when a Server is launched in a particular cloud.  ServerTemplates published by RightScale will use predefined and tested MultiCloud Images.  However, if you are using custom images, you can create your own MultiCloud Image that will point to these other images. The reasons for creating your own MCI can vary. It could be possible that the ServerTemplate you would like to use doesn’t have an MCI that points to a RightImage in a new Amazon region or you might need to use your own image to comply with your company’s policy. The key benefit of the MCI is that you don't have to worry about selecting the appropriate image for each cloud/region when you create a Server.  All you have to do is select the region and the MCI will automatically select the appropriate image for you.

Steps

Typically, you will create an MCI that points to identical images in each cloud.  If the images are different in any way (OS, system architecture, etc.) you should create a separate MCI for each type.

MCI Name and Description

Go to Design > MultiCloud Images and click New.

First, you will need to provide some basic information about the new MultiCloud Image. 

  • Nickname – A short nickname that helps you recognize the MultiCloud Image.
  • Description – A short description of the MultiCloud Image.

Select Images for each Cloud

Once the object has been created, you will be redirected to its Clouds tab where you must specify an image for each cloud or AWS region that the MultiCloud Image will support.  The required information to complete the mapping will vary depending on the cloud.  Check the OS and Software Package Support matrix to view a list of all currently published RightImages.

AWS

You can only create a mapping to an image that's already available in the selected cloud.  If you've created your own custom image that you want to use across multiple AWS regions, you will need to make a copy of the image available in each region that you want to launch an instance into.  See Replicate an Image to different EC2 regions.

If you are adding a reference to a private AMI (that belongs to your AWS account) and plan to publish and share the MCI with another RightScale account, you will need to first privately share the AMI with the other AWS account. For information, see Share an Amazon Machine Image.

screen-SelectImage-v1.png

  • Clouds – The cloud infrastructures (AWS US-East, AWS-EU, Rackspace, etc.) for which you are going to select an image.  In order to create a MultiCloud Image, you must specify an image for at least one cloud.  Remember, you can only specify a single image for each cloud.  For example, you can't specify both a 32-bit and 64-bit image in the 'AWS US-East' cloud so that you can launch both small and large instance types with the same ServerTemplate.  However, you can create multiple MCIs... for example, one with 32-bit images and small instance types for each cloud and another with 64-bit images and large instance types.  A single ServerTemplate can reference multiple MCIs such as the the "small" and "large" in our example.  You will only be able to add and launch a Server into a cloud where the ServerTemplate's MultiCloud Image has an image specified.  Therefore, if you want to use this MultiCloud Image to launch Server instances into both the 'AWS US-East' and 'AWS US-West' clouds, you will need to specify a single image for each cloud.  Add additional clouds to the MultiCloud Image as needed.  As you make your cloud selections, the drop-down will reflect which clouds you can still add MCIs for as you progress.  (For example, if you're using AWS, the initial drop down could include AWS US-East, US-West and EU.  If you select an image for US-East, the next time you add an image to that MCI only US-West and EU will be in the drop down menu.)
  • Instance Type – The type of cloud instance that will be launched by default. Instance types are cloud-specific.  For AWS, EC2 instance types will be listed (e.g. m1.small, m1.large). Be sure to select the appropriate image that supports your default instance type. (e.g. m1.small, c1.medium instance types must use a 32-bit image (as shown above).  Conversely, you will need to select a 64-bit image for any instance types that are larger than a medium (e.g. m1.large, m2.2xlarge, etc.).  Be sure to check Amazon EC2 Instance Types for the latest instance types and charges. Note: It is not necessary to create a MCI for each instance type, only each architecture type (32-bit and 64-bit). 
  • Machine Image - Select the image that will be used to build and launch instances with this MultiCloud Image. When possible, it's recommended that you use the most recent version of our RightImagesTM.  Warning: If you select a non-RightImage that has not been RightLink enabled (Creating RightScale-enabled Images with RightLink), RightScale will not be able to provide any support for you and you will not be able to use any RightScripts of your own.
  • Kernel image - The kernel that you want to use for your instance. (Optional)
  • Ramdisk image - The ramdisk that you want to use for your image. (Optional)
  • User data – Data to be passed into the instances using the EC2 user launch data (limited to 16KB). This field is rarely used but can be useful during development to pass configuration values into the instance at boot or runtime.  (Optional)


Click the Save action button.  Repeat the steps above to add additional images for other clouds.

Rackspace

See field descriptions above for details.  Make sure the selected Image is appropriate for the selected Instance Type.

screen-AddRackspaceImage-v1.png

 

CloudStack

See field descriptions above for details.  Make sure the selected Image is appropriate for the selected Instance Type.  You may need to contact your Cloud Administrator for verification purposes.

To launch a Server in your private cloud using ServerTemplates, you will need to use one of RightScale's published RightImages.  You can only create a mapping to an image that's already available in the selected cloud.

screen-AddCloudcomImage-v1.png

Tag the MCI

Important!

After creating a new MCI, you must remember to add the following tag so that RightScale will be able to recognize and treat a launched instance appropriately and successfully execute scripts on the Server.

Under the MCI's Info tab, add the following tag:

provides:rs_agent_type=right_link

You must to post a comment.
Last modified
12:39, 25 Jul 2013

Tags

Classifications

This page has no classifications.

Announcements

None


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