Book Image

Building Serverless Architectures

By : Cagatay Gurturk
Book Image

Building Serverless Architectures

By: Cagatay Gurturk

Overview of this book

Over the past years, all kind of companies from start-ups to giant enterprises started their move to public cloud providers in order to save their costs and reduce the operation effort needed to keep their shops open. Now it is even possible to craft a complex software system consisting of many independent micro-functions that will run only when they are needed without needing to maintain individual servers. The focus of this book is to design serverless architectures, and weigh the advantages and disadvantages of this approach, along with decision factors to consider. You will learn how to design a serverless application, get to know that key points of services that serverless applications are based on, and known issues and solutions. The book addresses key challenges such as how to slice out the core functionality of the software to be distributed in different cloud services and cloud functions. It covers basic and advanced usage of these services, testing and securing the serverless software, automating deployment, and more. By the end of the book, you will be equipped with knowledge of new tools and techniques to keep up with this evolution in the IT industry.
Table of Contents (10 chapters)

Summary

This chapter was an important step because we implemented a very good structured application with the dependency injection pattern and created an API endpoint using that. We looked at how to persist our data without having a database system that needs maintenance. Adding more tables and consuming them with more endpoints like these is up to you and your business requirements. You will need the help of the AWS documentation to discover more features of DynamoDB and API Gateway that can be useful for you.

In the next chapter, we will switch our focus a bit more to other AWS parts, such as SNS (Simple Notification Service), SES (Simple E-Mail Service), and S3. First, we will notify an asynchronous Lambda that will set the password for our newly registered users and send a welcome mail to them along with it. In the second part, we will work on an even more exciting topic:...