Member-only story

AWS Serverless and Microservices — Part 1

Naresh Waswani
5 min readAug 22, 2020

--

Microservices and Serverless are two of the hottest and trending topics in the current IT industry. Designing Microservices applications has always been a challenge and with Serverless added, it becomes more difficult and needs a different thought process all together.

The purpose of this Blog Series is to understand the various Architecture Patterns available when working with Microservices using the Serverless ecosystem.

Part 1(This blog) — How to structure Microservices using AWS Serverless stack and using Synchronous Request-Response pattern with API Gateway and Lambda

Part 2 Covers Designing of Asynchronous event submission using API Gateway, SQS and Lambda. And how to implement Saga Orchestration Pattern with Serverless Step Function service.

Part 3Covers approach of sending the status of asynchronous task submission, in our case New Food Order Placement, to the client.

Part 4 — Covers Placing New Food Delivery Order using Choreograph Saga Event Driven Pattern.

Part 5Using Serverless stack for designing Notification Service.

Let’s jump in — Team XYZ wants to build a food delivery platform (YAFDP — Yet Another Food Delivery Platform). Using Domain Driven Design approach — they have come up with few of the services (just for reference purpose) having a well-defined boundary context —

  1. Order Service
  2. Restaurant Service

--

--

Naresh Waswani
Naresh Waswani

Written by Naresh Waswani

#AWS #CloudArchitect #CloudMigration #Microservices #Mobility #IoT

Responses (1)