Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

AWS EC2 Instance Stop

This handler sends a stop request to an AWS EC2 machine instance


By downloading this file, you acknowledge that you agree to our Terms of Service

Detailed Description

The stop_instance function can be executed against any valid instance in any state. When executed against an already stopped instance, the Previous Status and Current Status will both be "stopped".

The result of the stop_instance call is a mixed hash/array with the following structure:


Name Description
Instance ID The instance id of the EC2 virtual machine that this handler will send a stop request to.

Sample Configuration

Parameter Example Configuration
Instance ID <%= @answers['Instance ID'] %>


Name Description
Previous Status The state of the machine instance prior to the stop request being issued.
Current Status The state of the machine instance after the stop request. The state will typically be "stopping".

Change Log

Version Date Description
1.1 2017-08-24 * Update the EC2 gem to AWS SDK 2.2.34.
* Change Info Values to be more consistent with the other AWS handlers.
* Internal tweaks to make execution similar to other AWS handlers.
* Remove Request Id from results because it is no longer supplied by the AWS EC2 API
1 2011-03-04 * Initial version. See README for details.