AWS Lambda
Understanding Lambda
AWS Lambda labs Instructions and Fair Usage Policy
In this hands-on AWS Lambda lab, you’ll deploy and test serverless functions in a live environment. To ensure optimal performance and fair usage for all participants, please adhere to the following guidelines.
Note
An AWS client machine with the AWS CLI is pre-configured for you. Confirm your environment is set to us-east-1 before proceeding.
Usage Limits and Guidelines
Resource | Constraint |
---|---|
Lab Duration | 60 minutes per session |
Supported Region | us-east-1 (only) |
Function Timeout | ≤ 10 seconds |
Memory Allocation | ≤ 512 MB |
Invocation Quota | ≤ 300 calls per lab |
Configuration Edits | Disabled after creation |
Warning
If you exceed the timeout or memory cap, your function’s settings will revert to defaults (3 s timeout, 128 MB memory). Surpassing 300 invocations will automatically delete the Lambda function.
Quick-Start Checklist
- Verify your AWS CLI is working:
aws sts get-caller-identity
- Confirm region:
aws configure get region # should return us-east-1
- When creating a new function, specify:
--timeout 10
--memory-size 512
- Monitor invocations:
aws lambda get-function-metrics --function-name MyFunction
Links and References
- AWS Lambda service – Official documentation for serverless functions.
- AWS CLI – Command-Line Interface user guide.
Watch Video
Watch video content
Practice Lab
Practice lab