Build Microservices With Aspnet Core Amazon Web Services

Event-Driven Microservices with .NET and AWS, Lambda, API Gateway, Kafka, RabbitMQ, etc.

Last updated 2022-01-10 | 4.5

- Solution Architecture of Microservices
- Event-Driven Microservices with Kafka and AWS MSK
- Choreography Pattern for implementing business workflows

What you'll learn

Solution Architecture of Microservices
Event-Driven Microservices with Kafka and AWS MSK
Choreography Pattern for implementing business workflows
Orchestration Pattern for implementing business workflows
Eventual Consistency Pattern & Distributed Transactions
State-less microservices with AWS Lambda
Exponential Back Off and Circuit Breaker Patterns
Command and Query Segregation Pattern (CQRS)
Delivering Messages & Events with AWS SNS
Using Domain Driven Design in designing Microservices
Using API Gateway pattern as a reverse proxy for private APIs
Logging and Monitoring in Microservices
Distributed Authetnication and Authorization with OAuth and AWS Cognito
Using AWS Cloud Map for Service Discovery
Deploying Microservices to Amazon EC2 instances using AWS Code Deploy
Building and deploying Microservices using Docker and AWS Elastic Container Service (ECS)
Building resilient APIs using HttpClientFactory

* Requirements

* Some C# Programming Skills
* Basic knowledge of Amazon Web Services

Description

  • Solution Architecture of Microservices
  • Event-Driven Microservices with Kafka and AWS MSK
  • Choreography Pattern for implementing business workflows
  • Orchestration Pattern for implementing business workflows
  • Eventual Consistency Pattern & Distributed Transactions
  • State-less microservices with AWS Lambda
  • Exponential Back Off and Circuit Breaker Patterns
  • Command and Query Segregation Pattern (CQRS)
  • Delivering Messages & Events with AWS SNS
  • Using Domain Driven Design in designing Microservices
  • Using API Gateway pattern as a reverse proxy for private APIs
  • Logging and Monitoring in Microservices
  • Distributed Authetnication and Authorization with OAuth and AWS Cognito
  • Using AWS Cloud Map for Service Discovery
  • Deploying Microservices to Amazon EC2 instances using AWS Code Deploy
  • Building and deploying Microservices using Docker and AWS Elastic Container Service (ECS)
  • Building resilient APIs using HttpClientFactory

Course content

15 sections • 83 lectures

What is a Monolithic application and what problems does it have? Preview 11:23

Check your learnings about Monolithic Applications

Web Advertising System: Vision and Requirements Preview 07:10

Prepare the development environment Preview 00:36

Solution Architecture of Web Advertisement Project Preview 06:17

How to start a Microservice Project Preview 09:15

Test your learnings about Microservice project development

Five key attributes of a well-design Microservice Preview 06:11

How do Microservices work in Amazon Web Services (AWS)? Preview 11:56

Quiz about a well-designed Microservice in Amazon Web Services

Validate your understanding of the architecture of Web Advert system

Before you continue please take this quiz and make sure that you have completely understood the architecture of Web Advert project. Also you will need to check and become confident that you have understood the exact role of each AWS Service.

Authenticating users Preview 04:25

Configuring AWS Cognito Preview 11:48

To begin with AWS Cognito and using it as a user store in ASP.Net Core Identity, we will need to configure the AWS Cognito service. In this lecture we will see how we can do it.

Setup AWS Credentials + Create and Clone a GitHub Repo Preview 10:11

Sign up with AWS Cognito and ASP.Net MVC Core Preview 35:10

Confirm Email Addresses Preview 18:24

Sign in with AWS Cognito and ASP.Net MVC Core Preview 19:18

Add a Forgot Password Page

We add a Reset Password page to the Web Advert project.

Implement Multi Factor Authentication (MFA)

Enable Two-Factor Authentication

Eventual Consistency and Compensating Transactions Preview 14:13

Sharing data models between a Microservice and its client using Nuget Preview 06:29

Building "Advert Api" Microservice. Using Automapper in Asp.net Core MVC Preview 27:08

Building "Advert Api" Microservice. Part 2 Preview 17:33

Create and publish Nuget packages with .Net Core to share models Preview 07:17

Checking the health of Microservices. Adding health-check endpoints to Advert Ap Preview 13:50

Deploying Advert Api to sandbox server Preview 18:22

Uploading advertisement images to AWS S3 Preview 09:50

HttpClientFactory: How it helps with building resilient service clients? Preview 06:26

Building a service client for Advert Api with HttpClientFactory Preview 17:14

Exponential Back Off and Circuit Breaker Patterns Preview 06:43

Implementing Back Off and Circuit Breaker patterns with HttpClientFactory Preview 19:35

Domain Driven Design and Microservices Preview 12:20

What is CQRS Preview 08:41

Messages, Events and Fan Out design pattern Preview 12:35

Publishing a message to AWS SNS with ASP.Net Core. Preview 11:52

Creating SearchWorker AWS Lambda with ElasticSearch service Preview 17:50

Finishing Search Worker micro service. Storing advertisement in ElasticSearch Preview 17:58

Running Web Advertisement web application Preview 04:26

Introduction to Logging and Microservices Preview 14:46

Creating the AWS Logging Stack with Cognito + Kibana and Cloud Watch Preview 09:26

Search API Microservice Preview 05:41

Logging application logs to AWS Cloud Watch Preview 06:21

Add Health Check to SearchApi

Add a health check api to Search Api microservice. The health check must make sure that the API has access to ElasticSearch however it is not needed to check the existence of the index as the index is created when the first document is written to ElasticSearch.

Implementing the Search Page with Search Api Preview 07:13

Showing the list of advertisements using AWS Cloudfront Preview 10:16

Introduction to Api Gateway Pattern Preview 06:48

What is AWS Api Gateway Preview 03:16

Creating a reverse proxy API using AWS Api Gateway for a Public API Preview 04:41

Exposing a private API to the public Internet using Api Gateway VPC Link Preview 09:59

Setup Amazon Web Application Firewall for API Gateway APIs Preview 09:56

Implementing Authentication for Api Gateway APIs using Cognito Preview 21:28

Securing Web APIs with Json Web Token (Jwt) and AWS Cognito Preview 16:08

Accessing private APIs via JavaScript code Preview 11:19

Introduction to Service Discovery and common discovery tools Preview 05:22

Producing Swagger documentation automatically Preview 09:03

Generating API Clients (SDK) from Swagger Preview 06:40

Tools and deployment models of a discovery service Preview 07:21

Register a Microservice instance with AWS Cloud Map Preview 06:22

Self-registering ASP.NET Core services using C# Preview 06:43

Discovering services with Cloud Map and C# Preview 05:07

Introduction to CI/CD for Microservices Preview 18:52

Introduction to Docker and AWS Elastic Container Service Preview 06:02

Building a Docker Image and Uploading it to Amazon Elastic Container Service Preview 12:00

Launching Docker containers with AWS Elastic Container Services (ECS) Preview 12:45

CI/CD Tooling Options for Microservices and Docker Preview 02:59

Building and Deploying Docker Images to ECS with JetBrain TeamCity Preview 05:54

Deploying Docker Images to ECS with JetBrain TeamCity Preview 05:54

Events vs. Messages Preview 05:41

What Problem Does Event Streaming Solve? Preview 03:39

Kafka, MSK, Kinesis and Kinesis Firehose Preview 04:05

Patterns of Implementing Business Workflow with Messages & Events Preview 02:41

Deep Dive into Choreography Pattern Preview 04:21

Deep Dive into Orchestration Pattern Preview 06:37

Orchestration and Choreography Patterns Comparison Preview 04:35

Installing Kafka Preview 08:28

Connecting to Kafka via Dotnet Preview 04:44

Producing and Consuming Events Preview 10:35

About RabbitMQ Preview 02:56

Setting up RabbitMQ with AWS MQ Preview 03:46

Publishing & Consuming Messages with RabbitMQ Preview 10:58

Interview Questions Preview 23:54

Thank you and congratulations! Preview 00:22