Course Overview
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;
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.
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.
FAQ
FAQ area empty
Course curriculum
-
Introduction
776 Xem trước -
Final Application - Serverless Event-driven E-Commerce Application
1440 Xem trước -
Project Code Structure
636 Xem trước -
AWS Cost Management During the Course
394 -
Course Structure and Way of Learning
346 Xem trước -
AWS Lambda Invocation Types
610 -
Our Serverless Journey with AWS Lambda Invocation Types
385 -
Serverless Explained : AWS Operational Responsibility Model
273 Xem trước -
AWS Serverless Services for Microservices Architectures
326
-
AWS Lambda Overview
170 -
How does AWS Lambda work?
129 -
AWS Lambda Main Features
364 -
AWS Lambda Event Sources and Destination Trigger Services
300 -
AWS Lambda Invocation Types
94 -
AWS Lambda Function Code
548 -
AWS Lambda Walkthrough with AWS Management Console
1178 -
AWS Lambda Best Practices and Event-driven Architecture
531 -
AWS Lambda Quiz
-
Thinking Serverless
464 -
AWS as an Application Development Framework
856 -
AWS Lambda as a Microservice
351 -
Mapping Microservice Architecture with AWS Serverless Services for Microservice
424 -
Event-driven Serverless Microservices Design with AWS Lambda
383 -
Serverless Architectural Patterns and Best Practices
916 -
AWS Serverless Event-driven Quiz
-
Introduction - API Gateway Restful API Development with Synchronous Lambda Event
64 -
What is Amazon API Gateway?
184 -
Architecture of API Gateway
82 -
Main Features of API Gateway
160 -
Amazon API Gateway Use Cases
262 -
API Gateway as a Lambda Synchronous Event Sources
143 -
Amazon API Gateway Core Concepts
338 -
Amazon API Gateway -Differences between REST - HTTP API
78 -
Amazon API Gateway Walkthrough with AWS Management Console
1161 -
API Gateway Quiz
-
Introduction - RESTful Microservices with AWS Lambda, API Gateway and DynamoDB
194 -
Create a DynamoDB Table
82 -
Create a Lambda Function
392 -
Create an API Gateway
450 -
Test - RESTful Microservices with AWS Lambda, API Gateway and DynamoDB
323 -
AWS Console microservice-http-endpoint Lambda Blueprint - API Gw + Lambda + Dyna
195 -
Resource Cleanup
230
-
Introduction - Serverless Deployments IaC with AWS CDK
101 -
What is IaC - Infrastructure as Code
424 -
AWS Cloud Formation
291 -
AWS CDK - Cloud Development Kit
458 -
AWS CDK Core Concepts - Apps - Stacks - Constructs - Environments
402 -
AWS Solutions Constructs with Levels L1 - L2 - L3 Pattern Construct
381 -
AWS CDK Lifecycle
277 -
CDK Serverless Patterns with Solution Constructs
374 -
Serverless + CDK Automation + Integration Patterns = AWSome!
162 -
CDK - Hands-on IaC Development
119
-
Introduction - Getting Started with AWS CDK
301 -
Creating AWS CDK Application for IaC
328 -
Building AWS CDK Application for IaC
232 -
Explore CDK Project Directory
295 -
Run CDK Commands on VSCODE - Set-ExecutionPolicy RemoteSigned
114 -
CDK Commands Overview
575 -
Bootstrapping CDK Stack
836 -
Developing our AWS CDK App
580 -
Deploying our AWS CDK App Part 2
542 -
Modifying our AWS CDK App
560 -
Deploying our Modified AWS CDK App
557 -
DON'T FORGET - Destroying our AWS CDK App
325 -
CDK Template Application Types
223 -
CDK sample-app Template
251
-
Introduction - Synchronous RESTful Microservices with CDK
106 -
Create a New Project for API Gateway-Lambda Synchronous Microservices with CDK
214 -
Developing Lambda Handler Code
379 -
Developing Infrastructure with CDK - Create Lambda Function and API Gateway
622 -
Testing Infrastructure with CDK
526 -
Developing Infrastructure with CDK - Create Lambda Function and API Gateway - 2
527 -
Testing Infrastructure with CDK
591 -
DON'T FORGET - Destroying our AWS CDK App
246
-
Introduction - Code Structure of E-Commerce Serverless Microservices Project CDK
176 -
Monorepo - What is Monorepo and How we use Monorepo ?
96 -
Code Structure for our Application Architecture with CDK
719 -
IaC Development with AWS CDK for our Application Architecture
187 -
Writing L3 Constructs and Construct Tree on AWS CDK
395 -
AWS CDK (IaC) vs AWS SDK (Microservices)
389
-
Introduction - Creating Product Microservices Serverless CRUD REST API Infra
147 -
Creating DynamoDB Database for Product Microservices with AWS CDK
1041 -
How to know AWS CDK Construct Classes and write better IaC with AWS CDK
754 -
Creating Lambda Function for Product Microservices with AWS CDK
1190 -
Implement Lambda Function Code for Product Microservices
341 -
Creating API Gateway for Product Microservices with AWS CDK
1078 -
Deploy and Testing Serverless Product Microservices Sync Flow
194 -
Prerequisites 6 - Docker Desktop - Bundling Lambda Function with Libraries
247 -
Deploy and Testing Serverless Product Microservices Sync Flow - 2
879 -
Prerequisites 7 - Postman - Test and Manage API Gateway api methods
117 -
Testing Product Microservices Sync Flow; API Gateway - Lambda - DynamoDB
339 -
DON'T FORGET - Destroying our AWS CDK App
297
-
Introduction - Developing Product Lambda Microservices CRUD functions with SDK
159 -
AWS CDK (IaC) vs AWS SDK (Microservices)
251 -
AWS SDK for JavaScript Version 3 and Lambda Interactions
573 -
Start to Developing Product Lambda Microservice - Install npm package - @aws-sdk
621 -
Developing Product Lambda Microservice with DynamoDB Client - AWS SDK for JS v3
545 -
AWS API Gateway trigger AWS Lambda with API Gateway proxy event (REST API)
689 -
Developing Product Lambda Microservice with DynamoDB Client - AWS SDK for JS v3
405 -
Understanding DynamoDB Interactions - Working with Items and Attributes
362 -
Developing getProduct methods for Product Lambda Microservice with DynamoDB
1009 -
Developing getAllProducts methods for Product Lambda Microservice with DynamoDB
348 -
Developing createProduct CRUD methods for Product Lambda Microservice with Dyndb
924 -
Using uuid library When Creating product item into DynamoDB
239 -
Developing deleteProduct CRUD methods for Product Lambda Microservice with Dyndb
593 -
Developing updateProduct CRUD methods for Product Lambda Microservice with Dyndb
890 -
Developing DynamoDB Query and Scan operations for Product Lambda Microservice
995 -
Developing Return Response of Product Lambda Microservice and Manage Switch Code
372 -
Overview Product Lambda Microservice Developments
598 -
Deploy and Testing Serverless Product Microservices Sync Flow
1030 -
Create Postman Collection to Manage Product ApiGateway Apis
735 -
Testing Product Microservices Sync Flow; API Gateway - Lambda - DynamoDB
618 -
Environment Variable of Postman Collection - Best Practice Provisioned API Urls
443 -
DON'T FORGET - Destroying our AWS CDK App
304
-
Introduction - CDK Code Refactoring with Constructs -Creating Solution Construct
394 -
Create Database Infrastructure Solution Construct for our ECommerce Serverless
788 -
Create Microservices Lambda Infrastructure Solution Construct for our ECommerce
937 -
Create API Gateway Infrastructure Solution Construct for our ECommerce Serverles
567 -
Deploy and Testing Serverless Product Microservices Sync Flow
822 -
DON'T FORGET - Destroying our AWS CDK App
293
-
Introduction - Creating Basket Microservices Infrastructure with AWS CDK
240 -
Analyzing Basket Microservices Use Cases for our E-Commerce Serverless App
578 -
Creating DynamoDB Database for Basket Microservices with AWS CDK
485 -
Refactoring database.ts infrastructure file
419 -
Creating Lambda Function for Basket Microservices with AWS CDK
1257 -
Implement Lambda Function Code for Basket Microservices
168 -
Creating API Gateway for Basket Microservices with AWS CDK
1123 -
Deploy and Testing Serverless Basket Microservices AddtoBasket Sync Flow
775 -
Set Basket Microservices Apis in Postman Collection and Testing Basket Microserv
747 -
DON'T FORGET - Destroying our AWS CDK App
205
-
Introduction - Developing Basket Lambda Microservices functions with AWS SDK
149 -
Start to Developing Basket Lambda Microservice - Install npm package - @aws-sdk
401 -
Developing Basket Lambda Microservice with DynamoDB Client - AWS SDK for JS v3
401 -
Developing Basket Lambda Microservice with DynamoDB Client - AWS SDK JS - Part 2
634 -
Developing getBasket methods for Basket Lambda Microservice with DynamoDB Client
304 -
Developing getAllBaskets methods for Basket Lambda Microservice with DynamoDB
123 -
Developing createBasket methods for Basket Lambda Microservice with DynamoDB
428 -
Developing deleteBasket CRUD method for Basket Lambda Microservice with DynamoDB
217 -
Overview Basket Lambda Microservice Developments
115 -
Deploy and Testing Serverless Basket Microservices Sync Flow
426 -
Testing Serverless Basket Microservices Add or Remove Basket Sync Flow
519 -
DON'T FORGET - Destroying our AWS CDK App
170
-
Introduction - AWS EventBridge for Decouple Microservices with Event-Driven Arc
140 -
Asynchronous Event Sources - Lambda Invocation Types
134 -
What is Amazon EventBridge ?
119 -
Benefits of Amazon EventBridge
147 -
How Amazon EventBridge works ?
278 -
Amazon EventBridge Core Concepts - Events - Event Buses - Rules - Targets
485 -
Serverless Pattern: Fan-Out & Message Filtering with Publish/Subscribe Pattern
217 -
Using AWS Lambda with Other Services - Amazon EventBridge
467 -
Amazon EventBridge Walkthrough with AWS Management Console
1531
-
Introduction - Creating AWS EventBridge Eventbus Infrastructure with AWS CDK
188 -
Analysing Aws EventBridge and Checkout Basket Async Flow Use Cases for Decouple
174 -
Creating AWS EventBridge for Decoupling Microservices with AWS CDK
606 -
Creating Custom EventBus Construct for AWS EventBridge with AWS CDK
683 -
Using Custom EventBus Construct into Main Stack with AWS CDK
208
-
Introduction - Creating Ordering Microservices Infrastructure with AWS CDK
106 -
Analysing Ordering Microservices Use Cases for our E-Commerce Serverless App
414 -
Creating DynamoDB Database for Ordering Microservices with AWS CDK
323 -
Creating Lambda Function for Ordering Microservices with AWS CDK
436 -
Implement Lambda Function Code for Ordering Microservices
180 -
Creating API Gateway for Ordering Microservices with AWS CDK
536 -
Fix Custom EventBus Target Function Parameter Error
168 -
Deploy and Testing Serverless Ordering Microservices with Aws EventBridge Custom
925 -
Test Custom Event Bus of AWS EventBridge with using Put-Event Method
1095 -
Set Ordering Microservices APIs in Postman Collection and Testing Ordering Ms
326 -
DON'T FORGET - Destroying our AWS CDK App
265
-
Introduction - Developing Checkout Basket for Send Event to AWS EventBridge
264 -
Start to Developing Checkout Basket Function - Install npm package - @aws-sdk
540 -
Developing Checkout Basket Function with EventBridge Client - AWS SDK for JS v3
562 -
Analyzing Checkout Basket Function in Basket Microservices
250 -
Breakdown Methods to Checkout Basket Function with EventBridge Client - AWS SDK
619 -
Developing "getBasket" of Checkout Basket Function with EventBridge Client
209 -
Developing "prepareOrderPayload" of Checkout Basket Function with EventBridge
400 -
Developing "publishCheckoutBasketEvent" of Checkout Basket Function wth EventBrg
784 -
Set Environment Variables for EventBridge Entry parameters When Publish Checkout
499 -
Developing "deleteBasket" of Checkout Basket Function with EventBridge Client
269 -
Deploy and Testing Serverless Basket Microservices CheckoutBasket EventBridge
664 -
Testing Serverless Basket Microservices CheckoutBasket EventBridge Async Flow
1000 -
DON'T FORGET - Destroying our AWS CDK App
225
-
Introduction - Developing Ordering Microservice Consume CheckoutBasket Event
211 -
Start to Developing Ordering Lambda Microservice - Install npm package -@aws-sdk
234 -
Developing Ordering Lambda Microservice with DynamoDB Client - AWS SDK for JS v3
275 -
Catch and Process Async EventBridge Invocation and Sync API Gateway Invocation
364 -
Developing Event Bridge Async Invocation of Ordering Lambda Microservice
520
-
Introduction - Developing Ordering Microservice Sync Invocation from Api Gateway
120 -
Developing Ordering Lambda Microservice Sync Invocation from Api Gateway
463 -
Developing getOrder methods for Ordering Lambda Microservice wth DynamoDB Client
268 -
Developing getAllOrders methods for Ordering Lambda Microservice with DynamoDB
120
-
Introduction - AWS SQS for Event-Driven Architecture with Queues
250 -
Polling Events and Event Source Mappings - Lambda Invocation Types
133 -
What is Amazon SQS ?
122 -
Benefits of Amazon SQS
268 -
Amazon SQS architecture and How SQS works - The lifecycle of an Amazon SQS queue
162 -
Amazon SQS Visibility Timeout
220 -
Amazon SQS Short and Long polling
199 -
Amazon SQS Dead-letter Queues
140 -
Amazon SQS Queue types - Standard Queues and FIFO Queues
194 -
Serverless Pattern: Topic-Queue Chaining & Load Balancing Pattern
331 -
Using AWS Lambda with Other Services - Amazon SQS
264 -
AWS SQS Walk Trough Step by Step Tutorial over Console
1142 -
SQS Quiz
-
Introduction - Creating AWS SQS Queue Infrastructure with AWS CDK
236 -
Analyzing Aws SQS and Polling Checkout Basket Event with Event Source Mappings
317 -
Creating AWS SQS with AWS CDK
473 -
Creating Custom Queue Construct for AWS SQS with AWS CDK
604 -
Using Custom Queue Construct into Main Stack with AWS CDK
203 -
Change Target Service of AWS Event Bridge Custom EventBus
357
-
Introduction - Developing AWS SQS Event Source Mapping Polling Invocation
240 -
How Lambda Function Event Source Mapping to AWS SQS for Polling Lambda Invocatio
124 -
Catch and Process SQS Polling Invocation in Ordering Lambda Microservice
295 -
Developing SQS Event Source Mapping Polling Invocation of Ordering Lambda ms
431
Requirment
-
Cloud Basics
-
Javascript Basics
Outcomes
-
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!
0 Student
5 Courses
0 review