Macros

Table of contents
  1. 1. Benefits of Macros 
  2. 2. Tutorials

A macro  is an executable description of a deployment 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 server 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, 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 -> Macros and select one of the published macros from the RightScale or Partners tabs to instantly create a deployment that you can customize for your own needs.

NOTE: This feature only applies to Premium accounts.  If you have a Developer account and would like to upgrade, please contact sales@rightscale.com.

Benefits of Macros 

  • Macros are the best way to instantly create preconfiguered 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 preconfigured deployments across multiple accounts.

 

Tag page
Viewing 2 of 2 comments: view all
deployment attributes are also included in the macro
Posted 18:44, 14 Aug 2008
not sure it's a safety feature... it just doesn't make sense to transfer these concepts across accounts. More will follow here shortly. SSH Key and Ec2 Security Groups are prompted for at runtime of the macro.
Posted 18:45, 14 Aug 2008
Viewing 2 of 2 comments: view all
You must login to post a comment.