# Amazon Web Services (AWS) Node Steps

# Getting Started

TIP

It is helpful to configure the AWS EC2 resource model plugin before using these steps: AWS EC2 Resource Model

Amazon's EC2 (opens new window) (Elastic Cloud Compute) is a cloud service in wide use for dynamic infrastructure; it is easy to start up and shut down Node "Instances" in the cloud. Use these Rundeck steps to automate common EC2 actions.

Access Key ID
Specify your AWS Access key.
  • Project setting: project.aws.access_key
  • Configuration Management/Framework Setting: aws.access_key
Secret Key
Specify the path to your AWS Secret Key in the Rundeck Key Storage
  • Project setting: project.aws.secret_key_path
  • Configuration Management/Framework Setting: aws.secret_key_path
Region
Specify the region for the node. If using the EC2 Node Source it's possible to use ${node.region} and the region will be dynamically populated with the region for that node.
  • Project setting: project.aws.region
  • Configuration Management/Framework Setting: aws.region

# EC2 VM Node Steps (Enterprise Only)

# AWS / VM / Start

Start the EC2 instance.

# AWS / VM / Stop

Start the EC2 instance.

# AWS / VM / Restart

Start the EC2 instance.

# AWS / VM / Delete

Terminate the EC2 instance.

WARNING

Be very careful when using this step. It would be possible to remove a lot of instances by mistake if the node filter is too broad.