AWS Developer An Introduction to AWS Lambda - p-patel/software-engineer-knowledge-base GitHub Wiki
https://app.pluralsight.com/library/courses/aws-developer-introduction-aws-lambda/
Course Overview
- Serverless application development
Understanding Serverless Functions
Contextualizing Serverless
Key Elements of Serverless Functions
-
Event examples: File uploads, scheduled times, API requests
-
Benefits: cost and utilisation - only pay for the time the function is running and not the time the operating system has to be available managed machines - no need to focus on the operating system management service integrations - send/receive emails, service requests scaling - simple scaling
-
Drawbacks: debugging can be difficult control - lack of control of operating system (where required)
-
Why learn lambda? Focus on application code; IoT (largely event-driven); growing relevance
-
How is Lambda Used? stream data processing; easy and scalable APIs, photo processing; integration into web apps
Looking at Serverless Function Providers
- AWS, Microsoft Azure
- AWS has built-in versioning of functions but supports fewer languages natively (Python, Node.js, Java, C# and Node shims of other languages) and a 5 minute running time limit
- AWS lambdas can only be run on AWS, Azure Functions can be run on your own host
Demo Overviews - What Are You Building?
- Interval-triggered function that checks the status of the website and submits results
- Tweet messages at random intervals using Twitter API
- Cron job that sends scheduled emails
Working with AWS
...