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

On-Demand Service Quota not available for Inf1 #566

Open
hamx0r opened this issue Nov 20, 2021 · 0 comments
Open

On-Demand Service Quota not available for Inf1 #566

hamx0r opened this issue Nov 20, 2021 · 0 comments

Comments

@hamx0r
Copy link

hamx0r commented Nov 20, 2021

Feature Request

Add Running On-Demand All Inf instances to the response of code like this:

c = AwsLimitChecker(region='us-west-2')
c.find_usage(['EC2'])  # load data so we can then use .get_limits()
result = c.get_limits(['EC2'])  # Datastructure of limits (not usage)

Feature Description

There's support for Inf class Spot EC2 quotas/usage, but not on-demand (ie Running On-Demand All Inf instances). Full support for Inf class would allow users to get their quota limits and usage numbers like:

key = 'Running On-Demand All Inf instances'
result['EC2'][key].quotas_limit # the max we can use

result['EC2'][key].get_current_usage()[0].value  # The amount we're currently using

Similarly, u-6, u-9, u-12, and vt1 class EC2s have no quota information available, yet they are not listed in no_quotas_types. It seems either Service Quota data should be fetched and made available, or else added to the no_quotas_types list.

Use Cases

Pulling data to determine how many Inf1 instances we can make before hitting our quota limit.

Testing Assistance

Yes

Bug Report

When reporting a bug in awslimitchecker, please provide all of the following information,
as well as any additional details that may be useful in reproducing or fixing
the issue:

Version

awslimitchecker version, as reported by awslimitchecker --version

12.0.0

Installation Method

pip in python 3.6.14

Supporting Software Versions

$ python --version
Python 3.6.14
$ virtualenv --version
virtualenv 20.10.0 from /usr/local/lib/python3.9/site-packages/virtualenv/init.py

Actual Output

NA

Expected Output

NA

TrustedAdvisor

NA

Testing Assistance

Yes

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

1 participant