Build scalable, reliable, and cost-effective applications with a serverless architecture
About This Book
- Design a real-world serverless application from scratch
- Learn about AWS Lambda function and how to use Lambda functions to glue other AWS Services
- Use the Java programming language and well-known design patterns. Although Java is used for the examples in this book, the concept is applicable across all languages
- Learn to migrate your JAX-RS application to AWS Lambda and API Gateway
Who This Book Is For
This book is for developers and software architects who are interested in designing on the back end. Since the book uses Java to teach concepts, knowledge of Java is required.
What You Will Learn
- Learn to form microservices from bigger Softwares
- Orchestrate and scale microservices
- Design and set up the data flow between cloud services and custom business logic
- Get to grips with cloud provider's APIs, limitations, and known issues
- Migrate existing Java applications to a serverless architecture
- Acquire deployment strategies
- Build a highly available and scalable data persistence layer
- Unravel cost optimization techniques
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.
Style and approach
The book takes a pragmatic approach, showing you all the examples you need to build efficient serverless applications.
Table of Contents
- Getting Started with Serverless
- Infrastructure as a Code
- Hello Internet
- Applying Enterprise Patterns
- Persisting Data
Building Supporting Services
- Writing the foundation of a Lambda function
- Letting users upload to S3
- Sending emails via SES
- Consuming the SNS message and sending emails
- Creating the search domain
- Uploading test data
- Creating the suggester
- Creating the API endpoint for suggestions
- Lambda function for updating search data
Monitoring, Logging, and Security
- Setting up a Route53 health check
- Wrapping everything up in CloudFormation
- Creating CloudWatch metrics from application logs
- Running Lambda functions in VPC
- Lambda Framework
- Title: Building Serverless Architectures
- Release date: July 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787129191