Nested virtualization comes to Google's cloud

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

By Simon Sharwood, APAC Editor

Posted in Virtualization, 29th September 2017 02:02 GMT

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

Developer plots server virtualization comeback for XenServer

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

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

Splendid isolation for VMs, and a hand for ARM servers

Countdown starts for new Xen hypervisor release

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

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

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

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

XenApp Essentials pricing revealed

Xen warns of nine embargo-worthy bugs

We won't know what they are for a fortnight, but clouds are warning of VM reboots

Release the hounds! Xen 4.9's first RC is out and wants testing

Early June looks like being hypervisor happy time

Xen fixes guest privilege escape and plenty more

Crashes, data leaks and foul corruption also fixed

Microsoft adds nested virtualization to Azure

Inception fans can have fun with VMs-inside-VMs inside a cloud, all on Windows Server 2016

The eyes have IT: TSB to roll out iris-scanning tech for mobile banking

Biometrics, certificates combo to shore up security