Stop Instances

Overview

The Stop Instances action stops your EC2 Instances on demand.

Working in conjunction with the Start Instances, these actions automate EC2 instance management, help optimization of resource usage and costs, and give you the flexibility to scale your compute resources up or down as your workload demands.

Read more about EC2

Permissions

The action uses the following AWS EC2 API endpoints to target and stop EC2 Instances:

Wait

You may need the Stop Instances action to confirm the targeted EC2 Instances have finish stopping before moving onto the next action in a rule.

You can achieve this using the Stop Instances action’s Wait panel, pictured:

Wait

If you select Wait on Instance State, the action will wait until the describeInstanceStatus endpoint returns an instanceState of stopped.