question

KovalenkoVadym-7660 avatar image
1 Vote"
KovalenkoVadym-7660 asked Grmacjon-MSFT answered

Difference between Container Instances and Container for Webapps

Hello,
Can smb explain difference in running environment for Container instances(ACI) and Container for Webapps. Particularly I'm running container with python which doesn't listen for a network but just listens for Service Bus. Moving such approach to Container for WebApp requires additional container to be created(aka sidecar) to host multi-containers.
One says that ACI are shared with different tenants so if you're working with sensitive data in container it can be obtained/accessed by other customers. Is it so on hypervisor level compared to Container for Webapps?
Currently I see no other options than running my workload on ACI or Kubernetes platform.

azure-webapps-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
2 Votes"
Grmacjon-MSFT answered

Hello @KovalenkoVadym-7660,


Thanks for the question. Here are some key difference/ use case scenarios

Container for Webapps:

  • Recommended if you are already familiar with the Azure Web App environment.

  • Best if you have one or a few long-running containers/services that are being deployed.

  • Can use a custom Docker image to run your web app on an application stack that is not already defined in Azure

Azure Container Instances:

  • "Azure Container Instances is a great solution for any scenario that can operate in isolated containers, including simple applications, task automation, and build jobs"


  • A fast, light-weight and easy way of running containers

  • Billed for the time your container is active (billing is based on seconds, cores and memory)

  • Can start containers in Azure in seconds, without the need to provision and manage VMs.

  • Can also work with Kubernetes through an experimental ACI to Kubernetes connector

  • Currently, the fastest way to deploy containers on Azure

Based on the Azure docs, " Azure Container Instances guarantees your application is as isolated in a container as it would be in a VM."


10142-aci.png


Helpful docs:

Please let us know if you have further questions.

Thanks,

Grace




aci.png (44.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.