Notes based on Adrian Cantrill's course from cantrill.io and Stéphane Maarek's Udemy course.
/tmp
. We can scale this storage up to 10240 MB. We can use this storage for whatever we need as long as we assume that it is blank at each execution of the functionEC2Networking
permissions in order ot be able to create ENIs in the VPC$Latest
points to the latest version of Lambda version (it is not immutable)/tmp
folder to pre-download data to it. If another invocations uses the same execution context, it will be able to access the previously downloaded dataINIT
: creates or unfreezes the execution environment
EXTENSION INIT
RUNTIME INIT
FUNCTION INIT
INVOKE
: runs the function handler (cold start)NEXT INVOKE
(s): warm start using the same environmentSHUTDOWN
: execution environment is terminated after a period of inactivity
RUNTIME SHUTDOWN
EXTENSION SHUTDOWN
$LATEST
version of the Lambda code can be edited and deployed$LATEST
)$LATEST
- can be edited/opt
folderEvent
structure. This has to be interpreted by the Lambda. What actually happens is that the LB translates the HTTP(S) request to a Lambda compatible event, to which the Lambda answers with a JSON object that gets translated back to HTTP/HTTPS response "queryStringParameters": {
"search": "winkie"
}
"multiValueQueryStringParameters": {
"search": ["roffle", "winkie"]
}