Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Deploying .Net Microservices with K8s, AKS and Azure DevOps

Triển khai .Net Microservices với K8s, AKS và Azure DevOps

Triển khai .Net Microservices với K8s, AKS và Azure DevOps

Triển khai .Net Microservices lên Kubernetes, chuyển lên đám mây Azure Kubernetes Services (AKS), Tự động hóa với Azure DevOps

4.5
(1,432 đánh giá)
12,332 học viên
Giảng viên
Mehmet Ozkaya
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 399.000đ -87%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
111 bài giảng
2 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 01/06/2026

Bạn sẽ học được gì

Tạo và Build Docker Images
Đóng gói Microservices thành Container trong Môi trường Docker
Docker Compose cho Microservices
Đẩy Docker Images lên DockerHub và Azure Container Registry (ACR)
Triển khai .Net Microservices vào Kubernetes
Triển khai Microservices lên đám mây Azure Kubernetes Services (AKS)
Tự động hóa toàn bộ quy trình triển khai bằng cách viết pipeline tùy chỉnh với Azure DevOps
Triển khai ứng dụng microservices đa container với pipeline CI/CD tự động
Cập nhật microservices với triển khai không downtime (zero-downtime)
Sử dụng Azure Container Registry - ACR
Sử dụng Azure Kubernetes Services - AKS

Yêu cầu

Kiến thức cơ bản về Container và Docker
Kiến thức C# và AspNet là một lợi thế

Đối tượng phù hợp

Dành cho nhà phát triển muốn học cách đóng gói nhiều microservices thành container với Docker
Dành cho nhà phát triển muốn học cách triển khai microservices lên Kubernetes
Dành cho nhà phát triển muốn học cách triển khai microservices lên đám mây Azure Kubernetes Services (AKS)
Dành cho nhà phát triển muốn học cách triển khai ứng dụng microservices đa container với pipeline CI/CD tự động

Nội dung khóa học

12 phần • 110 bài giảng
1 Giới thiệu
2 Điều kiện tiên quyết và Mã nguồn
3 Docker và Container là gì?
4 Docker Containers, Images và Registries
1 Giới thiệu
2 Tạo Dự án Web Asp.Net Core MVC cho Microservice Shopping.Client
3 Thêm Class Model vào Ứng dụng MVC
4 Phát triển Data Model và Context Objects cho Microservice Shopping.Client
5 Liệt kê Sản phẩm trên Trang Index của Microservice Shopping.Client
6 Tạo Docker Container cho Microservice Shopping.Client
7 Chạy Docker Container cho Microservice Shopping.Client
8 Các Lệnh Docker cho Microservice Shopping.Client
9 Docker Hub Container Registry cho Microservice Shopping.Client
10 Đẩy Docker Image của Shopping.Client lên Docker Hub Container Registry
1 Giới thiệu
2 Bắt đầu với Azure Free Trial và Kiểm tra Azure Portal
3 Tạo Azure Web App for Containers - App Services cho ứng dụng web container
4 Kiểm tra Azure Web App for Containers - App Services cho ứng dụng web container
5 CI/CD cho Container Đơn - Continuous Deployment trên Azure Web App for Containers
6 Xóa Tài nguyên Azure - Azure Web App for Containers
1 Giới thiệu
2 Tạo Dự án Asp.Net Core Web API cho Microservice Shopping.API
3 Tạo Class Product Controller cho Microservice Shopping.API
4 Thêm Thư mục Data và Refactor ProductContext cho Microservice Shopping.API
5 Thiết lập Launch Settings và Cổng được Định nghĩa cho Shopping Microservices
6 Tiêu thụ Shopping.API từ Microservice Shopping.Client bằng HttpClientFactory
1 Giới thiệu
2 Thiết lập Cơ sở dữ liệu Mongo Docker cho Microservice Shopping.API
3 Terminal Tương tác cho Kết nối MongoDb
4 Kết nối Mongo Docker Container từ Microservice Shopping.API
5 Kết nối Mongo Docker Container từ Microservice Shopping.API Phần 2
6 Kiểm tra Tất cả Microservices - Shopping.Client - Shopping.API - MongoDb
1 Giới thiệu
2 Thêm File Docker-Compose cho Shopping Microservices Solution
3 Thêm MongoDb vào File Docker-Compose
4 Chạy ứng dụng đa container với Docker Compose
5 Sửa lỗi Exception khi Chạy Docker Compose
6 Tổng kết lại các Lệnh Docker
1 Giới thiệu
2 Kubernetes là gì?
3 Kiến trúc Kubernetes
4 Các Thành phần Kubernetes
5 Cài đặt Kubernetes cục bộ
6 Các lệnh kubectl
7 Declarative vs Imperative
8 Tạo Pods trên Kubernetes
9 Tạo Deployment trên Kubernetes
10 Xử lý sự cố trên Kubernetes
11 Cách Declarative trên Kubernetes - Chạy các File yaml
12 Kiểm tra Cách Declarative trên Kubernetes - Kiểm tra các File yaml
13 Tạo Service trên Kubernetes và Thông tin thêm về yaml
14 Triển khai Kubernetes WebUI Dashboard
1 Giới thiệu
2 Lên kế hoạch cho các file yaml của Shopping Microservices
3 Thiết lập Visual Studio Code
4 Tạo File yaml Deployment cho Mongo Db
5 Tạo Secret cho Username và Password Admin Root của Mongo Db
6 Sử dụng Giá trị K8s Secret trong file yaml Mongo Deployment
7 Tạo Định nghĩa K8s Service cho Mongo Db
8 Build Docker Images cho Shopping, Gắn Tag và Đẩy lên Docker Hub
9 Build Docker Images cho Shopping, Gắn Tag và Đẩy lên Docker Hub Phần 2
10 Dọn dẹp Docker Compose Containers
11 Tạo File yaml Deployment và Service K8s cho Shopping.API
12 Kiểm tra file yaml Shopping.API trên k8s
13 Chuyển Connection String vào file yaml Config Map trên k8s
14 Tạo File yaml Deployment và Service K8s cho Shopping.Client
15 Tạo File yaml Deployment và Service K8s cho Shopping.Client Phần 2
16 Xử lý sự cố trên K8s cho Định nghĩa File yaml Shopping.Client K8s
17 Xóa và Tạo lại Tất cả Tài nguyên K8s trên Docker Cluster của bạn
1 Giới thiệu
2 Azure Container Registry (ACR)
3 Azure Kubernetes Service (AKS)
4 Các bước Triển khai lên AKS
5 Chuẩn bị Shopping Microservices cho Azure Kubernetes Service (AKS)
6 Triển khai và sử dụng Azure Container Registry
7 Triển khai và sử dụng Azure Container Registry Phần 2
8 Triển khai một cụm (cluster) Azure Kubernetes Service (AKS)
9 Triển khai một cụm (cluster) Azure Kubernetes Service (AKS) Phần 2
10 Chạy ứng dụng trong Azure Kubernetes Service (AKS)
11 Tạo Image Pull Secret cho Container ACR
12 Chỉnh sửa File Yaml Manifest K8s để Triển khai AKS
13 Chạy File Yaml Manifest K8s để Triển khai AKS
14 Scale ứng dụng Shopping trong Azure Kubernetes Service (AKS)
15 Autoscale Shopping Pods trong Azure Kubernetes Service (AKS)
16 Cập nhật Shopping Microservices Với Triển khai Không Downtime trên AKS Live
17 Gắn Tag và Đẩy Phiên bản Mới của Shopping.Client Image lên ACR
18 Triển khai phiên bản v2 của Shopping.Client Microservices lên AKS với rollout k8s không downtime
19 Cập nhật Tài nguyên CPU cho Triển khai Zero-Downtime
1 Giới thiệu
2 Giới thiệu về Azure Devops
3 Giới thiệu về Azure Pipelines
4 Triển khai lên AKS thông qua Azure CI/CD Pipelines
5 Đăng ký Azure Pipelines
6 Tạo Pipeline đầu tiên của chúng ta với Azure Pipelines
7 Giải thích File Yaml Docker Task Pipeline trong Azure Pipelines
8 Sửa lỗi Docker Task Pipeline trong Azure Pipelines
9 Các Task Pipeline và Cách Quyết định Viết Task Đúng trong Azure Pipelines
10 Tạo Pipeline cho Continuous Delivery với Task Deploy to AKS
11 Tạo Pipeline cho Continuous Delivery với Task Deploy to AKS Phần 2
12 Tái cấu trúc Pipeline của chúng ta cho Continuous Delivery với Deploy to AKS
13 Chạy Pipeline cho Continuous Delivery với Deploy to AKS
14 Quản lý Pipelines cho Microservices Đa Container với luồng CI/CD trong Azure Pipelines
15 Tạo Pipeline Mới cho Microservices ShoppingAPI với file yaml pipeline có sẵn
16 Tạo Pipeline Mới cho Microservices Shopping.Client
17 Tạo Pipeline Mới cho Microservices Shopping.Client Phần 2
18 Đổi tên Pipeline và Kiểm tra Trigger Shopping Pipelines
19 Đặt Huy hiệu Trạng thái Azure Pipeline vào Dự án Github của bạn
20 Dọn dẹp Tất cả Tài nguyên AKS và Azure
1 Giới thiệu
1 Bài giảng bổ sung

Giới thiệu khóa học

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.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Cloud Computing
Hiển thị tất cả khoá học Devops
Hiển thị tất cả khoá học Dotnet
Hiển thị tất cả khoá học Kubernetes
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊