Azure Container Instances! Lightweight and explosive container usage!

This article is Request! Cloud Native application development tips![PR] This is his 9th day of Microsoft Japan Advent Calendar 2020 (I will write it later).


In this article, I would like to introduce you to Azure Container Instances and how to use Docker on Azure Container Instances.

What is Azure Container Instances?

Azure Container Instances (https://azure.microsoft.com/ja-jp/services/container-instances/?WT.mc_id=AZ-MVP-5001601) is a service for isolated container scenarios such as simple applications, task automation, and build jobs.

Why Azure Container Instances?

A similar service is Azure Kubernetes Service (https://azure.microsoft.com/ja-jp/services/kubernetes-service/?WT.mc_id=AZ-MVP-5001601).

Azure Kubernetes Service (https://azure.microsoft.com/ja-jp/services/kubernetes-service/?WT.mc_id=AZ-MVP-5001601) is a service for multi-container services and scenarios that require container orchestration, such as autoscaling.

For a simple configuration, Azure Container Instances is suitable for proper use (= Azure Kubernetes Service is not very suitable for a simple configuration).

On the other hand, using Azure Container Instances (https://azure.microsoft.com/ja-jp/services/container-instances/?WT.mc_id=AZ-MVP-5001601) for complex services (autoscaling and services that use multiple containers) is not very appropriate.

Strengthening cooperation with Docker

Previously, you couldn't work with Azure Container Instances (https://azure.microsoft.com/ja-jp/services/container-instances/?WT.mc_id=AZ-MVP-5001601) from Docker Desktop, you had to work from the Azure CLI or Azure portal.

However, this year's (2020) updated version of Docker Desktop adds the command docker context to create Docker contexts for Azure Container Instances.

Details can be found in the following documents.

Recommended Posts

Azure Container Instances! Lightweight and explosive container usage!
Comparison of Web App for Containers and Azure Container Instances
Develop Nerves apps with Azure Container Instances
Classes and instances
[Ruby] Classes and instances
String literals and instances
About classes and instances
Ruby classes and instances
Docker container usage scene
java (classes and instances)