-
-
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
Failing to launch any spot instances due to EBS throughput insufficient #353
Comments
Thanks for reporting this issue but I am not offering support for custom builds, unless you are subscribed for a dedicated support plan. Are you able to reproduce this with the latest nightly build? |
Same result with the latest build |
Thanks for checking this in the latest build. As per the below screenshot of ec2instances.info it turns out that C4 has less throughput than C5, as well as slightly less memory: At the moment AutoSpotting considers both these parameters and a few others, and only allows you to launch instances that are at least as large and performant as the currently running instances, so this behavior is actually expected. If you want to get a C4 instance, for now all you can do it so configure the group to run C4 and the current algorithm would likely launch C4 spot instances. You may also try some older builds which were more relaxed in these checks, as this was a relatively recent development. I'll create a feature request on implementing configuration flags that allow relaxing some of these constraints if desired, but I can't promise any timelines when this would be implemented. If you're interested in working on this yourself, I'd love to see a PR about it and I'll do my best to help you at it. |
Looks like a duplicate of #206, let's continue the conversation there. |
Github issue
Issue type
Build number
Custom build
Configuration
autospotting_allowed_instance_types = "c4.xlarge"
Environment
ap-south-1
VPC
Summary
We have autoscaling group with c5.xlarge instance type. We have enabled autospotting on the ASG with 'allowedinstancetype' as "c5.x*, c4.x*". We noticed that everyday c5.xlarge spot instance were being taken away by AWS, and autospotting was replacing the on-demand with only c5.xlarge even though we have also specified "c4.x*" in lambda env. So we changed the 'allowedinstancetype' as "c4.xlarge" and autospotting failed to launch any instance.
In the logs we see the message "EBS throughput insufficient" when it scans instance-types against c4.xlarge.
Steps to reproduce
Create a ASG in ap-south-1 with c5.xlarge in Launch Config, and create autospotting with allowed_instance_type as c4.xlarge.
Expected results
launch c4.xlarge spot instances or a flag to disable EBS performance check.
Actual results
Failed to launch c4.xlarge instance.
The text was updated successfully, but these errors were encountered: