Containers and Dockers in Azure

Azure Docker and Container

In this article, we will see about use of Containers and Dockers in Azure cloud. I have prepared this content for beginners who are learning Azure Cloud service and also this article is helpful in AZ 900 exam preparation.

Azure Containers

Containers helped to deploy microservice based application. Container is a way to virtualize the software.

Azure Container Service is a PaaS service in Azure and it helps to manage, deploy and run simple container based application. Users only need to worry about their deployment and application performance, they need not to worry about managing VM instances.

Azure Container Orchestration

Azure provides 2 way for container orchestration.

  • (AKS) Azure Kubernetes Service – It is one of the popular open source container orchestration tool. Kubernetes is available all the leading cloud service providers like Azure and AWS.
  • Azure Service Fabric – This container orchestration tool is given by Microsoft and is only available in Azure Cloud.

How Azure container helps to deploy Microservices?

Industry is moving towards Microservice based architecture. Because, Microservice architecture allows to focus on small build or modules and this helps a lot in much complex projects.

Suppose you have multiple microservices in your project. The first microservice is developed in .NET Core and SQL, second microservice is developed in PHP and My SQL, the third Microservice is developed in Java and Oracle.

Now, just think about the deployment process and the environment to manage all the frameworks and libraries. It is quite difficult for a team to manage these kind of project deployment.

Docker Container

To overcome above deployment issue, you can create docker image for each Microservice in containers.

Docker container uses a Docker Engine. It is a software to run Docker images which were created. A machine running a docker server is called Docker host.

You can create Docker image based on requirement. For example – The Microservice which is developed in .NET Code and SQL, you can create a Docker image for that which includes all required SDK, Libraries and Packages which needs to run your microservice. In a similar way you can create a Docker image for Java based Microservice which will have all the required JDK, Libraries and Packages.

Advantages of Docker Container

Below are the advantages of Docker container.

  • Dockers are independent from Cloud
  • Docker containers are light weight as they do not have a Guest OS like Virtual Machine.
  • One Docker container do not affect other docker container.
You may check other topics of AZ 900  - Microsoft Azure Fundamentals (AZ-900) Certification Sample Questions

Hope you like this blog. Please share this on social media and within your tech groups.

Leave a Comment

RSS
YouTube
YouTube
Instagram