AWS Lambda is a serverless compute service that runs backend code in response to events that are executed in your application. You can write a Lambda function, small anonymous function, in most languages and once triggered the Lambda service will handle all the capacity, patching, scaling, and administration of the infrastructure to execute that code. There are multiple functionalities that come with this service which often makes it a more efficient solution than managing an infrastructure.