The Stop Multiple EC2 Instances action can be used to stop many EC2 instances at a specific time of day.
For example, instances can be stopped automatically at 8pm.
Please see Common Action Settings for a description of settings common to all action types.
Instance Identification Method
Indicate the method in which the instances are to be identified. Valid options are:
Instance ID - Identify the instances by their unique instance ID value.
Instance Name - Identify the instances by their "Name" tag.
EC2 Tag - Identify the instances by comparing EC2 tag values.
Indicate the list of instance IDs of your EC2 instances. Instance IDs usually looks like "i-84a3dc7b". All instances must reside in the region specified. Required only if Instance Identification Method is set to "Instance ID".
Multiple instances can be added by clicking "Add many instances". In the dialog that appears, enter a space-, comma-, or line-seperated list of instance IDs.
Indicate the value of the "Name" tag of the EC2 instances. This instances must reside in the region specified. Required only if Instance Identification Method is set to "Instance Name".
EC2 Tag Name
Required if Instance Identification Method is "EC2 Tag". Indicates the name of the EC2 tag used to compare.
EC2 Tag Value
Required if Instance Identification Method is "EC2 Tag". Indicates the value of the EC2 tag used to compare.
Enabling this option will force the instances to "immediately" stop. The running instances are not given the opportunity to gracefully shut down.
Caution: When using this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.
Suspend Auto Scaling Processes
Enable this option if your EC2 instances are part of Auto Scaling groups. By enabling this option, Auto Scaling will not terminate your stopped instances.
Restart the Instances
Enable this option to have your EC2 instances restarted after a pre-determined amount of time.
Specify the amount of time after which the EC2 instances will be restarted.
Restart Time Frame
Indicates when the "Restart Time" begins.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.