-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitor Spot Instance Price in Real Time using Moto #783
Comments
The |
Closing this out; feel free to reopen with more info on the request |
I'm interested in this. I'm currently blocking on writing a test case for buildbot because my test calls |
I'm working on implementing this - once it's usable I'll put together a PR. |
@tonyhutter Any progress on this? |
I'm dusting this off again. Ultimately what I'd like to do is change
To do that, I need to store the state somewhere between calls, but I'm not clear on where the right place would be. I'm also not super familiar with python, and am trying to wrap my head around all the moto classes... Any help would be appreciated! |
@spulec please re-open this issue |
Hi @tonyhutter, it looks like the status-code should be an attribute of the SpotInstanceRequest-class (in The Transcribe-service has a similar logic, where the status is updated/progressed on subsequent calls, so you might be able to use that for inspiration: https://github.com/spulec/moto/pull/3299/files#diff-0297ad13d08f2d965600fdea42e6586509a141db019fbf79dfb49de2bd2c8076R260 |
Hi,
Am wondering if there is a way to monitor Real Time price of EC2 instances using Moto ?
It means having the price every 5 mins in a server mode.
Thanks,r egards
The text was updated successfully, but these errors were encountered: