Skip to content

Multi-Container Microservices deployments with Azure DevOps in Azure Kubernetes Services (AKS)

License

Notifications You must be signed in to change notification settings

felipesalvadordev/run-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying Multi-Container Microservices in AKS

image

Devops Pipeline

image

AKS Deploy Pipeline

image

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.

References:
https://medium.com/aspnetrun/preparing-multi-container-microservices-applications-for-deployment-793d60f48d31
https://github.com/aspnetrun/run-devops

About

Multi-Container Microservices deployments with Azure DevOps in Azure Kubernetes Services (AKS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published