Reputation: 79665
Our AWS CodePipeline recently started failing at one of our steps with this error - You have exceeded the maximum limit for Lambda HyperPlane ENIs for your VPC. Contact AWS support to increase the VPC limit for Lambda HyperPlane ENIs
. We do use a lambda for our load-testing. From this article I found, it seems lambdas run in their own VPC and need an ENI or a HENI (i.e. HyperPlane ENI) to connect to our VPC.
There is a soft limit of 250 HENIs total for the entire VPC in AWS.
How can I fix this issue? There is no mention of ENIs in our IaC code, so maybe they are automatically created for a lambda function? Is there a resource leak?
Upvotes: 0
Views: 4230
Reputation: 9
Although you do not explicitly create an ENI for lambda it is still created to allow your lambda to use the network.
Check this blog post about it: https://aws.plainenglish.io/dealing-with-you-have-exceeded-the-maximum-limit-for-hyperplane-enis-for-your-account-223147e7ab64
Upvotes: -1