CPU platform is changing after resizing the instance

Ahmed Al-Haffar asked:

I am using GCE for nested virtualization. I am aware of the specific CPU architecture to be used for nested-virtualization compatibility.

Everything is going smoothly and I am using this feature without any issues, however, if I apply the recommendation for instance resizing I noticed that this feature ‘nesting virt.’ is not available.

I know this by running command grep -cw vmx /proc/cpuinfo and lsmod.

My answer:

This is a known bug in Google Compute Engine. Instances can run nested VMs on first boot, but on subsequent boots cannot run nested VMs. You may follow the issue to be notified of updates.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.