The pros and cons of running containers on ACI
As you saw from this chapter, it is very quick and easy to start running a container or two in ACI. However, as with any technology, everything comes with pros and cons. In this section, we will go over some of the pros and cons of running containers in ACI.
Pros
Let’s talk about the pros. What makes ACI good?
Consumption model
One of the biggest pros of ACI is that it is billed per second. As we can specify requests for CPU and memory, we are billed per GB of memory and per vCPU. This is perfect for when we need to run a container for a small duration or even just to burst from with AKS.
Fast startup times
ACI is incredibly fast for pulling images and starting containers. Compared to other services such as Azure Functions and Azure App Service, the performance is unmatched. This is because ACI is designed specifically for containers. Even if ACI might not be your target or final technology for running your containers...