Serverless Overviews from a Solution Architect Perspective Flashcards
What does Serverless mean?
You don’t manage, provision or see servers.
What applications are serverless in AWS?
AWS Lambda DynamoDB AWS Cognito AWS API Gateway Amazon S3 AWS SNS & SQS AWS Kinesis Data Firehose Aurora Serverless Step Functions Fargate
Increasing RAM of AWS Lambda will also improve what?
CPU & Network
What languages does AWS lambda support?
Node.js (JavaScript) Python Java (Java 8 compatible) C# (.NET Core) Golang C# / Powershell Ruby Custom Runtime API (community supported)
What is preferred for running arbitrary Docker images?
ECS / Fargate
A Linux command used for scheduling tasks to be executed sometime in the future.
This is usually used to schedule a job that is executed periodically, for example every morning
What is this called?
Cron Job
In AWS Lambda how many of the first call request are free?
1 million
In AWS Lambda how many of the first compute time per month are free?
400,000 GB-seconds
For AWS Lambda what is the memory allocation?
128 MB - 10 GB
For AWS Lambda what is the maximum execution time?
900 seconds (15 minutes)
For AWS Lambda what are the environment variables?
4 KB
For AWS Lambda what are the concurrency executions?
1000 (can be increased)
What is the Lambda function deployment size?
50 MB
For Lambda what is the size of uncompressed deployment?
250 MB
In AWS Lambda deployment, how would you upload other files?
/tmp directory
You can use Lambda to change what?
CloudFront requests and responses
- Website Security and Privacy
- Dynamic Web Application at the Edge
- Search Engine Optimization (SEO)
- Intelligently Route Across Origins and Data Centers
- Bot Mitigation at the Edge
- Real-time Image Transformation
- A/B Testing
- User Authentication and Authorization
- User Prioritization
- User Tracking and Analytics
Lambda@Edge
the execution of two or more computer programs by a single computer
Concurrency executions
Creating 2 versions of a digital asset to see which one users respond to better. Examples of assets include a landing page, display ad, marketing email , and social post.
A/B Testing
- Fully managed, highly available with replication across multiple AZs
- NoSQL database - not a relational database
- Scales to massive workloads, distributed database
- Millions of requests per seconds, trillions of row, 100s of TB of storage
- Fast and consistent in performance (low latency on retrieval)
- Integrated with lAM for security, authorization and administration
- Enables event driven programming with DynamoDB Streams
- Low cost and auto-scaling capabilities
Amazon Dynamo DB
Dynamo DB is made from what?
Tables
What is the maximum size of an item in a DynamoDB Table?
400KB
- You specify the number of reads/writes per second
- You need to plan capacity beforehand
• Pay for (blank) Read Capacity
Units (RCU) & Write Capacity Units (WCU)
• Possibility to add auto-scaling mode for RCU & WCU
What DynamoDB mode is this?
Provisioned Mode
- Read/writes automatically scale up/down with your workloads
- No capacity planning needed
- Pay for what you use, more expensive ($$$)
- Great for unpredictable workloads
What DynamoDB mode is this?
On-Demand Mode