3 ms·
"The simplest way to know the current status of your Spot Instances is to monitor your Spot requests and running instances via the AWS Management Console or Ama
by timf 17y ago
"The simplest way to know the current status of your Spot Instances is to monitor your Spot requests and running instances via the AWS Management Console or Amazon EC2 API."
Hmm. Since this new feature can actively terminate instances, it makes a problem I have with EC2 even more of an issue: I'd like a way to query with your instance ID and find out exactly when it terminated and how much bandwidth it used (so something like a "usage/accounting" API). It would help greatly to know your exact financial situation with Amazon. A notification system (register an URL to get a POST when an instance dies or if its bandwidth use exceeds a certain threshold, etc.) would also be useful.
If a user wants to have very accurate information about these things, they currently need to set up a HA environment offsite to poll (which may not even be enough if there are network issues). That has always frustrated me when the information required ("how much have I spent?") is right there in the database after the instance is done.
- bshep 17y agoThey may have just added that feature to the spot instances the command is called: ec2-create-spot-datafeed-subscription This is the description: "Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account." I havent tried it yet, but if anyone has can they post their impression?
- bdonlan 17y agoIt's uploading the same log file every 30 seconds to my S3 bucket, so I suspect they're still working out the kinks :) That said, the documentation on the datafeed stuff is annoyingly sparse - the format is reasonably self-documenting, but I wish they'd commit to it somewhere.