Skip to content
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

Consider ENI capacity when determining instance compatibility #409

Open
gabegorelick opened this issue Jan 31, 2020 · 3 comments
Open

Consider ENI capacity when determining instance compatibility #409

gabegorelick opened this issue Jan 31, 2020 · 3 comments

Comments

@gabegorelick
Copy link
Contributor

Github issue

Issue type

  • Feature Idea

Summary

Each instance type has a maximum number of network interfaces that it can have. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI. AutoSpotting should consider this when deciding if a spot instance is compatible with the currently running instance.

Maximum ENIs is important for containerized workloads like Kubernetes and ECS which often grant each container its own ENI. So instances with fewer ENIs mean they can run fewer containers.

Max network interfaces per instance type info appears to be available from https://www.ec2instances.info, so AutoSpotting should be able to use it.

Steps to reproduce

  1. Have an ASG with t3.small instances
  2. Let AutoSpotting replace them with t3a.small

Expected results

Your new instances can have the same number of ENIs.

Actual results

New instances can have fewer ENIs.

@cristim
Copy link
Member

cristim commented Mar 6, 2023

@gabegorelick are you still interested in this use case?

@gabegorelick
Copy link
Contributor Author

@cristim Not at the moment. I changed jobs and no longer use AutoSpotting, although I may use it again in the future.

@cristim
Copy link
Member

cristim commented Mar 6, 2023

@gabegorelick do you know if it's still being used at your previous employer?

If that's the case I'd love if you could put me in touch with some of your former colleagues.

BTW, you may find this useful, I just released it last week: https://github.com/LeanerCloud/savings-estimator/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants