by staticassertion · 5y ago · 0 comments
I'd love to see Lambda support custom kernels. That would require a similar approach: document the actual VM interface provided to the kernel, including the virtual hardware and the mechanism used to expose the Lambda API. I'd guess that they haven't yet due to a combination of 1) not enough demand for Lambda with custom kernels and 2) the freedom to modify the kernel/hardware interface arbitrarily because they control both sides of it.
How does that work?
How do Firecracker VMs differ from containers on lambda or fargate?
The kernel surface is part of their security model. There's some details here https://www.bschaatsbergen.com/behind-the-scenes-lambda
E.g. exposing the kernel would undo some intentional isolation
In any case, Firecracker+Nitro seem like they'd be a sufficient security boundary.