This chapter is all about AWS Lambda, which is also known as Function as a Service. After the introduction of Lambda service by AWS in 2014, the emergence of serverless computing has dramatically risen in popularity. In this chapter, the following recipes will be covered which are related to audit compliance and automation with AWS resources:
- Creating an AMIs of the EC2 instance using AWS lambda and CloudWatch
- Sending notifications through SNS using Config and Lambda
- Streaming and visualizing AWS CloudTrail logs in real time using Lambda with Kibana
Before moving ahead with the implementation of recipes, let's discuss something about lambda.