We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

Deploying .Net Microservices with K8s, AKS and Azure DevOps

Mehmet Ozkaya

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.

Read more

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.

Enroll now

What's inside

Learning objectives

  • 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
  • Show more
  • Show less

Syllabus

Introduction
Prerequisites and Source Code
What is Docker and Container ?
Docker Containers, Images, and Registries
Read more
Developing Your First Microservice for Deploying Microservices
Create Asp.Net Core MVC Web Project For Shopping.Client Microservice
Adding Model Class into MVC Application
Developing Shopping.Client Microservices Data Model and Context Objects
Listing Products on Index Page of Shopping.Client Microservice
Create Docker Container for Shopping.Client Microservice
Run Docker Container for Shopping.Client Microservice
Docker Commands for Shopping.Client Microservice
Docker Hub Container Registry for Shopping.Client Microservice
Push Docker Hub Container Registry to Shopping.Client Microservice Docker Image
Deploy Shopping.Client Microservice to Azure App Services - Web App for Containe
Start with an Azure Free Trial Subscription and Check Azure Portal
Create Azure Web App for Containers - App Services for Web apps container
Examine Azure Web App for Containers - App Services for Web apps container
CI/CD for Single Container - Continuous Deployment on Azure Web App for Containe
Delete Azure Resource - Azure Web App for Containers
Developing Shopping.API Microservice with MongoDb and Compose All Docker Contain
Create Asp.Net Core Web API Project For Shopping.API Microservice
Create Product Controller Class for Shopping.API Microservice
Add Data Folder and Refactor ProductContext for Shopping.API Microservice
Set Launch Settings and Port Numbers Defined for Shopping Microservices
Consume Shopping.API from Shopping.Client Microservices with using HttpClientFac
Setup Mongo Docker Database
Setup Mongo Docker Database for Shopping.API Microservices
Interactive Terminal For MongoDb Connection
Connect Mongo Docker Container from Shopping.API Microservice
Connect Mongo Docker Container from Shopping.API Microservice Part 2
Test All Microservices - Shopping.Client - Shopping.API - MongoDb
Containerize Microservices wth Creating Multi-Container App using Docker Compose
Adding Docker-Compose File for Shopping Microservices Solution
Adding MongoDb into Docker-Compose File
Run multi-container application with Docker Compose
Exception Fixes on Running Docker Compose
Recap Docker Commands
Introduction to Kubernetes
What is Kubernetes ?
Kubernetes Architecture
Kubernetes Components
Local Kubernetes Installment
kubectl Commands
Declarative vs Imperative
Creating Pods on Kubernetes
Creating Deployment on Kubernetes
Troubleshooting on Kubernetes
Declarative Way Kubernetes - Running yaml Files
Testing Declarative Way Kubernetes - testing yaml Files
Creating Service on Kubernetes and More About yamls
Deploying Kubernetes WebUI Dashboard
Kubernetes Quiz
Deploying Microservices on Kubernetes
Planning to Shopping Microservices yaml files
Visual Studio Code Setup
Create Mongo Db Deployment yaml File
Create Secret For Mongo Db Admin Root Username and Password
Use K8s Secret Values in Mongo Deployment yaml file
Create K8s Service Definitions for Mongo Db
Build Shopping Docker Images , Tag and Push to Docker Hub
Build Shopping Docker Images, Tag and Push to Docker Hub Part 2
Clearing Docker Compose Containers
Create Shopping.API k8s Deployment and Service yaml File
Testing Shopping.API yaml file on k8s
Move Connection String into Config Map yaml file on k8s
Create Shopping.Client K8s Deployment and Service yaml File
Create Shopping.Client K8s Deployment and Service yaml File Part 2
Troubleshooting on K8s For Shopping.Client K8s yaml File Definitions
Clear and Create All K8s Resources on Your Docker Cluster
Deploy Shopping Microservices into Cloud Azure Kubernetes Service with using ACR
Azure Container Registry (ACR)
Azure Kubernetes Service (AKS)
Steps to the AKS Deployment
Prepare Shopping Microservices for Azure Kubernetes Service (AKS)
Deploy and use Azure Container Registry
Deploy and use Azure Container Registry Part 2
Deploy an Azure Kubernetes Service (AKS) cluster
Deploy an Azure Kubernetes Service (AKS) cluster Part 2
Run applications in Azure Kubernetes Service (AKS)
Create Image Pull Secret for ACR Container
Edit K8s Manifest Yaml Files For Deploying AKS
Run K8s Manifest Yaml Files For Deploying AKS
Scale Shopping applications in Azure Kubernetes Service (AKS)
Autoscale Shopping Pods in Azure Kubernetes Service (AKS)
Update Shopping Microservices With Zero-Downtime Deployment on Live AKS
Tag and Push the New Version of Shopping.Client Image to ACR
Deploy v2 of Shopping.Client Microservices to AKS with zero-downtime rollout k8s
Update CPU Resources for Zero-Dowtime Deployments
Automate Deployments with CI/CD pipelines on Azure Devops

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Explores Kubernetes, a crucial technology for deploying and managing containerized applications
Provides hands-on practice with deploying microservices on Kubernetes, a highly sought-after skill in the industry
Suitable for learners with some experience in containerization and Kubernetes concepts
Covers essential topics for deploying microservices, including Docker, Kubernetes, Azure Container Registry (ACR), and CI/CD pipelines
Guided by Mehmet Ozkaya, an experienced instructor in the field of microservices deployment and containerization
Provides a comprehensive overview of deploying microservices on Azure Kubernetes Services (AKS), a valuable skill for cloud computing professionals

Save this course

Save Deploying .Net Microservices with K8s, AKS and Azure DevOps to your list so you can find it easily later:
Save

Activities

Coming soon We're preparing activities for Deploying .Net Microservices with K8s, AKS and Azure DevOps. These are activities you can do either before, during, or after a course.

Career center

Learners who complete Deploying .Net Microservices with K8s, AKS and Azure DevOps will develop knowledge and skills that may be useful to these careers:
DevOps Engineer
DevOps Engineers automate software development and deployment processes to increase efficiency and productivity. The course in deploying microservices with Kubernetes and Azure DevOps will help build a foundation for a career as a DevOps Engineer. Students will learn how to use Kubernetes to manage and deploy microservices, and how to use Azure DevOps to automate the deployment process.
Site Reliability Engineer
Site Reliability Engineers ensure that software systems are reliable and scalable. The course in deploying microservices with Kubernetes and Azure DevOps will help build a foundation for a career as a Site Reliability Engineer. Students will learn how to use Kubernetes to manage and deploy microservices, and how to use Azure DevOps to automate the deployment process.
Cloud Architect
Cloud Architects design and manage cloud computing solutions. The course in deploying microservices with Kubernetes and Azure DevOps will help build a foundation for a career as a Cloud Architect. Students will learn how to use Kubernetes to manage and deploy microservices in the cloud, and how to use Azure DevOps to automate the deployment process.
Software Architect
Software Architects design and develop software systems. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Software Architects who want to learn how to use Kubernetes and Azure DevOps to manage and deploy microservices.
Systems Engineer
Systems Engineers design, develop, and maintain complex systems. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Systems Engineers who want to learn how to use Kubernetes and Azure DevOps to manage and deploy microservices.
Data Engineer
Data Engineers design and develop systems for managing and analyzing data. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Data Engineers who want to learn how to use Kubernetes and Azure DevOps to manage and deploy data services.
Full-Stack Developer
Full Stack Developers design and develop both the front end and back end of software systems. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Full Stack Developers who want to learn how to use Kubernetes and Azure DevOps to manage and deploy microservices.
Back-End Developer
Back End Developers design and develop the back end of software systems. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Back End Developers who want to learn how to use Kubernetes and Azure DevOps to manage and deploy microservices.
Front-End Developer
Front End Developers design and develop the front end of software systems. The course in deploying microservices with Kubernetes and Azure DevOps may be useful for Front End Developers who want to learn how to use Kubernetes and Azure DevOps to manage and deploy microservices.

Reading list

We've selected 12 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Deploying .Net Microservices with K8s, AKS and Azure DevOps.
A practical guide for Kubernetes, covering cluster architecture, container orchestration, and managing Kubernetes deployments.
A comprehensive guide to Kubernetes, covering cluster architecture, deployment strategies, and troubleshooting.
A practitioners guide for Docker, covering container theory, building, deploying, and managing Docker containers.
A comprehensive guide to microservices design and implementation, covering patterns, best practices, and anti-patterns.
Provides a comprehensive overview of cloud native DevOps and how to use Kubernetes to implement a DevOps pipeline. It would be a valuable resource for anyone looking to learn more about cloud native DevOps and how to use it to improve the efficiency of their software development process.
A comprehensive guide to microservice architecture, covering design principles, patterns, and best practices.
A practical guide for Docker, covering containerization, deployment, and managing Docker containers.
Provides a comprehensive overview of Azure Pipelines and how to use it to implement a continuous delivery pipeline. It would be a valuable resource for anyone looking to learn more about Azure Pipelines and how to use it to improve the quality and speed of their software development process.
Provides a comprehensive overview of Docker and how to use it to containerize microservices.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Deploying .Net Microservices with K8s, AKS and Azure DevOps.
Deploy containers by using Azure Kubernetes Service
Most relevant
Deploying Applications in Azure Kubernetes Service (AKS)
Most relevant
Deploying ASP.NET Core 3 Microservices Using Kubernetes...
Most relevant
Managing Sitecore Docker Containers
Most relevant
Deploying a Python App with Oracle Cloud Container Engine...
Most relevant
Deploying a Java App with Oracle Cloud Container Engine...
Most relevant
Azure: deploy a Web Server using the Container Registry
Most relevant
Build and Deploy Pipelines with Microsoft Azure
Most relevant
Cloud-Native: Microservices, Kubernetes, Service Mesh,...
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser