Live data from Hacker News

AWS Adds support for nested virtualization

github.com

121–124 of 124 posts

Re: AWS Adds support for nested virtualization

#121

Earlier quoted context omitted.

Cool, so that’s the new and preferred model for nested or sibling virt?

eventually yes, this is supposed to remove the perf tax of nested virtualization (less world/context switches on vm_exits) and unlocks some new use cases (pass through hardware from your VM to the sibling-guest).

Interesting ! I stopped working in Azure back in August. But I know of teams still using the nested virt HyperV setup I created to allow multicast to between VMs in Cloud.

Re: AWS Adds support for nested virtualization

#123
post #33

Earlier quoted context omitted.

Since I don't work for AWS I'm allowed to say that at the scale of millions/billions of microVMs you're better off running them on bare metal instances to avoid the overhead of nested virtualization.

If I remember correctly, Firecracker VMs don’t have the same security guarantees as EC2 instances. I think I remember that AWS doesn’t put multiple accounts lambdas either on the same bare metal server or VM. I can’t remember which

There is no way a random small account running a single serverless function gets a whole bare metal server dedicated to them.

Re: AWS Adds support for nested virtualization

#124
post #12

Earlier quoted context omitted.

Yep. It's pretty boring. I've been using it at home for years and years with libvirt on very not-special consumer hardware. I guess the AWS clown is finally catching up on this one little not-new-at-all thing.

the only thing I know about nested virtualization is from the libvirt/KVM world too: * you are right, it just works * but there were scary notes about the stuff which might happen when you live migrate a virtual machine between hypervisors and the machine has nested virtual machines inside it. I remember the words "neither safe nor secure"

> * but there were scary notes about the stuff which might happen when you live migrate a virtual machine between hypervisors and the machine has nested virtual machines inside it. I remember the words "neither safe nor secure"

Google does this to customer VMs in production all the time..

Post reply on HN