Among serverless architectures offered by cloud providers, AWS Lambda is the most popular and has some advanced features.
FaaS/serverless is a natural evolution from microservices, or we may think of it as an extension to the microservices architecture. In many scenarios, we can complement our microservices architecture with functions or Lambda. If you are already an AWS customer, it is completely natural to move your codes from EC2 to Lambda and save a lot of money. The following diagram illustrates a simple use case that uses AWS Lambda together with S3 Buckets and DynamoDB:
In S3, there is a way to trigger the event to a specific endpoint. We put the endpoint of our Lambda function there. After users upload or make changes to the S3 bucket, it will trigger to send an invocation...