Course Overview
In this course, we're going to learn how to Deploying .Net Microservices into Kubernetes, and moving deployments to the cloud Azure Kubernetes Services (AKS) with using Azure Container Registry(ACR) and last section is we will learn how to Automating Deployments with CI/CD pipelines of Azure DevOps and GitHub.
We're going to containerize our microservices on docker environment, and push images to the Docker Hub and deploy microservices on Kubernetes. As the same setup, we are going to shifting to the cloud for deploying AKS (Azure Kubernetes Services) with using ACR (Azure Container Registry).
Also we will cover additional topics that;
Docker compose microservices
Kubernetes components (pods, deployments, services ..)
Zero-downtime deployments
Using Azure resources like ACR (Azure Container Registry), AKS (Azure Kubernetes Services)
Automate whole deployment process with writing custom pipelines with Azure DevOps and so on..
In the course, we will have 3 microservices which we are going to develop and deploy together.
Microservices 1 - Shopping MVC Client Application
First of all, we are going to develop Shopping MVC Client Application For Consuming API Resource which will be the Shopping.Client Asp.Net MVC Web Project. But we will start with developing this project as a standalone Web application which includes own data inside it.
And we will add container support with Dockerfile, push docker images to Docker Hub and see the deployment options like "Azure Web App for Container" resources for one web application.
Microservices 2 - Shopping API Application
After that we are going to develop Shopping.API Microservice with MongoDB and Compose All Docker Containers. This API project will have Products data and performs CRUD operations with exposing API methods for consuming from Shopping Client project. We will containerize API application with creating Dockerfile and push images to Azure Container Registry (ACR).
Microservices 3 - Mongo Db Database
Our API project will manage product records stored in a No-SQL MongoDB database as described in the picture. We will pull MongoDB docker image from docker hub and create connection with our API project.
At the end of the section, we will have 3 microservices which's are Shopping.Client - Shopping.API - MongoDb microservices.
As you can see that, we have;
Created docker images,
Compose docker containers and tested them,
Deploy these docker container images on local Kubernetes clusters,
Push our image to Azure Container Registry (ACR),
Shifting deployment to the cloud Azure Kubernetes Services (AKS),
Update microservices with zero-downtime deployments.
And the last step, we are focusing on automation deployments with creating CI/CD pipelines on Azure DevOps tool. We will develop separate microservices deployment pipeline yamls with using Azure Pipelines.
When we push code to GitHub,
Microservices Azure Pipeline triggers,
Build docker images and push the Azure Container Registry (ACR),
Deploy to Azure Kubernetes services with zero-downtime deployments.
In the last section, we will give assignment for deploying multi-container microservices applications with automating CI/CD pipelines.
By the end of this course, you'll learn how to deploy your multi-container microservices applications with automating all deployment process separately.
This course will have good theoretical information but also will be 90% of hands-on development activities. All microservices and deployment steps will developed step by step and together.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 4 bài · 12 phút
Chương 2 Developing Your First Microservice for Deploying Microservices 10 bài · 51 phút
- Introduction Học thử 1:12
-
Create Asp.Net Core MVC Web Project For Shopping.Client Microservice 4:38
- Adding Model Class into MVC Application Học thử 0:59
-
Developing Shopping.Client Microservices Data Model and Context Objects 2:20
- Listing Products on Index Page of Shopping.Client Microservice Học thử 2:39
-
Create Docker Container for Shopping.Client Microservice 4:54
-
Run Docker Container for Shopping.Client Microservice 5:37
-
Docker Commands for Shopping.Client Microservice 15:28
-
Docker Hub Container Registry for Shopping.Client Microservice 4:12
-
Push Docker Hub Container Registry to Shopping.Client Microservice Docker Image 9:07
Chương 3 Deploy Shopping.Client Microservice to Azure App Services - Web App for Containe 6 bài · 22 phút
-
Introduction 1:01
-
Start with an Azure Free Trial Subscription and Check Azure Portal 3:05
-
Create Azure Web App for Containers - App Services for Web apps container 6:08
-
Examine Azure Web App for Containers - App Services for Web apps container 2:51
-
CI/CD for Single Container - Continuous Deployment on Azure Web App for Containe 8:07
-
Delete Azure Resource - Azure Web App for Containers 1:11
Chương 4 Developing Shopping.API Microservice with MongoDb and Compose All Docker Contain 6 bài · 22 phút
-
Introduction 1:26
-
Create Asp.Net Core Web API Project For Shopping.API Microservice 2:27
-
Create Product Controller Class for Shopping.API Microservice 4:06
-
Add Data Folder and Refactor ProductContext for Shopping.API Microservice 2:32
-
Set Launch Settings and Port Numbers Defined for Shopping Microservices 3:26
-
Consume Shopping.API from Shopping.Client Microservices with using HttpClientFac 7:42
Chương 5 Setup Mongo Docker Database 6 bài · 30 phút
-
Introduction 0:40
-
Setup Mongo Docker Database for Shopping.API Microservices 9:10
-
Interactive Terminal For MongoDb Connection 5:08
-
Connect Mongo Docker Container from Shopping.API Microservice 4:25
-
Connect Mongo Docker Container from Shopping.API Microservice Part 2 7:33
-
Test All Microservices - Shopping.Client - Shopping.API - MongoDb 2:36
Chương 6 Containerize Microservices wth Creating Multi-Container App using Docker Compose 6 bài · 45 phút
-
Introduction 1:31
-
Adding Docker-Compose File for Shopping Microservices Solution 4:31
-
Adding MongoDb into Docker-Compose File 3:48
-
Run multi-container application with Docker Compose 10:03
-
Exception Fixes on Running Docker Compose 20:36
-
Recap Docker Commands 4:52
Chương 7 Introduction to Kubernetes 15 bài · 1 giờ 9 phút
-
Introduction 0:58
-
What is Kubernetes ? 0:57
-
Kubernetes Architecture 1:44
-
Kubernetes Components 3:05
-
Local Kubernetes Installment 4:30
-
Kubectl Commands 6:55
-
Declarative vs Imperative 2:26
-
Creating Pods on Kubernetes 4:42
-
Creating Deployment on Kubernetes 5:30
-
Troubleshooting on Kubernetes 6:47
-
Declarative Way Kubernetes - Running yaml Files 5:34
-
Testing Declarative Way Kubernetes - testing yaml Files 5:39
-
Creating Service on Kubernetes and More About yamls 13:48
-
Deploying Kubernetes WebUI Dashboard 6:45
-
Kubernetes Quiz
Chương 8 Deploying Microservices on Kubernetes 17 bài · 1 giờ 24 phút
-
Introduction 1:05
-
Planning to Shopping Microservices yaml files 1:41
-
Visual Studio Code Setup 4:45
-
Create Mongo Db Deployment yaml File 4:51
-
Create Secret For Mongo Db Admin Root Username and Password 3:40
-
Use K8s Secret Values in Mongo Deployment yaml file 3:25
-
Create K8s Service Definitions for Mongo Db 4:23
-
Build Shopping Docker Images , Tag and Push to Docker Hub 6:19
-
Build Shopping Docker Images, Tag and Push to Docker Hub Part 2 6:44
-
Clearing Docker Compose Containers 3:01
-
Create Shopping.API k8s Deployment and Service yaml File 6:37
-
Testing Shopping.API yaml file on k8s 5:58
-
Move Connection String into Config Map yaml file on k8s 5:27
-
Create Shopping.Client K8s Deployment and Service yaml File 4:51
-
Create Shopping.Client K8s Deployment and Service yaml File Part 2 6:18
-
Troubleshooting on K8s For Shopping.Client K8s yaml File Definitions 12:19
-
Clear and Create All K8s Resources on Your Docker Cluster 2:38
Chương 9 Deploy Shopping Microservices into Cloud Azure Kubernetes Service with using ACR 20 bài · 2 giờ 12 phút
-
Introduction 0:59
-
Azure Container Registry (ACR) 1:51
-
Azure Kubernetes Service (AKS) 2:09
-
Steps to the AKS Deployment 2:51
-
Prepare Shopping Microservices for Azure Kubernetes Service (AKS) 10:30
-
Deploy and use Azure Container Registry 14:37
-
Deploy and use Azure Container Registry Part 2 10:54
-
Deploy an Azure Kubernetes Service (AKS) cluster 4:52
-
Deploy an Azure Kubernetes Service (AKS) cluster Part 2 6:43
-
Run applications in Azure Kubernetes Service (AKS) 4:33
-
Create Image Pull Secret for ACR Container 4:50
-
Edit K8s Manifest Yaml Files For Deploying AKS 9:37
-
Run K8s Manifest Yaml Files For Deploying AKS 8:57
-
Scale Shopping applications in Azure Kubernetes Service (AKS) 10:32
-
Autoscale Shopping Pods in Azure Kubernetes Service (AKS) 8:23
-
Update Shopping Microservices With Zero-Downtime Deployment on Live AKS 9:02
-
Tag and Push the New Version of Shopping.Client Image to ACR 5:18
-
Deploy v2 of Shopping.Client Microservices to AKS with zero-downtime rollout k8s 7:01
-
Update CPU Resources for Zero-Dowtime Deployments 8:50
-
AKS-ACR Quiz
Chương 10 Automate Deployments with CI/CD pipelines on Azure Devops 20 bài · 2 giờ 26 phút
-
Introduction 1:08
-
Introduction to Azure Devops 1:51
-
Introduction to Azure Pipelines 2:23
-
Deploy to AKS through Azure CI/CD Pipelines 3:00
-
Sign up for Azure Pipelines 4:56
-
Create Our first pipeline with Azure Pipelines 6:34
-
Pipeline Docker Task Yaml File Explained in Azure Pipelines 10:51
-
Pipeline Docker Task Error Fixed in Azure Pipelines 16:50
-
Pipeline Tasks and How to Decide to Write Correct Task in Azure Pipelines 4:21
-
Create Pipeline for Continues Delivery with Deploy to AKS Task 5:44
-
Create Pipeline for Continues Delivery with Deploy to AKS Task Part 2 9:29
-
Refactoring Our Pipeline for Continues Delivery with Deploy to AKS 7:45
-
Running Pipeline for Continues Delivery with Deploy to AKS 6:11
-
Manage Pipelines for Multi-Container Microservices with CI/CD flows in Azure Pip 11:05
-
Create New Pipeline For ShoppingAPI Microservices with existing pipeline yaml fi 11:08
-
Create New Pipeline For Shopping.Client Microservices 7:57
-
Create New Pipeline For Shopping.Client Microservices Part 2 18:44
-
Rename Pipeline and Test Trigger Shopping Pipelines 8:01
-
Put Azure Pipeline Status Badge into Your Github Project 4:05
-
Clean All AKS and Azure Resources 4:04
Chương 11 Automate Existing Microservices Reference Application with AKS and Azure Devops 1 bài · 2 phút
-
Introduction 1:36
Chương 12 Thanks 1 bài
-
Bonus Lecture
Requirment
-
Basics of Container and Docker Information
-
C# and AspNet knowledge will be plus
Outcomes
-
Create and Build Docker Images
-
Containerize Microservices on Docker Environment
-
Docker Compose Microservices
-
Pushing Docker Images to DockerHub and Azure Container Registry (ACR)
-
Deploying .Net Microservices into Kubernetes
-
Deploy Microservices to the cloud Azure kubernetes services (AKS)
-
Automate whole deployment process with writing custom pipelines with Azure DevOps
-
Deploying multi-container microservices applications with automating ci/cd pipelines
-
Update microservices with zero-downtime deployments
-
Using Azure Container Registry - ACR
-
Using Azure Kubernetes Services - AKS
0 Student
12 Courses
0 review