Section 19: Serverles overviews from a Solution Arhitect perspective Flashcards
What are AWS Lambda limits?
1) Execution
- Memory allocation: 128 MB - 10 GB
- Max execution time: 15 minutes
- Environmnet variables: 4KB
- Disk capacity in the “function container”:512 MB
- Concurrency executions: 1000
2) Deployment:
- Lambda function deployment size(compressed): 50MB
- Size of uncompressed depoyment(code + dependencies):250MB
- Can use the /tmp directory to load other files at startup
- Size of environment variables:4KB
DynamoDB - Read/Write Capacity Modes
1) Provisioned Mode(default)
- You specify the number of reads/writes per second
- You need to plan capacity beforehand
- Pay for provisioned Read Capacity & Write Capacity
2) On-Demand Mode
- Read/writes automatically scale up/down with your workloads
- No capacity planning needed
- Pay for what you use, it more expensize
- Great for unpredictable workloads.
What is DynamoDB Accelerator (DAX)?
- Fully-managed,highly available,seamless in-memory cache for DynamoDB.
- Help solve read congestion by caching.
- Microseconds latency for a cached data
- 5 minutes TTL for cache
What is AWS SAM?
P221
- SAM = Serverless Allication Model
- Framework for developing and deploying serverless application
- All configuration in YAML code
- SAM can help you to run Lambda,API Gateway, DynamoDB locally
- SAM can use CodeDeploy to deploy Lambda functions