-
Notifications
You must be signed in to change notification settings - Fork 188
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
Wrong Usage for EC2 - on demand vCPU and VPC limits #477
Comments
Please accept my apologies for not responding sooner; I've been quite busy lately and unable to dedicate any time to my open source projects. I'm going to make every effort to dig into this sometime this week. I'm relatively sure that the problem is, as you say, the dedicated hosts, as my employer doesn't use those and none of the accounts that I have access to have any dedicated hosts. Similarly, we don't use cross-account resource sharing, so I don't have a way to test that either. Would it be possible for you to provide, with any sensitive/private information removed or replaced with X's:
Thanks, |
Apologies for the late reply. Please find attached logs for both the issues.
|
Fixes #477 - ignore shared VPC resources and dedicated/host EC2 instances
This has been fixed in 9.0.0, which is now live on PyPI and on the Docker Hub. Thank you so much! |
Thanks json. Looking forward to 9.0.0.
…On Tue, 22 Sep 2020 at 23:38, Jason Antman ***@***.***> wrote:
This has been fixed in 9.0.0
<https://github.com/jantman/awslimitchecker/releases/tag/9.0.0>, which is
now live on PyPI <https://pypi.org/project/awslimitchecker/9.0.0/> and on
the Docker Hub <https://hub.docker.com/r/jantman/awslimitchecker/tags>.
Thank you so much!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#477 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALM2XFF5TAEJ7GTXH6YOQ4DSHDR3TANCNFSM4QM5K7WA>
.
--
*Regards,*
*Pritamsingh S. Yaduvanshi,*
*Contact No. (+91) 8237071144.*
|
haha..Autotype. Jason!
…On Fri, 25 Sep 2020 at 19:24, Pritam ***@***.***> wrote:
Thanks json. Looking forward to 9.0.0.
On Tue, 22 Sep 2020 at 23:38, Jason Antman ***@***.***>
wrote:
> This has been fixed in 9.0.0
> <https://github.com/jantman/awslimitchecker/releases/tag/9.0.0>, which
> is now live on PyPI <https://pypi.org/project/awslimitchecker/9.0.0/>
> and on the Docker Hub
> <https://hub.docker.com/r/jantman/awslimitchecker/tags>. Thank you so
> much!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#477 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALM2XFF5TAEJ7GTXH6YOQ4DSHDR3TANCNFSM4QM5K7WA>
> .
>
--
*Regards,*
*Pritamsingh S. Yaduvanshi,*
*Contact No. (+91) 8237071144.*
--
*Regards,*
*Pritamsingh S. Yaduvanshi,*
*Contact No. (+91) 8237071144.*
|
Bug Report
Version
awslimitchecker==8.0.2
Installation Method
Installed using pip.
Supporting Software Versions
python --version
OS: Windows 10
Actual Output
Expected Output
In above output, current usage says 4760 while current limit is 640. While current usage should have been 144 which is actual number of vCPU in on-demand instances. I noticed number 4760 also includes the vCPU from dedicated hosts. As per AWS, vCPU count for Running On-Demand All Standard (A, C, D, H, I, M, R, T, Z) instances or any on-demand instances metric does not include the instances running on the dedicated hosts.
Hi Jason,
We are using awslimitchecker in our organization and it has really been helpful.
I have came across service specific limits which returns the wrong output than expected.
Service: EC2
Limit Name: Running On-Demand All F instances, Running On-Demand All G instances, Running On-Demand All G
instances, Running On-Demand All x instances, Running On-Demand All Standard (A, C, D, H, I, M, R, T, Z)
instances
In this limits, vCPU/instances running on dedicated host or dedicated instances shouldn't be included as that doesn't come
under AWS definition of on demand limit metric. Awslimitchecker needs to calculate vCPU from on demand instances only.
Service: VPC
Limit Name:
In case of VPC service, I noticed that VPC limits also including shared resources from other accounts as it's own usage. If we
have shared VPC in the region, then it's calculating all the limits(Network interfaces per Region, Route tables per VPC, Rules
per network ACL, Subnets per VPC, VPCs) of shared VPC in usage.
It would be great if awslimitchecker filters the VPC resources by owner id and show usage only of current account.
Let me know if I you need more information. I will be happy to help.
Thanks,
Pritam Yaduvanshi
The text was updated successfully, but these errors were encountered: