Last Updated: February 25, 2016
·
1.116K
· Lorin Hochstein

Start stopped instances by tag

Start all instances that are tagged with role=reserve.
Requires AWS CLI and jq.

aws ec2 describe-instances --filters Name=tag:role,Values="reserve" | jq ".Reservations[].Instances[].InstanceId" -r | xargs aws ec2 start-instances --instance-ids