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 > Macros

Macros

Note: Macros are available only in LCP. Macros have been deprecated and are not available in the Unified Cloud Platform.

Table of Contents

Overview

A Macro is an executable snapshot or description of a configured component that you can later run to recreate it. You can create a macro of a deployment, array, server, or something else that you define. For example, if you create a macro of an existing deployment, it will include all of the added servers' attributes, as well as input parameters and cloud-specific attributes that are either set at the deployment or server level. Macros are useful for creating a "snapshot" of a deployment that you can later run in order to recreate that same deployment. Macros are especially useful for sharing purposes where you can share a macro with sub-accounts. For example, you could create a macro of your developer's "beta" deployment and share it with the QA and Marketing team so that they can recreate the "beta" deployment in their own account for testing purposes. Since there is no version control for macros, it must be "locked" before it can be shared/published.

The macro language supports the creation and modification of Deployments, Servers, EBS Volumes, SSH Keys, Security Groups, Elastic IPs, and Server Alerts. A private macro is also editable so you can modify and customize its behavior. All normal Javascript syntax and control structures are available in macros. For security reasons, Elastic IPs, EC2 SSH Keys, and EC2 Security Groups are not carried over when a macro is created. When you run a macro you will need to either select existing ones or let it create new ones for you.

Design > Macros > Index

Show Tabs

Related FAQs

You must to post a comment.
Last modified
09:34, 22 Jan 2014

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.