Data Centre


Nested virtualization comes to Google's cloud

Not just for Inception fans: This is how you cloudify tricky-to-migrate workloads

By Simon Sharwood


In late August 2017 The Reg's virtualization desk learned that Google was working hard to make KVM better at nested virtualization. And now we know why, as the advertising giant's cloud has just revealed a nested virtualization beta.

The new offering means that you can run a virtual machine inside the virtual machines you rent from the company's infrastructure-as-a-service limb. The service is a beta for now, and requires you to get the KVM hypervisor running inside a Google Cloud VM, which itself runs on KVM. Google's not supporting ESX or Xen, but that's not a huge barrier to overcome as KVM can import VMware's VMDK files and plenty of tools let you re-format VMs.

Why bother? There's a few reasons. You might have workload you'd quite like to run in the cloud, but shy away from migrating because a lift-and-shift would likely break it. Packaging it as a VM and running it as a nested VM sorts that out.

Or perhaps you'd like to have some VMs in the cloud as a disaster recovery option, but don't want to make them native to your chosen IaaS provider. Again, nested virtualization helps by letting you get those VMs into a cloud without first having to perform major renovations.

Google's nested virtualization won't work with any old VM: you'll need to specify a Haswell or later CPU to get access to the Intel VT-x extensions that make this all possible. And then be prepared to wear what Google warns will be “at least a 10% penalty for CPU-bound workloads and possibly much more for I/O bound workloads.”

Microsoft's Azure switched on its own nested virtualization in January 2017 and AWS' EC2 can do so with help from third parties like Ravello. ®

Sign up to our NewsletterGet IT in your inbox daily


More from The Register

Xen 4.11 debuts new ‘PVH’ guest type, for the sake of security

Take some paravirtualization, add hardware extensions and – voila – QEMU flies away

Developer plots server virtualization comeback for XenServer

Plans open source revival of XCP, to go places Citrix won’t

Xen Project patches Intel’s Lazy FPU flaw, VMware doesn't need to

UPDATE Guest register states are readable, but the patch cavalry has arrived

Xen turns it up to 4.11 and shrinks itself to contain containers

New version turns Meltdown mitigation into a feature

Feeling a bit gassy? Toshiba floats 16TB helium whopper

Nine-platter beast serves up high-capacity spinning rust

Xen 4.11 is over a month late and its devs are mostly cool with that

Hardware hassles mean rc7 was needed, spark discussion about release cadence

Countdown starts for new Xen hypervisor release

RC1 for Xen 4.10 is upon us, so get testing, hyper-hipsters

Xen Project says new version 4.10 has found balance between security and novelty

Splendid isolation for VMs, and a hand for ARM servers

Citrix reveals full Xen combo will be cheaper than Xen lite for Azure

XenApp Essentials pricing revealed

Xen Project's plan after AWS goes KVM: Talk up embedded future

Update AWS changes its tune, multi-hypervisor plan is its future