Skip to main content

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​

InputTypeRequiredDefaultWhat it is
SessionStringNoec2Name of the session opened by Connect.
Instance IDsListYesInstances by id or by Name tag, e.g. ["i-0abc1234def567890"] or ["Invoice bot"].
HibernateBooleanNofalseHibernate instead of stopping (the instance must be set up for it).
ForceBooleanNofalseForce the stop without a clean shutdown, for an instance that hangs.
WaitBooleanNofalseWait until every instance is stopped before going on.
Timeout (seconds)NumberNo600Stop waiting after this many seconds and fail with WAIT_TIMEOUT.

Outputs​

OutputTypeWhat it is
changesTableColumns: instance_id, previous_state, current_state.
statesDictionaryInstance id to its state at the end, when waiting.