Implementing Serverless Microservices Architecture Patterns

Video description

The perfect course to implementing Microservices using Serverless Computing on AWS

About This Video

  • Full step-by-step recipes including the use of AWS CLI tools and AWS console
  • Get fully working and extensive Serverless application, service and infrastructure source code and AWS configuration files
  • Gain practical experience and lessons learned from using Serverless microservices at scale in production

In Detail

Building a microservices platform using virtual machines or containers, involves a lot of initial and ongoing effort and there is a cost associated with having idle services running, maintenance of the boxes and a configuration complexity involved in scaling up and down.

In this course, We will show you how Serverless computing can be used to implement the majority of the Microservice architecture patterns and when put in a continuous integration & continuous delivery pipeline; can dramatically increase the delivery speed, productivity and flexibility of the development team in your organization, while reducing the overall running, operational and maintenance costs.

We start by introducing the microservice patterns that are typically used with containers, and show you throughout the course how these can efficiently be implemented using serverless computing. This includes the serverless patterns related to non-relational databases, relational databases, event sourcing, command query responsibility segregation (CQRS), messaging, API composition, monitoring, observability, continuous integration and continuous delivery pipelines.

By the end of the course, you’ll be able to build, test, deploy, scale and monitor your microservices with ease using Serverless computing in a continuous delivery pipeline.

Parts of the source code linked to this course are available at

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Serverless Microservices Architecture Patterns
    1. The Course Overview 00:12:14
    2. Overview of Microservice Integration Patterns 00:07:56
    3. Communication Styles and Decomposition Microservice Patterns 00:13:19
    4. Serverless Computing to Implement Microservice Patterns 00:08:07
  2. Chapter 2 : Serverless Distributed Data Management Patterns
    1. Implementing Database Per Service and Shared Database Patterns 00:12:09
    2. Accessing DynamoDB from API Gateway Via a Lambda Function 00:13:24
    3. Accessing DynamoDB Directly from API Gateway 00:11:50
    4. Implementing the Transaction Log Tailing Pattern 00:13:03
    5. Implementing the Saga Pattern 00:12:35
    6. Securing Your DynamoDB Databases 00:07:28
  3. Chapter 3 : Accessing Relational Database Serverless Patterns
    1. Relational Versus Non-Relational Databases 00:13:30
    2. Overview of Amazon Virtual Private Cloud 00:08:15
    3. Setting Up Amazon Virtual Private Cloud for Accessing RDS and Aurora 00:05:29
    4. Setting Up RDS and Accessing It from Your Local Network 00:05:44
    5. Accessing RDS from API Gateway Via a Lambda Function 00:12:35
    6. Accessing Aurora from API Gateway Via a Lambda Function 00:12:02
    7. Securing Your RDS and Aurora Databases 00:14:21
  4. Chapter 4 : Serverless Query and Messaging Patterns
    1. API Gateway and API Composition Patterns 00:06:16
    2. Implementing the Serverless API Composition Patterns 00:06:12
    3. Event Sourcing and CQRS Patterns 00:11:47
    4. Architectures of the Serverless Event Sourcing Pattern 00:09:05
    5. Implementing the Serverless Event Sourcing Pattern 00:10:53
    6. Architectures of the Serverless CQRS Pattern 00:11:36
    7. Implementing the Serverless CQRS Pattern 00:09:39
    8. Securing Your Event Streams and Queries 00:08:09
  5. Chapter 5 : Serverless Monitoring and Observability Patterns
    1. Monitoring and Observability Patterns 00:09:10
    2. Implementing Serverless Metrics and Health Check API Patterns 00:11:14
    3. Implementing the Serverless Centralized Logging Pattern 00:10:20
    4. Implementing the Serverless Audit Logging Pattern 00:06:46
    5. Implementing the Serverless Distributed Tracing Pattern 00:06:03
    6. Creating a Serverless Discovery Service and Catalogue 00:06:26
  6. Chapter 6 : Serverless Continuous Integration and Continuous Delivery Pipelines
    1. Continuous Integration and Continuous Delivery 00:16:00
    2. Serverless Continuous Integration and Continuous Delivery Setup 00:06:10
    3. Using CodeCommit for the Serverless Data API Code 00:06:55
    4. Using CodeBuild to Build-Test the Serverless Data API Stack 00:10:20
    5. Using CodePipeline as CI/CD for the Serverless Data API Stack 00:12:47
    6. Using Other CI/CD Solutions with the Serverless Data API Stack 00:13:55
  7. Chapter 7 : Serverless Microservices at Scale in Production
    1. When to Use and Not Use Serverless Computing? 00:18:33
    2. Estimating Serverless Stack Costs 00:10:38
    3. Database and Event Streaming Scalability 00:07:33
    4. Web Scale Best Practices 00:14:26
    5. Conclusion 00:11:37

Product information

  • Title: Implementing Serverless Microservices Architecture Patterns
  • Author(s): Richard T. Freeman
  • Release date: May 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788839570