Coder Social home page Coder Social logo

aspnetrun-devops's Introduction

Deploying .Net Microservices to Azure Kubernetes Services(AKS) and Automating with Azure DevOps

Deploying .Net Microservices into Kubernetes, and moving deployments to the cloud Azure Kubernetes Services (AKS) with using Azure Container Registry (ACR) and how to Automating Deployments with Azure DevOps and GitHub.

Image Status
Shopping Client Build Status
Shopping API Build Status

UDEMY COURSE WITH DISCOUNTED - Step by Step Development of this repository -> https://www.udemy.com/course/deploying-net-microservices-with-k8s-aks-and-azure-devops/?couponCode=MARCH22

Check Explanation of this Repository on Medium -> https://mehmetozkaya.medium.com/deploying-net-microservices-to-azure-kubernetes-services-aks-and-automating-with-azure-devops-c50bdd51b702

Overall Picture

See the overall picture. You can see that we will have 3 microservices which we are going to develop and deploy together.

Overall Picture of Repository

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 1 web application.

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.

Mongo Db

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 whichs 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 ACR, Shifting deployment to the cloud Azure Kubernetes Services (AKS), Update microservices with zero-downtime deployments.

Deploy to Azure Kubernetes Services (AKS) through CI/CD Azure Pipelines

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 pipeline triggers, build docker images and push the ACR, deploy to Azure Kubernetes services with zero-downtime deployments.

cicd

You’ll see how to deploy your multi-container microservices applications with automating all deployment process seperately.

aspnetrun-devops's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.