AWS
1. To find the list of IPs of any particular attributes of the nodes belonging to a particular stack aws ec2 describe-instances --filters "Name=tag:aws:cloudformation:stack-name,Values=yourstack" --output text --query 'Reservations[*].Instances[*].PrivateIpAddress' 2. If you multiple VPCs , make sure your access keys which used during aws configure point to the VPC you are searching the instances in. If you are looking for a stack which returns zero result and stack is there , most likely your keys belong to different VPC. 3. To get only the required attributes as key value pair from AWS CLI output. aws ec2 describe-instances --filters "Name=tag:aws:cloudformation:stack-name,Values=yourstack" --output text --query 'Reservations[*].Instances[*].{IP:PrivateIpAddress,ID:InstanceId}' 4. To stop multiple instances aws ec2 stop-instances --instance-ids "i-06eea80" "i-00eww42a86" 5. To upload all *.sh files from a