AWS Lambda allows you to run code in response to events, extend AWS services with custom logic, and build serverless backends that operate at scale. With AWS Lambda, you write code, upload it to AWS Lambda, bind it to events from services like S3, DynamoDB, or SNS, and it will run automatically in response. At Contentful, AWS Lambda is used to automatically invalidate CloudFront caches when files in S3 buckets are updated, and to render templates when configuration files are updated in S3. These use cases require only 70 lines of code. AWS Lambda represents a shift from running programs in the cloud to programming the cloud.