Lambda Flashcards
What is Lambda ?
It is a compute service which allows you to upload code and create a function.
Benefits of Lambda?
No provisioning, patching, scaling (Out not Up)
How do you use Lambda?
1) As an event drive compute service, where AWS runs your code in response to events.
2) As an event drive compute service, where AWS runs your code in response to HTTP requests using AWS API gateway or AWS SDKs.
3) Lambda events can trigger other Lambda events.
Lambda Run times?
1) C#
2) Java
3) Python
4) Node.js
Lambda major triggers
1) API Gateway
2) Alexa Smart home
3) CloudWatch
4) CloudFront
5) DynamDB
6) Kinesis
7) S3
8) SNS
Lamdba Pricing
First 1,000,000 requests are free. 20cents per 1 million requests thereafter.
It also bills for duration.
Lambda duration?
5 minutes is the time out limit.
Lambda functions vs events?
Lambda functions are independent, 1 event = 1 function
What is AWS X-Ray?
It is a lambda function debugging utility.
Lambda is Global
So you can perform triggers on a global scale.