Section 13: AWS Serverless: Lambda Flashcards
What is serverless?
A new paradigm in which the developers donโt have to manage servers anymore
What do developers deploy when working in a serverless environment?
Just code (functions)
Does serverless mean that there are no servers?
No, it just means that you donโt have to manage/provision/see them
Are AWS SNS & SQS considered serverless services?
Yes!
Is AWS EB considered a serverless service?
No!
What AWS service helps with authentication and authorization?
Cognito
What serverless AWS service helps with real time big data analysis?
Kinesis
What is the pricing model of AWS Lambda?
You pay per request and compute time
What does the free tier of AWS Lambda include?
1,000,000 requests
400,000 GBs of compute time
What services allows easy monitoring of AWS Lambda functions?
CloudWatch
How much RAM do AWS Lambda have by default?
128 MB
How much RAM can AWS Lambda have at max?
3 GB
How can you improve the CPU and network capacity of your Lambda functions?
By increasing the RAM (CPU and network will improve as a side effect)
Can Lambda integrate with API Gateway?
Yes
Can Lambda integrate with AWS IoT?
Yes
Can Lambda integrate with most AWS services?
Yes
How can you create serverless cron jobs in AWS?
Setting a CloudWatch event to trigger a Lambda function
How much $ is 1,000,000 requests in AWS Lambda beyond the free tier?
0.20$
In what increments is function execution compute time billed?
In increments of 100ms
What does GBs mean?
GB-seconds
Length of time you can have functions running at 1 GB ram
You have 100 GBs
How many seconds do you have if your functions are running at 1 GB of ram?
100 seconds
You have 100 GBs
How many seconds do you have if your functions are running at 512 MB of ram?
200 seconds
You have 100 GBs
How many seconds do you have if your functions are running at 128 MB of ram?
800 seconds
What is the default timeout of Lambda functions?
3 seconds
What is the maximum timeout of Lambda functions?
15 minutes
How many seconds are in 15 minutes?
900 seconds
What must you make sure of when interacting with other AWS resources from your Lambda function in order for your function to run properly?
Make sure that the right IAM policies (permissions) are attached to the function service Role
Can you deploy your functions in a VPC? If so, what impact will it have on the function?
Yes, but it will increase the initialization time