Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Clouds > AWS > AWS FAQs > Which EC2 environment variables are available in RightScripts?

Which EC2 environment variables are available in RightScripts?

Background Information

RightScripts have access to several environment variables (or environment Inputs) within them. 

 


Answer

Credential Variables (type CRED)

  • AWS_ACCESS_KEY_ID
  • AWS_ACCOUNT_NUMBER
  • AWS_SECRET_ACCESS_KEY
  • AWS_X509_CERT
  • AWS_X509_KEY

Environment Variables (type ENV)

  • EC2_AMI_ID
  • EC2_AKI_ID
  • EC2_ARI_ID
  • EC2_AMI_MANIFEST_PATH
  • EC2_PLACEMENT_AVAILABILITY_ZONE
  • EC2_HOSTNAME
  • EC2_INSTANCE_ID
  • EC2_INSTANCE_TYPE
  • EC2_LOCAL_HOSTNAME
  • EC2_PUBLIC_HOSTNAME
  • EC2_PUBLIC_IPV4
  • EC2_RESERVATION_ID
  • EC2_SECURITY_GROUPS
  • RS_EIP
  • RS_SERVER
  • RS_SKETCHY
  • RS_SYSLOG
  • RS_TOKEN
  • RS_SERVER_NAME
You must to post a comment.
Last modified
21:24, 16 May 2013

Tags

ec2

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.