Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Azure Container Instances and Web App for Containers?

I just deployed a web app (node.js container and mongo container) using Azure multi-container instances. It's a bit like Docker Compose but works with an Azure specific yaml file: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-multi-container-yaml

Now I see that there is something called "Azure Web App for Containers". This seems to work with a real docker compose yaml file.

Other than the configuration file format, are there any other differences?

Note: I'm talking about Azure container instances, not Azure container services.

like image 475
Sam Avatar asked Feb 06 '19 10:02

Sam


People also ask

What is an Azure container instance?

Azure Container Instances is a service that enables a developer to deploy containers on the Microsoft Azure public cloud without having to provision or manage any underlying infrastructure.

What is the difference between Azure container instances and Azure Kubernetes service?

You select the size, the number of hosts, and choice of orchestrator tools, and Container Service handles everything else. On the other hand, Kubernetes is detailed as "Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops".

What is a web app container?

A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access-rights. A web container handles requests to servlets, Jakarta Server Pages (JSP) files, and other types of files that include server-side code.

What are Azure container apps?

Azure Container Apps enables you to run microservices and containerized applications on a serverless platform. Common uses of Azure Container Apps include: Deploying API endpoints. Hosting background processing applications.


1 Answers

Well, azure container instances bill you only for the time container is active, while webapp bill you for the time webapp exists (so all the time). that is one of the biggest differences between those.

But overall, I'd say Azure Web App for Containers is just a shortcut to run containers on existing "stuff". I've recently learned that Azure Web App for Containers offer kubernetes capabilities, so these 2 services evolve in a slightly different directions. Azure Web App for Containers is targeted at long running stuff (always running) while ACI are aimed at scheduled\burstable\short lived workloads (similar to Azure Functions).

like image 60
4c74356b41 Avatar answered Sep 22 '22 20:09

4c74356b41