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

Ability to filter burstable instances by baseline load #13

Open
alFReD-NSH opened this issue Jun 20, 2020 · 2 comments
Open

Ability to filter burstable instances by baseline load #13

alFReD-NSH opened this issue Jun 20, 2020 · 2 comments
Labels
enhancement New feature or request researching

Comments

@alFReD-NSH
Copy link

We are making our own instance right-sizing/recommendation tool and it would be nice if we could filter burstable instances by a minimum percentage of baseline utilization.

@bwagner5
Copy link
Contributor

This is interesting, thanks for opening this issue!

Are you thinking of an interface like this?

$ ec2-instance-selector --burst-baseline-utilization=20% 
t2.nano
t2.micro
t2.small
t3.nano
t3.micro
t3.small
t3a.nano
t3a.micro
t3a.small

I think the following are some open questions:

  1. Would this baseline utilization be input as per-vcpu or shared across all vcpus for an instance type?
  2. How would "unlimited" credits be used or would they not be considered (t3's have unlimited enabled by default)?

Credits would be an interesting attribute to track (that is not present in the DescribeInstanceTypes API) to show as well and could potentially be used in calculations related to baseline utilization.

@bwagner5 bwagner5 added enhancement New feature or request researching labels Jun 21, 2020
@alFReD-NSH
Copy link
Author

Are you thinking of an interface like this?

Hi, Yes actually. Potentially it can have min or max instead.

Would this baseline utilization be input as per-vcpu or shared across all vcpus for an instance type?

Best would be to follow go per-vcpu as per this page: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html

How would "unlimited" credits be used or would they not be considered (t3's have unlimited enabled by default)?

Since it's a setting and can be turned off and on, it wouldn't matter.

Although I gave it more thought and realized that it would be more useful if the number of CPU credits would part of the output, then we can do our own calculations to find out which instance would be cheapest with their average utilisation and CPU credits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request researching
Projects
None yet
Development

No branches or pull requests

2 participants