Git Product home page Git Product logo

Comments (2)

bwagner5 avatar bwagner5 commented on May 24, 2024

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.

from amazon-ec2-instance-selector.

alFReD-NSH avatar alFReD-NSH commented on May 24, 2024

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.

from amazon-ec2-instance-selector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.