About Macros

Table of Contents

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

A Macro is an executable description of a Deployment (or Server, Array or other Macro) that includes attributes of the EC2 servers within a Deployment, as well as Input parameters and attributes that are either set at the Deployment or ServerTemplate level.

The Macro language supports the creation and modification of Deployments, Servers, EBS volumes, SSH keys, Security Groups, Elastic IPs, and Server alerts. Each Macro is also editable so you can modify and customize their behavior. All normal Javascript syntax and control structure 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. You will need to create new ones when you run a Macro.

Go to Design -> MultiCloud Marketplace -> Macros to view published Macros that you can subscribe to and run as-is or clone, so that you can create an editable copy that you can customize for your own needs. You can also create Macros of your own components (Deployments, Servers, etc.)

Other Important Macro Notes

Macros are supported for EC2 regions.

You may have problems using Macros in IE 6-7 browsers. By default, IE disables the Macro's Javascript prompt for security reasons. To solve this problem, add my.rightscale.com to the the list of trusted sites.

Although initially created for Deployments, you can also build/use macros for Server, Arrays or other Macros.

Benefits of Macros

Macros are the best way to instantly create pre-configured Deployments.

Use Macros to create snapshots of a Deployment within an account.

Partners can create Macros and share them with their users.

Use Sharing Groups to distribute pre-configured Deployments across multiple accounts.