in reply to Perl and AWS module

Have you looked at Paws? There are also other modules in the AWS namespace, but the PAWS collection seems to be quite comprehensive, at least if you know the AWS APIs.

Replies are listed 'Best First'.
Re^2: Perl and AWS module
by cbtshare (Monk) on Jan 10, 2016 at 20:30 UTC
    For PAWS, I dont see anything about spot instances , I was looking at https://metacpan.org/pod/VM::EC2

      I'm not sure how you looked, but if I go to Paws, and search for "spot", I see at least Paws::EC2::RequestSpotInstances, which seems to be about buying spot instances and Paws::EC2::SpotFleetMonitoring, which sounds as if you could use that to find out how many spot instances are currently running.

      Of course, all of these require knowledge of the AWS API, which I don't have, so I don't know whether these are appropriate. But I'm certain that a bit of reading in the documentation will point out the requests you need to make.