0% found this document useful (0 votes)
8 views

Lambda Notes

Lambda Notes

Uploaded by

waghtushar1212
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Lambda Notes

Lambda Notes

Uploaded by

waghtushar1212
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AWS Lambda Notes

1. AWS Lambda is a serverless compute service that lets you run code without provisioning or

managing servers.

2. It supports multiple languages, including Python, Node.js, Java, Ruby, Go, and .NET Core.

3. Lambda is event-driven, meaning it executes in response to triggers such as S3 events,

DynamoDB streams, API Gateway, etc.

4. You are charged only for the compute time consumed - no charges when your code is not

running.

5. Key Components:

a. Function: The actual code to be executed.

b. Event Source: The AWS service or custom app that triggers the function.

c. Execution Role: Permissions to allow Lambda to access other AWS resources.

6. Common Use Cases:

a. Data processing: Process logs, images, or video files.

b. Backends for APIs: Use with API Gateway for serverless web services.

c. Real-time file processing: Trigger on S3 uploads.

d. Automation: Infrastructure management, CRON jobs, etc.

7. Limits:

a. Maximum function timeout: 15 minutes.

b. Memory allocation: 128 MB to 10 GB.

c. Concurrency limits and account-specific quotas.

8. Monitoring: Use Amazon CloudWatch to monitor logs and performance metrics.


9. Security: Use IAM roles and policies to control access to Lambda functions and other resources.

10. Best Practices:

a. Optimize function memory and timeout settings.

b. Use environment variables for configuration.

c. Keep the deployment package lightweight.

d. Test locally with AWS SAM or other frameworks.

You might also like