-
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
Add support for AWS Lambda limits. #363
Comments
@kilsbo Overall, it's unlikely that this will be added by me, but pull requests are certainly welcome from anyone. There are a handful of technical issues around Lambda though, which have kept me from adding it myself thus far...
The Lambda concurrency limit is a bit different from all the other limits we're currently handling, in that the current usage can change drastically in a short amount of time, and that it's something we need to pull usage from CloudWatch instead of counting actual resources. I'm certainly open to input on this, but for my own employer's accounts, we've been using CloudWatch Alarms for lambda concurrency instead of awslimitchecker, because of the above reasons. |
Thank you for commenting. I've actually already implemented this, even though I'm not a py developer. This CLI tool is that useful, and it helps us greatly now with Lambda as well. I will fulfill what's asked for in your guidelines and set up a PR. To answer your questions about limits and usage, first have a look at this table over data points we can get from AWS API:
...and your questions:
To understand UnreservedConcurrentExecutions and ConcurrentExecutions, which will always be the same regardless if you have been granted a limit increase, let me quote AWS docs.
Read more about AWS Lambda limits here in general, and AWS Lambda concurrency limits in particular here. If you have any further questions, don't hesitate. |
PR submitted, please have a look! |
This was resolved by #366 |
This has been released in 6.0.0 and is now live on PyPI. Thank you so much! |
Feature Request
So, I humbly request lambda limits, using aws cli executing
aws lambda get-account-settings
currently gives:Feature Description
Getting the current account limits for AWS Lambda service.
Use Cases
For serverless development, load testing accounts, I usually have to increase limits to measure my lambda code performance. Or just increasing capacity by increasing concurrency limit on an account. Several accounts are used for us, so keeping track of limits with this cli tool would help me.
Version
5.1.0
Installation Method
Using pip install:
pip install awslimitchecker
Supporting Software Versions
Python 2.7.10 (macOS Mojave default).
-bash: virtualenv: command not found
Host: MacOS Mojave 10.14 (18A391)
Actual Output
Of all the service limits currently supported, Lambda ones are not there.
Expected Output
In order of what I prefer most at the top, down to less preferred.
Size limits/usage are 1kb = 1024, real kb that is.
Testing Assistance
Absolutely, happy to help with that!
Thank you.
The text was updated successfully, but these errors were encountered: