Closed 7hunderbird closed 8 years ago
This adds the command which paves the way for a provider encapsulation we can re-use.
provider
Essentially we want to make a command that is convenient and safe to terminate the servers currently running on EC2.
This is a first cut, we can add layers of control to it. The "meat" of the search is:
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" | jq -c -r '.Reservations[] .Instances[] .InstanceId' > instance_list
This adds the command which paves the way for a
provider
encapsulation we can re-use.Essentially we want to make a command that is convenient and safe to terminate the servers currently running on EC2.
This is a first cut, we can add layers of control to it. The "meat" of the search is: