-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Allow options to consider c5 and c4 instances equal #206
Comments
Good catch, we can relax the memory comparison algorithms to accept a small difference if people expect this. The problem is that those 500M are pretty much negligible for larger instance types but this is not okay for the smallest micro and nano instances where this makes a lot of difference. We could make it a default as long as we carefully set it to not cover the smaller instances. Maybe accept a difference in both percentage(up to 15-20%) and absolute value of 500M, whichever is smaller. |
Yep, that was exactly my thought. |
Looking forward for a PR addressing this |
I can duplicate this issue, but
As you can see, there is no pricing data for |
This is still an issue but as a work around you can use the https://github.com/cristim/autospotting/blob/master/START.md#testing-configuration EDIT (@xlr-8): updated to point to a documentation link rather than commits lines more subject to changes. |
Similar issue happens for EBS, which is mentioned in #353. If you have a t3 instance, t2 will not be considered since it lacks EBS throughput. This will probably continue to be an issue in the future as newer instance types add new features that older instances types will naturally lack. I think educating users about |
For EBS we now have a flag that makes the comparison optional. The issue with C4 and C5 is the memory size difference. This should be easy to fix, although nowadays few people use C3 and older instances anymore. @gabegorelick @russellballestrini, @binarylogic: are you guys still interested in this? |
Github issue
Issue type
Summary
When a
c5.*
instance is specified as the on-demand instance,c4.*
instances are never used because they contain 500mb less than theirc5
counterpart. The autospotting algorithm excludesc4
instances it due to this memory difference.Expected results
This is technically correct, and I'm on the fence if this should be the default behavior, but most would expect a
c4
instance to be a valid replacement for ac5
instance.The text was updated successfully, but these errors were encountered: