AWS Serverless Microservices with Patterns & Best Practices

AWS Event-driven Serverless Microservices using AWS Lambda, API Gateway, EventBridge, SQS, DynamoDB and CDK for IaC

4.45 (414 reviews)
Udemy
platform
English
language
Software Engineering
category
instructor
AWS Serverless Microservices with Patterns & Best Practices
7,480
students
29 hours
content
Nov 2023
last update
$94.99
regular price

What you will learn

AWS Event-driven Serverless Microservices

AWS Lambda, AWS DynamoDB, AWS API Gateway, AWS EventBridge, AWS SQS and AWS CDK

REST API and CRUD endpoints with using AWS Lambda, API Gateway

Data persistence with using AWS DynamoDB

Decouple microservices with events using AWS EventBridge

Message Queues for cross-service communication using AWS SQS

Cloud stack development with IaC using AWS CloudFormation CDK

Serverless Design Patterns and Best Practices

Develop E-commerce Event-driven Microservices Application

RESTful Microservices with using AWS Lambda, Api Gateway and DynamoDb for performing CRUD operations

Event-Driven asynchronous Communication between Microservices using Amazon EventBridge

Serverless e-commerce application infrastructure development with using AWS CDK

AWS API Gateway -for- Restful API-Driven Development and Synchronous Event Sources

AWS EventBridge -for- Event-Driven asynchronous Communication between Microservices

AWS SQS -for- Decouple Microservices and processing events asynchronously using queues

Publish and create event to Serverless Eventbus which is AWS EventBridge

Create Rules and Target definitions for AWS EventBridge

Microservices send polling request and get event from the AWS SQS queue.

Synchronous communication with AWS Api Gateway for routing request from client applications to downstream microservices

Asynchronous communication with AWS Serverless Eventbus which is EventBridge for applying Event Driven asynchronous Communication patterns

Event Source mapping communication polling queue records from lambda services to AWS SQS-Simple Queue Service for Decouple Microservice

Devops best practices develop infrastructure as code Serverless Stacks with using AWS CDK - Cloud Development Kit

AWS Developer and AWS Solution Architecture Jobs

Prepare your AWS Certification with practical way

AWS Serverless + CDK Automation + Integration Patterns = AWSome Microservices!

Why take this course?

This course comes from a live GitHub aws-microservices repository which verified from community with 250+ stars and 100+ forks.

In this course, we will learn AWS Event-driven Serverless Microservices with using

  • AWS Lambda,

  • AWS DynamoDB,

  • AWS API Gateway,

  • AWS EventBridge,

  • AWS SQS which stands for Simple Queue Service,

  • AWS CDK stands for Cloud Development Kit for IaC - Infrastructure as Code tool and

  • AWS CloudWatch for monitoring.

This course will be 100% hands-on, and you will be developing a real-world application which includes;

  • REST API and CRUD endpoints with using (AWS Lambda, API Gateway)

  • Data persistence with using (AWS DynamoDB)

  • Decouple microservices with events using (AWS EventBridge)

  • Message Queues for cross-service communication using (AWS SQS)

  • Cloud stack development with IaC using (AWS CloudFormation CDK)

By the end of the course, you will learn how to develop reliable and scalable Serverless applications, following the microservices architecture. We will develop event-driven microservices with AWS Serverless services which comes with power of cloud high availability and high scalability by nature. Of course we will follow the Serverless Design Patterns and Best Practices when developing our e-commerce event-driven microservices application.

There is a couple of microservices which implemented e-commerce modules over Product, Basket and Ordering microservices. We will use AWS Lambda service as a microservices and use power of lambda functions. And this microservices databases will store NoSQL AWS DynamoDB databases.

And also we have followed communication patterns and best practices when designing Serverless microservice communications for synchronous and asynchronous communications with using AWS API Gateway, AWS EventBridge as a Eventbus and AWS SQS as a queue service. That means we design our architecture rely on asynchronous connections that gives us much more flexible and resilient application.

We will use

  • AWS API Gateway -for- Restful API-Driven Development and Synchronous Event Sources

  • AWS EventBridge -for- Event-Driven asynchronous Communication between Microservices

  • AWS SQS -for- Decouple Microservices and processing events asynchronously using queues

The course proposes a microservice oriented architecture implementation with AWS Serverless world using event-driven patterns and best practices. So the project will be the e-commerce application that will be totally Serverless components.

Let me try to introduce Serverless components one by one;

Api Gateway

  • This is entry point of our microservices.

  • API Gateway provides Restful API-Driven Development and Synchronous Event Sources.

  • Synchronous commands are request/response.

  • API Gateway is a synchronous event source and provides a Serverless API proxy to AWS Lambda.

  • API Gateway Redirects to CRUD request to internal microservices.

Product Lambda microservices which performs;

  • CRUD operations using DynamoDB table over the AWS API Gateway

  • This will cover product table operations fully Serverless in microservices architecture.

  • Synchronous requests will manage by AWS API Gateway and routing requests to Product Lambda Microservices that perform CRUD operations.

  • We will write Lambda functions with using AWS SDK for interacting other AWS resources for example in Product case we will interact with AWS Serverless DynamoDB to perform all crud operations.

Basket Lambda microservices which performs;

  • Add-Remove synchronous basket operations with using AWS API Gateway and DynamoDB

  • Again synchronous requests will manage by AWS API Gateway and routing requests to Basket Lambda Microservices that perform CRUD operations.

  • We will write Lambda functions with using AWS SDK for interacting other AWS resources. For example in Basket case we interact with AWS Serverless DynamoDB to perform all crud operations.

But also,

  • Basket microservice triggers to Event-driven use case which is the Checkout Basket.

  • When checkout basket, this will publish and create event to Serverless Eventbus which is AWS EventBridge.

  • So this asynchronous communication will held by Basket Lambda Microservice and AWS EventBridge and consumed by Ordering microservices over the AWS SQS.

AWS Event Bridge

So asynchronous communication held by AWS Serverless Eventbus service which is AWS EventBridge.

We will create Rules and Target definitions for AWS EventBridge from Basket Lambda microservices.

That means we will develop Basket Lambda Microservices when publishing checkout message to AWS EventBridge with using AWS SDK for development purpose.

AWS SQS and Ordering Lambda microservices

So after publishing checkout event to the EventBridge, this event will consume by Ordering part.

EventBridge send to event to AWS SQS in order to gain power of AWS queue.

After that Ordering lambda microservice will consume this event with polling.

That means we will use event source mapping communication type here when consuming events, ordering lambda microservices send polling request and get event from the AWS queue.

After consuming the event from the AWS queue, Ordering lambda microservices process the event with creating order record into its DynamoDB table.

Ordering lambda microservices perform all these operations with developing lambda functions with using AWS SDK.

We have 3 communication types;

  1. Synchronous communication with AWS API Gateway for routing request from client applications to downstream microservices

  2. Asynchronous communication with AWS Serverless Eventbus which is EventBridge for applying Event Driven asynchronous Communication patterns.

  3. And lastly we have Event Source mapping communication when polling queue records from lambda services to AWS SQS-Simple Queue Service for Decouple Microservice and processing events asynchronously.

During the course we will follow these Microservice communication types with Lambda invocations, and develop our sections following these arrows.

IaC Serverless Stacks with AWS CDK - Cloud Development Kit

  • Will follow Devops best practices when coding infrastructure. The whole project, we will develop infrastructure as code Serverless Stacks with using AWS CDK - Cloud Development Kit.

  • We will use AWS CDK for IaC Serverless Stacks developments that we will develop and provision all services step by step with together.

AWS Developer and AWS Solution Architecture Jobs

This course prepares to you real AWS Developer and AWS Solution Architecture jobs, which's offers to you 3 figure salaries.

Because we are going to develop a real-world Serverless application which is already used and developed by lots of companies in the world.

Prepare your AWS Certification with Practical Way

  • AWS Certified Developer Associate

  • AWS Certified Solutions Architect Associate

Don't memorize all topics, feel and develop by hands-on, dirty your hands by this way you can achieve to onboard your target AWS jobs. This course will help you to prepare AWS Developer and Solutions Architect Associate certifications both theoretical and mostly practical way with developing Serverless e-commerce applications.

AWS Serverless + CDK Automation + Integration Patterns = AWSome!

This will be the manifesto of our course. We will follow these manifesto every place of our course and the Serverless e-commerce application.

Integration Patterns that we will follow Queue-chaning, Publish-Subscribe and Fan-out design patterns during the course when developing our serverless e-commerce application.

By the end of this course, you'll learn how to design and developing AWS Event-driven microservices with using Serverless patterns and best practices.

This course will be 100% hands-on, and we will be develop all infrastructure and microservice codes with together and step by step.

Reviews

Wilfredo
July 28, 2023
Es un curso que detalla los pasos para construir la aplicacion , pero no hay una Aplicacion funcionado. Por lo que faltaria una parte para desarrollar.
Erick
July 2, 2023
The instructor seems to know what he is talking about. I like that he has bulletpoints in most slides. Easy to follow
Sanket
June 23, 2023
I think it is excellent, with all the repetitiveness, you can come back to course later and still understand everything And also helps you understand the concepts better. Every concept has been taught really well!
Sahresh
May 25, 2023
The course is really thorough I really recommend it especially if you don't know anything about serverless this is the course. But I am still waiting for the step functions.
Sean
May 20, 2023
The course is NOT complete. The instructor hasn't complete the Step Functions section! Other students and myself, have left comments and the instructor replied a year ago saying he would deliver the material but nothing has happened. A few comments since then asking for status updates on when the section will be completed but nothing back from the Instructor. I find this extremely annoying as it's a primary service that is used often when building cloud solutions on AWS and one of the primary reasons to purchase this course was the advertised step functions coverage.
Drew
May 8, 2023
The content of the course was great -- lots of information. And the audio quality was fine/clear. Personally though, I found it hard to understand the presenter. I had to turn on closed captioning (and sometimes have the transcript window open) so that I could better understand some of the audio.
Meghana
May 6, 2023
Best Course with detailed explanation and so many resources which can used. Hats off on planning such content with details
Aditya
April 29, 2023
It is a very good course. I read a lot of reviews that suggested that. a lot of content is repeated but that is very essential especially when you are designing a solution. You revisit every aspect in order to see what you had done before and what you can do better. I would recommend this course to anyone who wants to improve their design and coding skills using AWS tools.
Diego
April 11, 2023
Fue una buena elección porque explica todos los pasos necesarios para diseñar, desarrollar e implementar una solución serverless ?
Tornike
March 20, 2023
Thanks. It was really good. Explanation was quite repetitive but in general it was well. Thanks and I'm appreciate
Sankar
March 10, 2023
I am a very experienced software professional and I ratify this course to the fullest extent. I see that Mehmet Ozkaya has followed a lot of good architecture and design patterns. AWS recommends CDK and Eventbridge for serverless applications and that itself is a big plus in this course. And Mehmet references AWS blogs wherever possible and implements those patterns. His mention of saga pattern and reference to re:invent link was very useful. With thousands of re:invent videos out there, picking the right one itself is a challenge. One criticism though. The recommended approach is to have one lambda per api gateway method. https://hackernoon.com/aws-lambda-should-you-have-few-monolithic-functions-or-many-single-purposed-functions-8c3872d4338f This is from Yan Cui, a very reputed professional. However the Mehmet has gone against the above pattern. A wish: I understand that GUI is in scope and using postman is good enough. However with the asyncrhonous event based architecture, the end user who is sitting in front of a GUI (react, angular etc) needs to know whether the transaction succeeded or failed. An email or text is not what I want. How do you communicate the response back to the user is one area that I would love to see added to the course. (WebSockets or IoT core)
Minh
February 28, 2023
I watched 30 videos and there is too much content repetition. I hope you can build more complex application, implement many solution like saga pattern, payment processing....
Lee
February 4, 2023
This course is a masterpiece. Course content is outstanding. Instructor is brilliant. I learned a ton about AWS and infrastructure as code. The best part about this course is that "everything works".
Svend
January 18, 2023
This course is disappointing. The beginning was interesting to me to get a sense of AWS serverless, but after that there's nothing more: it's all just simplistic coding around a few basic AWS resources, repeated over and over for 30h. Even at 1.5X speed and skipping directly to the middle of each video it's hard not to get bored. A course covering this few material should not be more than 8h long or so, in 30h I'd expect to hear about concepts like input data validation, unit testing (the course just validates manually with PostMan), error handling with step functions, application debugging, tracing, logging, stages, Cognito security, libraries like AWS Powertools, Chalice or others, consistency guarantees when performing 2 outputs (writing to Dynamo + posting to SQS), cost estimation, discussion on reliability and availability...
Manuel
January 6, 2023
This course is good, you will adquire valuable knowledge from it, BUT there are 2 bad things: 1. Repetition, the same concepts are repeated again and again. 2. Its a little hard to understand the accent. Remove the excesive repetition and this will be a 4.5 stars course.

Charts

Price

AWS Serverless Microservices with Patterns & Best Practices - Price chart

Rating

AWS Serverless Microservices with Patterns & Best Practices - Ratings chart

Enrollment distribution

AWS Serverless Microservices with Patterns & Best Practices - Distribution chart
4512598
udemy ID
1/24/2022
course created date
4/2/2022
course indexed date
Bot
course submited by