# Lambda

* AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resource for you.
* &#x20;t can automatically run code in response to modifications to objects in S3 bucket, messages arriving in kinesis stream, or table update in dynamo DB.
* &#x20;AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running.&#x20;
* Just upload your code and Lambda takes care of everything required to run and scale your code with high availability.&#x20;
* ou can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.&#x20;
* In short lambda is a service to run your code, all you need is to supply the code.
* &#x20;Supported programming language is JavaScript.
* &#x20;It is designed to provide 99.99% availability

## &#x20;Pricing

#### &#x20;First 1 st million requests is free there after $0.20.

* Duration is calculated from the time your code begins executing until it returns or otherwise terminates, rounded up to nearest 100ms.&#x20;
* The price depends upon the amount of memory you allocate to your function. You are charged $0.00001667 for every GB
