The differences between VMs and containers
We have looked into both VMs and containers. Both of them make multi-tenancy possible and increase resource utilization (CPU and memory). Now, we will look at what makes VM and containers different. Gaining a deeper understanding of VMs and containers can enable you to make informed decisions about which technology to use based on your organization’s architectural and business objectives. By having a more thorough understanding of these technologies, you can make more informed choices about when and how to utilize them. The following diagram shows VMs and containers next to each other and you can see how they differ at a high level.
Figure 2.5 – The differences between VMs and containers
VMs are traditionally used for monolith workloads. VMs are less portable than containers because of the dependence they have on the OS, applications, and libraries. VMs are mostly used for the following:
-
...