- Newest
- Most votes
- Most comments
You're correct that nested virtualization and KVM support on AWS can be challenging, especially for non-production use cases like your graduation project. Here's what you need to know:
-
Nested virtualization is not officially supported on most EC2 instances. It's only officially supported on "bare metal" instance types.
-
KVM (Kernel-based Virtual Machine) is not natively supported by AWS. AWS uses its own hypervisor technologies.
-
For your specific use case with KubeVirt and nested virtualization, you would indeed need a bare metal instance to have the best chance of success.
However, there are a few things to consider for your project:
-
Bare metal instances, while supporting nested virtualization, can be expensive and may not be ideal for a student project.
-
Some users have reported success in enabling KVM on certain compute-optimized instances (like c5a), but this is not officially supported and may not be reliable.
-
For demonstration purposes, you might consider alternatives that don't require nested virtualization. For example, you could use container technologies to simulate VM-like environments without actual VMs.
-
If you absolutely need KVM and nested virtualization for your demo, you might want to explore other cloud providers or consider setting up a local environment using something like VirtualBox or VMware Workstation on your personal computer.
-
Another option could be to use VMware Cloud on AWS or Amazon Elastic VMware Service, which provide VMware environments on AWS infrastructure. However, these solutions might be overkill for a student project.
Given the constraints and the purpose of your project, it might be worth discussing with your advisor about adjusting the project requirements or exploring alternative approaches that can demonstrate the core concepts of your hybrid workload orchestration solution without relying on nested virtualization in AWS.
Sources
Nested virtualisation support on EC2 compute optimized instances | AWS re:Post
VMWare virtual machine in AWS | AWS re:Post
How to enable KVM Hardware Virtualization on EC2 Dedicated host | AWS re:Post
Amazon EC2 instance types - Amazon Elastic Compute Cloud
windows server 2022 - vmware workstation and hyper-v are not compatible | AWS re:Post
Relevant content
- asked 2 years ago