Skip to content

On-Demand Service Quota not available for Inf1  #566

@hamx0r

Description

@hamx0r

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions