Serverless Overviews from an SA Perspective Flashcards
What component do Lambda functions need in order to have connectivity within the VPC?
Must have ENIs
What does serverless mean?
Means that you don’t have to provision the service yourself as the end user
What is the maximum execution time for a Lambda function?
15 minutes
What level geography do Lambda limits apply at?
Regional
What is the maximum memory allocation for a Lambda function?
10GB
What is Lambda SnapStart?
A feature that, when enabled, increases performance up to 10x for Java 11 and above. Pre-initialises the function to get these gains.
What is the purpose of Lamba@Edge?
Run some function code closer to the users with low latency before their traffic actually reaches the application itself
What 2 coding languages can be used for Lambda@Edge functions?
NodeJS or Python
Between CloudFront functions and Lambda@Edge functions, which scales to a higher maximum and which is more compute intensive?
CloudFront functions scale to millions of requests per second, Lambda@Edge is only 1000s, but Lambda@Edge can handle more complex queries
Where are you Lambda functions launched by default?
Outside of your own VPC
Why is it useful to use a database proxy between Lambda Functions and a database? Where do the the Lambda Functions have to be launched for this to happen?
Because when load is high there might be too many connections between the lambda functions and the database if it is direct. This requires the Lambda functions to be launched in your VPC, however, as the RDS proxy is never publicly available
What is the purpose of Cognito Identity Pools?
Allows you to provide AWS credentials to users so they can access AWS resources directly (focus on AWS service authorisation)
What is the purpose of Cognito User Pools?
User Pools allows app users to sign in and manage accounts, whereas the Identity Pools would be the next step of assigning them permissions for AWS resources based on their sign in
Do Cognito User Pools integrate with Google and Meta logins?
Yes