Stop instances
Stop running instances; their disks are kept. Optionally hibernate them or force the stop, and wait until they are stopped.
Command in the AWS EC2 toolkit · id ooa.aws_ec2/stop_instances · 6 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | ec2 | Name of the session opened by Connect. |
| Instance IDs | List | Yes | Instances by id or by Name tag, e.g. ["i-0abc1234def567890"] or ["Invoice bot"]. | |
| Hibernate | Boolean | No | false | Hibernate instead of stopping (the instance must be set up for it). |
| Force | Boolean | No | false | Force the stop without a clean shutdown, for an instance that hangs. |
| Wait | Boolean | No | false | Wait until every instance is stopped before going on. |
| Timeout (seconds) | Number | No | 600 | Stop waiting after this many seconds and fail with WAIT_TIMEOUT. |
Outputs
| Output | Type | What it is |
|---|---|---|
| changes | Table | Columns: instance_id, previous_state, current_state. |
| states | Dictionary | Instance id to its state at the end, when waiting. |