in reply to Re: Perl and AWS module
in thread Perl and AWS module

For PAWS, I dont see anything about spot instances , I was looking at https://metacpan.org/pod/VM::EC2

Replies are listed 'Best First'.
Re^3: Perl and AWS module
by Corion (Patriarch) on Jan 11, 2016 at 08:36 UTC

    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.