Lambda Flashcards
Lambda Networking Mode
VPC Resides in a Subnet in a vpc, requires configuration and Permissions for access.
Public Resides in aws Public Zone. Can Access all AWS Pulic services and Public internet just with Auth and Auth. No configuration is required.
Lambda Time Limit
15mins
Lambda function size Limit
10,000MB
Lambda Cold Start
A Lambda invocation can reuse an execution context but has to assume it can’t. If used infrequently contexts will be removed. Concurrent executions will use multiple (potentially new) contexts
Lambda in vpc
Once Lambda is deployed into a vpc, it is bound by every rules that applies to all Resources inside a vpc. EG Security group, NAT, VPC endpoint, Routing etc
Lambda Invocation Methods
Synchronous
Asynchronous
Events Source mapping
Lambda Provisioned Concurrency
A pre-running warm start, execution environment. With this Provisioned concurrency can be used.
AWS will create and keep X contexts warm and ready to use .. improving start speeds
Temp Space
Functions sharing execution context without having to download files and dependencies codes
Lambda Environment Variables
You can define environment variables as key-value pairs that are accessible from vour function code. These are useful to
store contiguration settings without the need to change function code.