[AWS Cloud Fundamental Notes] Lambda
Introduction to Lambda and its usage and operational mechanism
Uploading the program to the Lambda service enables quick activation when network packets are sent in for request access, achieving a pay-as-you-go model.
Core Structure
Event
When there are requests from external users or AWS services, an Event is sent to Lambda.
Trigger
Responsible for receiving Events in Lambda, it will trigger the corresponding Function.
Function
Used to process Events, and can be configured with IAM Role to allow Functions to schedule other AWS Resources.
Version Control
Version control is done through Version, allowing new versions to be released for beta testing without affecting the production environment.
Aliases can be used to specify different Versions for different environments.
Billing
- The larger the memory, the stronger the Lambda computing capability, and the more expensive the charges.
- The longer the computing time, the higher the cost.