Lambda Flashcards

1
Q

Describe Lambda, its features and pricing model

A

It is the ultimate level of abstraction. The developer only needs to care about the code. Lambda scales as needed.
The Lambda can be triggered by events or by API Gateway requests. Each request is an isolated computation.

This is how a request is served:

Traditional: The user makes a request which is translated by Route53 that forwards the request to the ALB which is then processed by the EC2 instance that can finally communicate with other services;

Serverless: The user makes a request against the API Gateway which triggers a lambda which can communicate with other services;

First 1 million requests are free; $0.2 per 1M requests thereafter;
Duration is calculated from the time the code executes until it returns, rounded up to the nearest 100ms.
The price depends on the amount of memory allocated to the function. You are charged $0.0000168 for every GB/second used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly