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 > ServerTemplates > Actions > Customize a ServerTemplate to be MultiCloud

Customize a ServerTemplate to be MultiCloud

Objective

To convert or change a ServerTemplate so that it can be used to create Servers and launch instances on one or more public/private cloud infrastructures that it currently doesn't support.

Table of Contents

Prerequisites

  • 'designer' user role privileges
  • a ServerTemplate that you cannot use to create a Server in your desired cloud infrastructure

Overview

ServerTemplates are cloud-agnostic.  It's the template's MultiCloud Images (MCIs) that technically controls which clouds a ServerTemplate supports.  You'll find that most ServerTemplates are published with multiple MCIs, where each MCI typically references the same machine image across multiple clouds/regions. 

When you Add a Server to a Deployment from a ServerTemplate, you will only be able to add a server in a cloud/region that the selected MultiCloud Image supports.  Currently, most ServerTemplates published by RightScale include MCIs that reference copies of the same machine image in all supported AWS regions.  For example, the "RightImage_CentOS_5.4_i386_v5.6 - 11H1.b1" MCI references identical machine images (with the same name) across all supported AWS regions (us-east, us-west, etc.). 

But for private clouds, it's impossible for RightScale to publish ServerTemplates that can be used as-is to launch instances into those private clouds because we don't know in advance where those images are located.  In such cases, you will need to customize a ServerTemplate yourself by creating an MCI that can be used for your private cloud.  

Note: If you need to create an image for use in a private cloud,  please contact your RightScale Sales Account Manager. If you do not have a RightScale Account Manager, please contact the sales department at sales@rightscale.com.

Follow the steps below to modify an existing ServerTemplate so that it can be used to create Servers for multiple public and private clouds.

Steps

Select a ServerTemplate

The first step is to find a ServerTemplate that you want to customize to support other clouds.  You can either import and clone a published ServerTemplate from the MultiCloud Marketplace or modify a private ServerTemplate in your local collection.

Once you've found the ServerTemplate that you want to modify, make sure that's it's an editable HEAD version.  If not, you will need to clone the ServerTemplate so that you can make changes to its configuration, namely its list of MCIs.

Modify the MultiCloud Image (MCI)

The next step is to modify the MCIs that are used by the editable ServerTemplate to support your additional private/public clouds.  There are two options depending on whether you want to create a new MCI or modify an existing one.  Complete the tutorial that best suits your needs.


Update the ServerTemplate's MCI List

Now that you have an MCI that can be used to find the appropriate image in your newly added cloud/region, you'll need to update the ServerTemplate.

Go to the editable HEAD version of the ServerTemplate and go to its Images tab.

The next step is to replace the MCI that you cloned and modified with the new MCI that you just created.  Remember, when you clone a RightScale component (ServerTemplate, RightScript, etc.) it becomes a new object with its own distinct lineage.  Therefore, you can't use the Edit (pencil) icon to select your cloned version of that particular MCI.

Click the Add MultiCloud Image button.  Select and add the new cloned MCI that includes the added cloud support.

Delete the old MCI that the new one replaced.

Commit the ServerTemplate. (optional)

Congratulations!  You now have a ServerTemplate that you can use to Add a Server to a Deployment for the newly supported cloud(s).

You must to post a comment.
Last modified
15:01, 30 Jul 2013

Tags

This page has no custom 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.