-
Notifications
You must be signed in to change notification settings - Fork 939
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
Have a way to select provision instances based on CPU type (AMD vs. Intel) #3071
Comments
@sidprak Are you aware of a way to programmatically grab these details beyond just looking up the CPU details on the instance type description? From what I can tell, |
I don't know of a way either 😞 I was just thinking of using the instance type and looking for the |
Oh! Got it. I didn't realize there was consistent naming across the instance types which always contained an "a" at the end if it's an AMD cpu type. That's helpful. For this one, we're in a bit of flux right now due to a lot of other changes that are happening in the project so we're trying to reduce API changes right now until we get past #2964 and #2944. With that in mind, we'll keep tracking this issue but expanding the label selector set isn't something that's going to get added immediately. It seems like you have a reasonable workaround for the time being. |
Makes sense! Yes, I'm able to workaround it. Just wanted to suggest this usability improvement. I actually think we can generalize this further. Another very similar issue I have is automatically selecting the high-network throughput instances and that can be detected by looking for the |
@sidprak Maybe it can implemented like GPU manufacturer requirement? |
It would be definitely useful! Otherwise we need to track new ec2 type releases to add them to the list :) |
I took a look a this and thought I could perhaps attempt to implement it.
I notice that the newer P5 instance types don't have the
There are however certain instance types that support 32-bit architecture that do not satisfy the above constraint. I'd be happy to give this a go if anyone has any additional ways in which the brand of the CPU can be set. |
Tell us about your request
Some of our workloads perform very poorly on AMD CPUs. We would love a way to exclude all AMD CPU instances from provisioning. Example:
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Today, we have to do something like this and list all the instance families.
Are you currently working around this issue?
Above.
Additional Context
No response
Attachments
No response
Community Note
The text was updated successfully, but these errors were encountered: