AWS EC2 Instance Stop VERSION 1


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:


Parameters

NameDescription
Instance IDThe instance id of the EC2 virtual machine that this handler will send a stop request to.

Sample Configuration

NameDescription
Instance ID<%= @answers['Instance ID'] %>

Results

NameSample Result
Previous StatusThe state of the machine instance prior to the stop request being issued.
Current StatusThe state of the machine instance after the stop request. The state will typically be "stopping".

Changelog

No Changelog Available.