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)

What this book covers

Chapter 1, Getting Started With Serverless, introduces you to serverless computing and Lambda functions, sets up the AWS account and environment, and builds the base libraries.

Chapter 2,Infrastructure as a Code, teaches you about CloudFormation to define the infrastructure as a code and has the first Lambda function up and running.

Chapter 3, Hello Internet, exposes the Lambda function to the internet via the AWS API Gateway.

Chapter 4, Applying Enterprise Patterns, implements and configures the dependency injection pattern for the Lambda function.

Chapter 5, Persisting Data, uses DynamoDB to persist application data in a highly scalable way.

Chapter 6, Building Supporting Services, leverages the AWS services to enable the Lambda functions to pass messages to each other.

Chapter 7, Searching Data, uses CloudSearch to build a fully managed search infrastructure, integrating Lambda functions to update the search index.

Chapter 8, Monitoring, Logging, and Security, sets up automated health checks, alarms, and triggers responding to failures, and operating Lambda in secured network environments.

Appendix, Lambada Framework, migrates your JAX-RS application to AWS Lambda and API Gateway with minimal effort.