Book Image

Mastering AWS Lambda

By : Yohan Wadia, Udita Gupta
Book Image

Mastering AWS Lambda

By: Yohan Wadia, Udita Gupta

Overview of this book

AWS is recognized as one of the biggest market leaders for cloud computing and why not? It has evolved a lot since the time it started out by providing just basic services such as EC2 and S3 and today; they go all the way from IoT to Machine Learning, Image recognition, Chatbot Frameworks, and much more! One of those recent services that is also gaining a lot of traction is AWS Lambda! Although seemingly simple and easy to use, Lambda is a highly effective and scalable compute service that provides developers with a powerful platform to design and develop Serverless event-driven systems and applications. The book begins with a high-level introduction into the world of Serverless computing and its advantages and use cases, followed by a deep dive into AWS Lambda! You’ll learn what services AWS Lambda provides to developers; how to design, write, and test Lambda functions; as well as monitor and troubleshoot them. The book is designed and accompanied with a vast variety of real-world examples, use cases, and code samples that will enable you to get started on your Serverless applications quickly. By the end of the book, you will have gained all the skills required to work with AWS Lambda services!
Table of Contents (11 chapters)

AWS Lambda - Use Cases

In the previous chapter, we took a quick dive into the Serverless Framework and how you as an end user or developer can leverage it to build, package, and deploy your serverless applications to Lambda.

In this chapter, we will be looking at some of the most commonly used Lambda use cases and how you can leverage them to manage your AWS environments. The use cases are broadly classified into the following categories:

  • Infrastructure management--this section will demonstrate how to leverage Lambda functions
  • Managing the costs of your AWS account by shutting down large instance types during off hours
  • Tagging untagged instances for better governance and cost control
  • Taking scheduled snapshots of your volumes for data backups
  • Data transformation--how to use Lambda functions to transform either streaming or static data before it gets uploaded to a database