Reputation: 1130
Even after going through the AWS documentation and various blogs, I still don't understand how AWS lambda would behave when it is configured with VPC.
Projected peak concurrent executions * (Memory in GB / 3GB)
Does it means AWS lambda’s running instance used to have 3 GB memory? And when that exceeds another ENI would get attached?
Here, I’m sure I’m missing a few pieces of information. Any pointers would be helpful.
Upvotes: 2
Views: 727
Reputation: 4616
When you configure a Lambda function to run in the VPC it uses an ENI that is created with and IP address in one of the subnets you select. Based on the formula of expected ENIs needed it seems that ENIs can be shared between lambdas.
There are only two reasons that I know of for running your lambda in a VPC.
Lambda functions cannot received inbound connections in any case.
Disadvantages of putting your lambda in a VPC are
Upvotes: 4