AWS Lambda is an Amazon service which offers serverless computing
Let me first explain you what is serverless computing:
- Serverless computing lets your application run without any worries regarding server management, because the server in which application is running is completely managed, provisioned and scaled by AWS platform
- Your work is to write code (lambda function) in any preferable backend language and execute it, lambda as a backend service will respond to all the events associated with your application
Working mechanism of AWS Lambda:
- Write your code (lambda function) to AWS Lambda Console ( lambda function includes the tasks that AWS lambda is suppose to perform)
- Set Lambda to receive a trigger to function, from any mobile app or Http endpoint or AWS Service (event sources)
- On receiving the input trigger the lambda starts executing the code using the required compute resources
- You have to pay only for the time-spam the function remains in execution state
AWS services used to integrate with Lambda to set the event source are:
To know more, like how to configure Lambda and start working with it have a look at this :https://youtu.be/XZggsCITQdY
I hope this helps you, happy learning :)