I use several "remote" servers in AWS, and we are trying to keep their cost.
Initially, we are looking for a fairly basic command "awsec2 stop all" to run on a schedule from a server that, as we know, will work 24/7.
When verifying that AWS is documented, it seems that we need to use all the current instances, grab the identifier of these and then pass them to the command, and not just state that I want all the instances to shut down,
Is there a better way to collect these identifiers, for example, just the ability to โstop everythingโ?
Rate the help.
powershell amazon-web-services amazon-ec2
Adam W.
source share