Stop instance
- 최종 업데이트2026/03/17
The Stop instance action enables you to shut down one or multiple EC2 instances that are running. The Stop instance action supports only instances that use Amazon EBS volumes as their root devices.
The Stop instance action uses the session name specified in the Connect action to authenticate the stop request to the base URL. The Stop instance action requires the IDs of the instances to shut down those instances. Stopping an instance triggers AWS to shut down the instance and de-allocate the associated compute resources.
The action returns the current and previous states of the specified instance IDs. The State transitions option enables you to save this information in a dictionary variable or individual variables.
Settings
The following settings are available in the Stop instance action:
- Session name
- The session identifier defined in the Connect action. The system automatically assigns Default as the session name. You can provide a string variable or use a session variable.
- Instance IDs
- The IDs of EC2 instances to stop. Accepts one or more IDs as comma-separated values.
- Assign state transitions to variable
- Variables that hold the IDs, current and previous state information of each
EC2 instance. The following options are available:
- Multiple variables: Individual variables with keys, each holding a specific instance detail.
- Dictionary: A single dictionary variable that holds all the instance details.