News for hackers. Stuff that matters.
Re:Firecracker MicroVMs by andrewstuart on Monday October 18, 2021 @05:24PM (#28911959)
Note that this Amazon developed technology does not work on Amazon Web Services instances.

It does however work on Google, Azure and Digital Ocean instances where you can configure nested virtualisation.

Re:Firecracker MicroVMs by cptnntsoobv on Monday October 18, 2021 @05:36PM (#28912092)
It works on AWS's metal instances, doesn't it?

That is definitely a constraint though, as the smallest available metal instances are pretty large, hence costly on a per instance basis.

Re:Firecracker MicroVMs by oneearedrabbit on Monday October 18, 2021 @07:08PM (#28912974)
Technically speaking you are right. If you are not limited to AWS, then even a $5 DigitalOcean instance is be able to host 4-5 VMs.
Re:Firecracker MicroVMs by paxys on Monday October 18, 2021 @07:38PM (#28913233)
It does work on AWS on the instances that support nested virtualization, same as every other provider.
Re:Firecracker MicroVMs by cutemonster on Monday October 18, 2021 @07:28PM (#28913160)
> does not work on Amazon Web Services instances

Why not? And what is Google, Azure and DI doing differently

Re:Firecracker MicroVMs by jsolson on Monday October 18, 2021 @07:37PM (#28913228)
Firecracker relies on KVM in the Linux kernel which relies on VT-x or similar. Offering VT-x inside a VM that's already using VT-x is called nested virtualization. EC2 VMs do not support nested virtualization, while others do.

That said, it works fine on EC2 Bare Metal instances.

(n.b., I work on the virtualization stack on Google Compute Engine)

Re:Firecracker MicroVMs by bushbaba on Monday October 18, 2021 @08:08PM (#28913455)
Wouldn’t you want to run firecracker on bare metal anyways. Nested VMs come with a decent perf hit.
Re:Firecracker MicroVMs by cutemonster on Wednesday October 20, 2021 @05:21PM (#28936826)
Thanks @jsolson for explaining

@bushbaba I wonder how large the percentage hit could be, if it's like 1% or 10%, if you happen to know

And how that percentage hit compares with gvisor performance wise