Skip to main content

Command Palette

Search for a command to run...

Activating Hyper-V on a Microsoft Azure Virtual Machine

Updated
2 min read
Activating Hyper-V on a Microsoft Azure Virtual Machine
D

I leverage multiple technologies to build interactive and innovative solutions that creatively solve real problems. Talk to me about everything infrastructure :)

I think I’m almost obsessed with the cloud.

Fun Fact: I love to teach

Sometime ago, I was trying to load up K8S on my Virtual machine which happens to be a Windows (Windows Server 2016 Datacenter) with size B2ms and in the process of loading the prerequisites, which included kubectl (command-line utility), Minikube executable, and a Hypervisor( virtual box or HyperV- windows & KVM for Linux). From the Hypervisors comparison, I decided to go with Virtual box since it was compatible with the 3 flavors of OS(Mac OS, Windows, Linux,).

So, I tried to Enable Virtualization (Hyper-V) in Windows Server 2016 but I got a red flag with the error message below

blog1.PNG

the processor does not have virtualization capabilities

Resolution:

After some research, I found out that Microsoft Azure VM's have certain types of requirements in relation to VM size to enable virtualization. You need to select a VM size large enough to accommodate the demands of a guest virtual machine. If your machine is not a size v3, it would keep flagging the same error "the processor does not have virtualization capabilities"

To check the size of your Virtual Machine, visit the Microsoft Azure Portal and

  • Select the Virtual Machine from the list of resources
  • on the left Menu search for size(Find a machine with _v3 size) 33.PNG
  • Select Resize (Please Note that this would trigger a restart on your VM)

Refer to the Microsoft documentation for more details

Don't hesitate to shoot me an email on info.durucynthia@gmail.com

Cheers!

More from this blog

Software Engineering

15 posts

I am super enthusiastic about Infrastructure efficiency and reliability without sacrificing functionality! ...and Yes! I am also a professional bathroom singer