AWS Lambda
Key Concepts
Event-Driven: Functions run in response to events (triggers) from other AWS services or custom sources.
How it Works
Write Code: Create a function (e.g., in Python, Node.js, Java).
Upload: Package and upload your code as a ZIP file or container image.
Set Trigger: Configure an event source (e.g., S3, API Gateway, DynamoDB) to invoke your function.
Execute: Lambda automatically provisions resources, runs your code when triggered, and then shuts down.
Common Use Cases
File Processing: Resize images after S3 upload.
Data Processing: Real-time stream processing, batch jobs.
Web & Mobile Backends: APIs, IoT backends.
Benefits
Reduced Operations: No server management, patching, or OS updates.
Cost-Effective: Pay for execution time, not idle servers.
High Availability: Built on fault-tolerant AWS infrastructure.
Scalability: Handles massive, unpredictable traffic automatically.