Why Your AI Still Needs Virtual Machines

TL;DR: New CNCF research shows virtual machines host 53% of production apps. Now, the rise of AI is creating even more demand for VMs, especially for workloads that need strong security and isolation.
Key facts
- Category
- Infrastructure
- Impact
- High
- Published
- Source
- InfoQ
Full summary
New CNCF research finds virtual machines host over half of production apps and are now seeing a resurgence thanks to new AI workloads.
A new report from the Cloud Native Computing Foundation (CNCF) and Linux Foundation Research challenges the narrative that containers have replaced older technologies. As reported by InfoQ, the study reveals that virtual machines (VMs) are not only still relevant but host an average of 53% of all production applications. More surprisingly, the growth of artificial intelligence is creating a fresh wave of demand for virtualization. The research highlights that as AI workloads become more complex, the need for strong execution isolation—a core strength of VMs—is a critical factor for organizations. This finding suggests the infrastructure landscape is more nuanced than a simple transition from one technology to another. The data confirms that VMs remain a foundational pillar of the cloud, and their role is evolving to meet the specific security demands of the AI era.
AThe main reason virtual machines are seeing a resurgence for AI workloads is their fundamental design: robust security through hardware-level isolation. A VM emulates an entire computer system, from hardware to the operating system, creating a self-contained environment. This means code running inside one VM is strictly separated from the host machine and other VMs on the same server. This strong boundary is enforced by the hypervisor at a low level, making it extremely difficult for processes to break out. This contrasts with containers, which virtualize the operating system and share the host system's kernel. This design makes containers lightweight and fast, but also creates a shared attack surface. A kernel vulnerability could potentially compromise all containers on a host. For sensitive AI workloads, like multi-tenant inference APIs or training on proprietary data, that risk is often too high. The guaranteed isolation of a VM provides a much stronger security posture, ensuring one customer's AI agent cannot access another's data.
For the past decade, the dominant trend in cloud-native development has been migrating from VMs to microservices in containers, orchestrated by platforms like Kubernetes. This shift was driven by the need for agility, scalability, and efficiency. The CNCF's new research adds crucial nuance to this trend, suggesting a course correction rather than a complete replacement. The industry is recognizing that the container-first model has trade-offs, particularly around security isolation. This isn't a new realization; projects like Kata Containers and Amazon's Firecracker microVMs were created to bridge this gap by combining VM security with container speed. The rise of AI has simply amplified the importance of this problem. As companies invest billions in proprietary models and handle sensitive data, infrastructure security is no longer a secondary concern. The findings indicate the industry is entering a more mature phase of cloud architecture, where teams select tools based on workload requirements, not just trends. In this landscape, VMs and containers are complementary tools, not competitors.
For CTOs, developers, and security teams, this research is a critical reminder to carefully evaluate infrastructure choices for AI projects. The default assumption that containers are always best needs re-examination. The key takeaway is to start with a risk assessment of the specific AI workload. If you are building a multi-tenant AI product, running untrusted code, or processing sensitive data, the strong isolation of a VM may be non-negotiable. While this choice might come with slightly higher resource overhead and slower startup times, the security benefits can far outweigh these costs by preventing data breaches or model theft. Engineering leaders should encourage a hybrid approach, using containers for less sensitive services while reserving VMs for the high-stakes components of their AI stack. It is also important to watch the evolution of secure container technologies and microVMs, which promise to offer the best of both worlds. The conversation is no longer about "VMs versus containers," but about choosing the right level of isolation for the job.
Why it matters
This CNCF data challenges the 'containers-for-everything' narrative. For engineers and architects, it confirms that virtual machines offer superior isolation, a critical security feature for multi-tenant AI applications or when running untrusted code. The choice between VMs and containers is now a direct security and performance trade-off.
Business impact
The continued reliance on virtual machines for AI workloads impacts infrastructure costs, security posture, and deployment speed. Businesses must now re-evaluate their cloud strategy, as choosing VMs over containers can increase operational overhead but significantly reduce the risk of security breaches in valuable AI systems.
Tags
Related on Notifire
Related stories
Primary source: InfoQ