Deploying on Microsoft ACI (Azure)
Start course
1h 18m

In this course, we will learn the concepts of microservice and spring framework with a focus on Cloud.

Learning Objectives

  • Learn about Cloud

Intended Audience

  • Beginner Java developers
  • Java developers interested in learning how to Build and Deploy RESTful Web Services
  • Java Developers who want to develop web applications using the Spring framework
  • Java Developers who want to develop web applications with microservices
  • Java Developers who wish to develop Spring Boot Microservices with Spring Cloud


  • Basic Java knowledge

Deploying on Microsoft ACI Azure. Hello, dear friends. In this lesson, we will learn how to deploy and run Docker containers in Azure container instances. Azure container instances are useful for scenarios that can operate in isolated containers, including simple applications, task automation, and build jobs. To deploy Docker containers on Azure, we need Docker desktop and of course an Azure subscription. We can list the steps as follows: Login to Azure via Docker. We can use docker login azure to log into an Azure server. It will open a web browser to login to Azure. Or you can connect using a command line like this. After we have logged in, we need to create a Docker context associated with ACI to deploy containers in ACI. Creating an ACI context requires an Azure subscription, a resource group, and a region. For example, this command creates a new context called myacicontext.

The context creation command also creates a resource group. When we create a Docker context for Azure, we can list it using the docker context 1s command. After defining the Azure context successfully, we can run Docker containers on Azure. There are two ways to do this. In the first example, we can specify context via parameter. In the other, we can specify the context that we want to use and then we run the container. Okay dear friends, now we know how to run Docker containers on the Azure platform, so I'll see you in the next lesson.


About the Author
Learning Paths

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.