AWS Lambda you can run your code without provisioning or managing servers. you need to pay charges when your code running only. there is no charges when your code is not running.
With Lambda, Run code virtually without any type of application or backend services. just put your code lambda function will take care about everything.
Benefits of lambda function:
NO SERVERS TO MANAGE :
You don’t need to worry about to configuration server. just upload your code to lambda.
CONTINUOUS SCALING :
AWS Lambda automatically scales your application by running code in response to each trigger. Y
SUBSECOND METERING :
With AWS Lambda, you are charged for every 100ms your code executes and the number of times your code is triggered. You don’t pay anything when your code isn’t running.