Building a Scalable Serverless Microservice REST Data API

Video description

Practical solutions to building Serverless applications

About This Video

  • Create a system where the infrastructure, scalability, and security are managed by AWS
  • Reduce your support, maintenance, and infrastructure costs
  • Speed up your development process through rapid iterations

In Detail

In the past few years, there has been a shift away from monolithic architecture (with for example its large centralized deployments) to microservice architectures with small independent deployments, allowing much more flexibility and agile delivery. Traditionally virtual machines and containers were the main options for deploying microservices but they involve a lot of operational effort, configuration, and maintenance. More recently, there has been a growing interest in Serverless computing due to the increase in developer productivity, built in auto-scaling abilities, and reduced operational costs. In combining both microservices and serverless computing, organizations will benefit from having the servers and capacity planning managed by the cloud provider, making them much easier to deploy and run at scale.

In this course we show you how to build an end-to-end serverless application for your organization. We have selected a data API use case that could reduce costs and give you more flexibility in how you and your clients consume or present your application, metrics and insight data. We make use of the latest serverless deployment and build framework, share our experience on testing, and provide best practices for running a serverless stack in a production environment.

Table of contents

  1. Chapter 1 : Overview of Monolithic and Microservice Architectures
    1. The Course Overview 00:09:34
    2. Monolithic and Microservice Architectures 00:15:09
  2. Chapter 2 : AWS Building Blocks for Creating Serverless Microservices
    1. Virtual Machines, Containers, and Serverless Computing 00:13:09
    2. Serverless Computing in AWS 00:10:38
    3. Setting Up Your Serverless Environment in AWS 00:11:21
  3. Chapter 3 : Securing Your Microservice
    1. Overview of Security in AWS 00:05:52
    2. Overview of AWS Identity and Access Management (IAM) 00:03:25
    3. Securing Your Serverless Microservice 00:05:45
  4. Chapter 4 : Creating Your First Serverless Microservice
    1. Building a Serverless Microservice Data API 00:06:57
    2. Setting Up a Lambda in the AWS Management Console 00:10:52
    3. Setting Up the API Gateway and Integrating It with a Lambda Proxy 00:06:05
    4. Creating and Writing to a NoSQL Database Called DynamoDB 00:07:44
    5. Creating a Lambda to Query DynamoDB 00:03:18
    6. Connecting API Gateway, Lambda, and DynamoDB 00:04:26
  5. Chapter 5 : Testing Your Serverless Microservice
    1. Unit Testing Your Python Lambda Code 00:09:11
    2. Running and Debugging Your AWS Lambda Code Locally 00:04:09
    3. Integration Testing Using Real Test Data 00:01:31
    4. Performance and End-to-End Testing at Scale 00:06:17
  6. Chapter 6 : Building and Deploying Your Serverless Stack
    1. Overview of Serverless Stack Build and Deploy Options 00:07:26
    2. Creating an S3 Bucket, IAM Policies, and IAM Roles Resources 00:04:08
    3. Building and Deploying API Gateway, Lambda, and DynamoDB 00:10:11
  7. Chapter 7 : Conclusion
    1. Building a Scalable Serverless Microservice Data API Conclusions 00:06:15
    2. Next Course 00:03:00

Product information

  • Title: Building a Scalable Serverless Microservice REST Data API
  • Author(s): Richard T. Freeman
  • Release date: February 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788622318